HELP WITH STAGE

Started by oscar123, September 25, 2023, 12:29:15 AM

Previous topic - Next topic

oscar123

I have a stage that when my character jumps, the stage rises upwards too. What should I put so that the stage is always still when jumping?

Charles_2011

Hello oscar123.

Are you talking about the floor? Or this happen with all the sprites?


ShinZombie

From Elecbyte docs.

There two parameters on the stage .def file.

verticalfollow = closeness
This value affects the vertical movement of the camera to follow the highest player. It should be set between 0 and 1. A value of 0 means the camera does not move up at all. A higher value makes the camera track the higher player closer. A value of 1 makes the camera track the player as close as possible.

floortension= v_dist
This is the minimum vertical distance the highest player has to be from the floor (given as a positive value), before the camera starts to move up to follow him.


Try verticalfollow=0 if you dont want the camera to move
Try changing floortension values to experiment with the camera movement until your find a behavior you like

Have a nice day!