Hey all. Well, I want to get back into it and do up a new game engine, but this time I want to have some more elements come into play.
The main thing I'm wondering about is some acceleration and deceleration when it comes to moving across various terrains. What I want to have would be your typical solid tile, but also ice blocks and sludge (water that's hard to move in).
For the ice, I wanted to try and copy the physics of it taking some time to get to speed while walking, but if you were to jump and land and be moving forward, you are already at speed. When you let go of the button, there'd be some deceleration as you slide forward. Again, jumping could cancel this. It seems like it'd just be having some var count to some number until it reaches a max, but the real trick would come if you turned around. On normal ground, you'd just be immediatley moving in the opposite direction with no deceleration happening. With ice, you'd slide, decelerate, then accelerate in the opposite direction. It seems like ice will need a few exceptions....
I don't know. Has anyone tried doing ice mechanics before and could tell me if I'm not seeing something that could be easier?
The sludge is another one that'll be fun, but we'll save that for later.
The main thing I'm wondering about is some acceleration and deceleration when it comes to moving across various terrains. What I want to have would be your typical solid tile, but also ice blocks and sludge (water that's hard to move in).
For the ice, I wanted to try and copy the physics of it taking some time to get to speed while walking, but if you were to jump and land and be moving forward, you are already at speed. When you let go of the button, there'd be some deceleration as you slide forward. Again, jumping could cancel this. It seems like it'd just be having some var count to some number until it reaches a max, but the real trick would come if you turned around. On normal ground, you'd just be immediatley moving in the opposite direction with no deceleration happening. With ice, you'd slide, decelerate, then accelerate in the opposite direction. It seems like ice will need a few exceptions....
I don't know. Has anyone tried doing ice mechanics before and could tell me if I'm not seeing something that could be easier?
The sludge is another one that'll be fun, but we'll save that for later.