Pages: 1
Topic closed
...without having to press both buttons at once. I want to have one button move the sprite, and then while it's moving, you should be able to press another button that makes it rotate as it continues to move.
Offline
Don't use the [When Key Pressed] blocks. Instead, use the <if key [ ] pressed> sensors. For example, if you were to do this:
[forever]
[if <key [space] pressed>]
[change y by [5]]
[endif]
[if <key [right arrow] pressed>]
[change x by [5]]
[endif]
[endforever]
That would allow you to hold space and the right arrow at the same time to move diagonally up and to the right, or only hold space and still move up or only hold right arrow and still go to the right.
Offline
Topic closed
Pages: 1