Hi everyone. I have scene with “bullet” sprite.
How I can start spinning when run game and how to do, when I click on Space, the bullet stopped spinning and headed in the direction where it stop spin?
Something like this:
There are a couple of different ways you could do this. One easy way is to use the internal animation system for rotation, then again when “moving”/“shooting” the bullet. Here is a very quick example I threw together:
Click “Run code” and press Space to “fire” the logo sprite in the direction the rotation is.
4 Likes
awesome, that thing I want. Sven paste script please)
2 Likes
Click on the “View Source” after you clicked the “Run Code”, it will take you to the codepad with the source code!
3 Likes
got it) Thank You so much Sven)
2 Likes