Sprite not rotating upon creation

Get help using Construct 2

Post » Mon Mar 12, 2012 3:11 am

Hi all, been monkeying around with this and it's fun, overwhelming, and exciting all in one. Thanks to anyone if they can help.

http://dl.dropbox.com/u/66599838/question.capx

Made a sample, one sprite is shooting at another sprite. There are two sprites being created to do this, a bullet and a rocket. The bullet "faces" or is "pointed" at the target sprite, no matter where I put the target on the layout.

The rocket is pretty much launching itself sideways, not pointing once created, however it is angled correctly towards the target.

Left-click and spacebar will "shoot" either/or in the example, I hope it's clear what I'm referring to.

If it's a one-click fix, please try to ham up the solution a little bit for me, I do so hate feeling like a complete fool. :)

Thanks to anyone who tries to help!
CF
B
145
S
2
Posts: 4
Reputation: 4,231

Post » Mon Mar 12, 2012 6:11 am

Your rocket sprite is facing upwards, while your bullet sprite is facing to the right. You'll need to go to "Edit animations" and rotate the rocket sprite so that it's aligned with the sprite's angle.

B
27
S
8
G
8
Posts: 903
Reputation: 8,452

Post » Mon Mar 12, 2012 1:21 pm

....winner. Thank you very much indeed for your time, Nimtrix, it is greatly appreciated. I knew it would be quick and embarrassing, but it was killing me.

Thanks! (Thread over!)
CF
B
145
S
2
Posts: 4
Reputation: 4,231

Post » Wed Jul 04, 2012 9:26 am

So easy.. Was searching the forum for the same problem. Thanks
B
5
Posts: 9
Reputation: 618


Return to How do I....?

Who is online

Users browsing this forum: makkancs, Matthew de and 36 guests