How do I let my object move to self.Angel?

Get help using Construct 2

Post » Sun Apr 28, 2013 8:03 am

(Sorry for my bad english, I am from the Netherlands).

I have make a space ship that must move to him self angel.
So, I have try this:

Left arrow: Rotate 3 degrees counter-clockwise;
Right arrow: Rotate 3 degrees clockwise;
Up arrow: Move 5 pixels at self.Angel;
Down arrow: Move -5 pixels at self.Angel.

So, if the space ship is stand so: "<", he move so: "v".
How can I care that if the ship is stand "<" he so moves too?
B
3
Posts: 4
Reputation: 183

Post » Sun Apr 28, 2013 8:33 am

capx please.
The file of your project= capx
HARMLESS SIGNATURE THAT IS VIEWED BY OTHERS AS OFFENSIVE AND CONTROVERSIAL
B
14
S
3
G
3
Posts: 356
Reputation: 4,362

Post » Sun Apr 28, 2013 8:36 am

http://updo.nl/file/aff9ef31.capx
B
3
Posts: 4
Reputation: 183

Post » Sun Apr 28, 2013 2:14 pm

from the cap it looks like its working.. you just need to change move at angle to:

move 5 pixels at angle self.angle-90

or..

you can rotate the ship sprite 90 degrees to right. which is a better idea
B
28
S
8
G
1
Posts: 469
Reputation: 4,683


Return to How do I....?

Who is online

Users browsing this forum: linkman2004, SpartCrafter and 27 guests