Gravity issue
suntzumobile
Member Posts: 34
Hi everyone. I've created some mountains that are moving to the Left X position. I have gravity so its making them fall below the screen. How can I have gravity and make these actors move without deselecting the movable box on the actor. Please be descriptive Im new at this. Thank you very much.
Comments
Constrain Attribute: self.Position.Y to "151" -- Or wherever it currently is on the board" (You can see the current Y position if you look under "Position" while editing the actor.)
Acc and gravity are basically the same thing and work at the same rate.
This will cancel the gravity out.
Option B.... My favorite.
Is only add accelerate down on the things you want to have gravity.
A physics engine is great for lots of pieces flying around like in angry birds but, keep in mind most games didn't have that. Mario went up and down without gravity.
Just something to keep in mind.
When i first started on Game Salad i tried to recreate some of the demos from scratch.
I found that in the cannon demo.