(Around themselves) spinning sprites

Get help using Construct 2

Post » Sat Feb 14, 2015 5:57 pm

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!
B
3
Posts: 2
Reputation: 179

Post » Sat Feb 14, 2015 6:32 pm

Change the "set angle" bullet property to "no".
B
12
S
7
G
7
Posts: 450
Reputation: 4,276

Post » Sat Feb 14, 2015 7:16 pm

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?
B
3
Posts: 2
Reputation: 179

Post » Sat Feb 14, 2015 7:19 pm

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
B
77
S
23
G
69
Posts: 1,353
Reputation: 43,960


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, richcoz81 and 33 guests