How do I make rising lava in my game? And how do I make the camera go up and only up slowly enough so that the player can still be seen?
So I am making a rising lava level in my game and it should slowly rise and the higher the player gets, the faster the lava rises.
Also the camera thing where it rises up slowly? I want to rise up at a pace that the player can handle. I also want it where if the player is getting higher and past the camera, the camera moves up more faster to get to the player. The player should only be killed when the camera pasts the player from the bottom. The game I making is 2D. Also please show the code so that it would be much easier to understand. Tysm!