Platform Gravity HELP & a tip on camera control
UtopianGames
Member Posts: 5,692
Ok so i started on a concept like Waynes tap runner.
I had the character stay put and platforms move left to start with but because i wanted to build the levels (elements were too complex to randomly spawn) so now i have my character moving right and platforms stationary but when he falls its far too floaty. In the old version i had the mask set up to 3 density and accelerate down to 300 but now the platforms are still i have to set the density to 2000 and accelerate down to 5000 to get any kind of gravity....any ideas?
There's also a camera trick i found to constrain to my character instead of just the middle area.
Darren.
I had the character stay put and platforms move left to start with but because i wanted to build the levels (elements were too complex to randomly spawn) so now i have my character moving right and platforms stationary but when he falls its far too floaty. In the old version i had the mask set up to 3 density and accelerate down to 300 but now the platforms are still i have to set the density to 2000 and accelerate down to 5000 to get any kind of gravity....any ideas?
There's also a camera trick i found to constrain to my character instead of just the middle area.
Darren.
Comments
Darren.
// red.
I have no idea why now im moving the character instead of platforms i need to increase the gravity.
Darren.
every 0.01
change self.y to self.y-5
You can change the timer or the number it changes by to control the smoothness or the speed. It works pretty well.