Point Bullet in the right direction

Get help using Construct 2

Post » Wed Nov 30, 2011 5:10 pm

Stupid litte me needs help

I am unable to point my "bullet" in the right direction. Even "set angle" did not bring usefull results.

Can anyone help?

You can test online -> EGON

Here is the eventsheet ->

And the CAPX-File can be found here -> DropBOX
B
42
S
19
G
12
Posts: 723
Reputation: 13,911

Post » Wed Nov 30, 2011 5:37 pm

Yeah that aspect of bullet can cause some confusion. What you can do in this case is add two sub event on space pressed like

if player is mirrored -> bullet set angle 180
if player not mirrored -> bullet set angle 0

In my game , i had a character with bow and arrow and i had to handle bow mirroring, bow angle , arrow mirroring and arrow angle depending on mouse position and if player was mirrored or not. Took 3 days to figure everything out :) Kiyoshi2011-11-30 17:39:56
B
58
S
13
G
10
Posts: 632
Reputation: 12,515

Post » Wed Nov 30, 2011 5:49 pm

Thanks - that did the trick!

B
42
S
19
G
12
Posts: 723
Reputation: 13,911


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 16 guests