Я создал механику, которая очень важна для моей игры. Смерть и возрождение персонажа. Эта механика необходима в этом проекте, которая является платформером. Также, я создал первую ловушку. Как работает система смерти и возрождения ?
В игре, допустим, есть объект, на который нельзя наступать. Если игрок наступит на этот объект, то у него включится симуляция физики, и игрок упадёт как регдол, но через 3 секунды, он возродится в начале игры. При этом, он при смерти должен выключать управление персонажем, а после возрождения, возращять его. В будущем, планирую создать для этой механики чек пойнты
I have created a mechanic that is very important for my game. Death and rebirth of a character. This mechanic is necessary in this project, which is a platformer. Also, I created the first trap. How does the death and rebirth system work?
In the game, let's say there is an object that cannot be stepped on. If the player steps on this object, the physics simulation will turn on, and the player will fall like a regdol, but after 3 seconds, he will respawn at the beginning of the game. At the same time, when he dies, he must turn off character control, and after rebirth, bring him back. In the future, I plan to create checkpoints for this mechanic.













0 comments