How do i set controls for Dogfight style game..?

Just started using Construct 2? Post your questions here

Post » Sun Feb 21, 2016 1:24 pm

HI there, i am making a simple side scroller dogfight game.. The 8 way behaviour seems fine but when i am moving right along the x axis and i hit the left arrow key my image of my plane flips upside down...? I'm sure it must be to do with the 'set mirrored' action but i cant quite figure it out.. Regards.. Elliott..
B
5
Posts: 8
Reputation: 254

Post » Sun Feb 21, 2016 3:19 pm

If you don't want your plane to face backwards you can change the direction facing in the 8-direction property to NO. This is the style of most side scroll shooters. If you want it to change facing you might have to create your own control scheme so you can get the turn animation playing like you want.
Check out my completed games on the Arcade! Capt. Doe Save the Universe! & Clicker Wizard!
B
71
S
19
G
8
Posts: 640
Reputation: 9,701

Post » Sun Feb 21, 2016 6:04 pm

try adding:
set angle to zero. (when you press right or left.)

Hope it helps out.
B
4
Posts: 10
Reputation: 222

Post » Sun Feb 21, 2016 7:31 pm

Thanks folks..! :) Will give both a go... Cheers .. Elliott..
B
5
Posts: 8
Reputation: 254

Post » Mon Feb 22, 2016 10:52 am

Still working on this, but have found that if you add the bullet behaviour and also the 8 way behaviour.. With the 8 way at a higher speed, when you press right arrow key it accelerates to that speed.. Still got issues with the controls, i think i may have to use custom controls and variables.. I think it could do with joypad also as the back arrow button is an issue when it is on the x or on the y... Would be great to have plane that looped the loop and and turn around but i think it may be a 3D thing..
B
5
Posts: 8
Reputation: 254


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest