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
44
S
22
G
13
Posts: 723
Reputation: 14,835

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
15
G
11
Posts: 632
Reputation: 13,255

Post » Wed Nov 30, 2011 5:49 pm

Thanks - that did the trick!

B
44
S
22
G
13
Posts: 723
Reputation: 14,835


Return to How do I....?

Who is online

Users browsing this forum: BackendFreak, R0J0hound and 1 guest