This is how to do left and right movement properly.
Frazzle
Member Posts: 223
I've seen in many GS platforming templates things like this:
When left is down
When Right is down
constrain linear x motion to 0
But you can make it much easier just by saying:
When left is down
When right is UP
constrain linear x attribute to -_
(and opposite for right movement)
This saves a rule and confusion to your game logic.
FM
When left is down
When Right is down
constrain linear x motion to 0
But you can make it much easier just by saying:
When left is down
When right is UP
constrain linear x attribute to -_
(and opposite for right movement)
This saves a rule and confusion to your game logic.
FM