(Around themselves) spinning sprites

0 favourites
  • 4 posts
From the Asset Store
Like tourists, Travel around the world as fast as you can!
  • Hello!

    I'm making classic space shooter game for my first game project (spacerocket has to shoot and avoid planets/ meteorites which are spawning outside the layout and coming towards spacerocket). I added bullet behavior for my planets and meteorites. But when I tried to add rotate behavior for them, they started to rotate in circles and that isn't what I'm looking for. How can I make them to spin around themselves and still act like a bullet (come straight towards to spacerocket)?

    Thanks!

  • Change the "set angle" bullet property to "no".

  • Now they are spinning but there is problem; those planets/ meteorites which are spawning on top of the layout or on the bottom don't set their moving angle right (to be honest, they all move a little bit funny). They don't come towards the spacerocket (which is moving on center of image), they are just passing horizontally the game layout borders. Spawning points are just outside of the game layout.

    http:// postimg.org/image/ xccqzl7tl/

    I belive that this is the problem? Is there some other way to get planets/ meteorites to move towards the spacerocket than setting angle?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • rotate counter clockwise or anticlockwise i think is in system or object if u just want to make the meteorite spin or rotate 360 Degrees around his own ax

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)