See Saw like platform

jbrown2177jbrown2177 Member Posts: 66
edited November -1 in Working with GS (Mac)
How do I create a see-saw like platform? I want to create a game using the accelerometer which stays in the middle and does not slide off screen. Example would be character X is on the platform and you lean your iPhone or iPad one direction character X would slide in that direction and you're allowed to slide off, but I want the platform to stay centered.

Comments

  • monsterpunchmonsterpunch Member Posts: 37
    Give the seesaw object a certain density and friction, make two invisible entities that weigh the same depending on the Y position, and also player action weighs on their weight. It's pretty specific coding if you really want to make a interactive one.
Sign In or Register to comment.