Platform Gravity HELP & a tip on camera control

UtopianGamesUtopianGames Member Posts: 5,692
edited November -1 in Working with GS (Mac)
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.

Comments

  • StusAppsStusApps Member, PRO Posts: 1,352
    is the accelerate set relative to the actor or the scene?
  • UtopianGamesUtopianGames Member Posts: 5,692
    Scene....if actor then it would go crazy if the actor spins?

    Darren.
  • reddotincreddotinc Member Posts: 653
    Why do you have density set to 2000?

    // red.
  • UtopianGamesUtopianGames Member Posts: 5,692
    Testing different settings...the original had density set to 3 when i had the platforms moving instead of the character.

    I have no idea why now im moving the character instead of platforms i need to increase the gravity.

    Darren.
  • gazjmgazjm Member Posts: 578
    In a contra style game I'm making I have it set so as if the actor is falling a rule is set to,

    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.
Sign In or Register to comment.