Something wrong with speed of movement of actor
Hey all,
So Im almost at the finishing of my first app, worked month on this and want to put the dots on the i's (dutch saying, making all perfect).
I have raft/island actors which come and go, with a certain speed, from top to bottom, depending on the level.
I made these rules on those actors:
If level > 3:
MOVE
Direction: 270 | Relative to: actor | Move type: additive
Speed: 50
If level > 4:
MOVE
Direction: 270 | Relative to: actor | Move type: additive
Speed: 52
if level > 5:
If level > 4:
MOVE
Direction: 270 | Relative to: actor | Move type: additive
Speed: 54
and so on. As you can see the speed increases. It all works too, until the moment I wanted to perfect out the speed balance with the gameplay. This seems not to be the right way..
If level > 6, i want the player to have a little pauze in the raft/island jumping, and i set the rule:
If level > 6:
MOVE
Direction: 270 | Relative to: actor | Move type: additive
Speed: 50
As you can see, the speed is set back to 50, just like levels below 3.. buttttttt the speed isn't setting back, it seems that the speed rules are increasing eachother, and are not solo per rule, as I expected..
How to fix this? It is really essential for my game to make this work, needless to say..
Thanks in advance, best regards.
Goodboi Gamestudios | Monster Jumper now on the App Store
Comments
Try using Stacked move behaviors rather than Additive ones. From the Cookbook:
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
@tatiang perfect man! Figured it out now thanks to you. Thanks a lot.
Goodboi Gamestudios | Monster Jumper now on the App Store
You're welcome!
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User