Shooting in 8 directions

Get help using Construct 2

Post » Thu Mar 14, 2013 7:53 pm

Hi Guys,

I'm sorry to be posting this when there is already some threads about this, but all of them have capx that are no longer on dropbox.

I'm trying to shoot in 8 directions. It is for a platformer and I am using the platform behavior to control my player.

My problem is, for example: if I shoot up-right and then try to shoot down-left while the previous bullet is still on screen the bullet changes direction.

Does anyone have a working example so I can see how it is done?

Thanks in advance
B
13
S
4
G
2
Posts: 20
Reputation: 2,517

Post » Thu Mar 14, 2013 8:11 pm

Have you taken a look at this tutorial?

I know it is the "de facto" tutorial for beginners in Construct, but your question is related to it!

https://www.scirra.com/tutorials/37/beginners-guide-to-construct-2/page-1

You may also upload your .capx to see what the problem is!
B
17
S
4
G
3
Posts: 73
Reputation: 3,723

Post » Thu Mar 14, 2013 8:26 pm

Is it important that you only be able to shoot in 8 directions? 'Cause it's pretty easy to allow the player to shoot in literally any direction using the mouse. Possibly even easier than a restricted method like that.
B
6
S
1
Posts: 67
Reputation: 986

Post » Thu Mar 14, 2013 10:00 pm

I want to use only keyboard or controller.

With the mouse there are a lot of capx and tutorials around.
But using keyboard I only saw an example shooting left and right using the "is mirrored".
B
13
S
4
G
2
Posts: 20
Reputation: 2,517


Return to How do I....?

Who is online

Users browsing this forum: Paradox and 3 guests