Help with difficult move actor
agueis
Member Posts: 420
Hello , I have a problem , i want that my hero start to move when he appears on scene, I need that he start to move when the key right is up and when the key right is down the first time, but when i touch right again i want that when the key right is up he would be able to stop, thanks, i hope you can help me .
Comments
add a rule:
when key right is down
Timer: every 0 seconds
change attribute self.motion.linearvelocity.x to self.motion.linearvelocity.x+400
Otherwise
change attribute self.motion.linearvelocity.x to 0
Need Help? Email Me | Templates | Full Game Source Code
Let me know if this is what you needed:
Need Help? Email Me | Templates | Full Game Source Code
Sorry for my English
It is almost what I want to do, as well as in the example but don't stop, I just want to stop when the right key is not pressed