How do I create rotating bullets without changing path

Get help using Construct 2

Post » Wed Apr 13, 2016 5:39 pm

Hi. I tried to add the Rotate Behavior and change the Angle every tick on a asteroid with Bullet behavior but then it circles around but I want it to fly in a straight line (and change after collision with solid object) but still rotate the sprite slowly so its not a static sprite. How can I do this?
B
53
S
16
G
6
Posts: 718
Reputation: 9,150

Post » Wed Apr 13, 2016 5:46 pm

Animation?
Or
pin your objAsteroid to a helper object (that has the bullet behavior attached) - now it should be possible to rotate your Asteroid.

  • System > On start of layout | system > load game from slot "brain"
  • System > On load failed | system > scroll to obj_Forum
B
17
S
8
G
5
Posts: 340
Reputation: 4,707

Post » Thu Apr 14, 2016 6:01 am

Great idea! Thanks. I will try the pinning. :)
B
53
S
16
G
6
Posts: 718
Reputation: 9,150


Return to How do I....?

Who is online

Users browsing this forum: DarkRoomGames, mekonbekon, NadeemAbbass and 10 guests