How do I make it shoot in the face direction?

Just started using Construct 2? Post your questions here

Post » Wed Aug 27, 2014 5:07 pm

Im new, totally new to this.

Im looking thought the example projects that Scirra provide.

On the project "Ghost Shooter" so is this a command

Code: Select all
Set angle toward (Mouse.X, Mouse.Y)


I want it to set angle towards the direction you are facing, how do I do this?

____________________


I have added a touch controll to the game now, took sometime but I got it to work, I have tried to set the angle towards player.x & player.y, I do believe it works BUT. I need my characther to rotate with movement somehow

____________________

The touch controlls is also just up, down, left, right, so no diagonal yet? have to find a way to fix that
B
21
S
9
G
8
Posts: 188
Reputation: 6,069

Post » Wed Aug 27, 2014 8:03 pm

Got the characther to move diagonal now aswell, still haven't found how to shoot in the face direction, someone?
B
21
S
9
G
8
Posts: 188
Reputation: 6,069

Post » Wed Aug 27, 2014 8:16 pm

Ok problem is now solved, took me some time but I got it to work, can be closed now
B
21
S
9
G
8
Posts: 188
Reputation: 6,069


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests