How do I Gun Angle ?

Get help using Construct 2

Post » Thu May 04, 2017 8:04 am

B
16
S
7
G
2
Posts: 22
Reputation: 2,425

Post » Thu May 04, 2017 9:46 am

Hi @Road_Movie,

I'm having trouble understanding your diagram.

Do you want the gun to rotate a minimum of 5 degrees if a button is tapped, but if the button is held then keep rotating until the gun is at 270/325/0/35 degrees?
B
20
S
9
G
4
Posts: 473
Reputation: 4,260

Post » Thu May 04, 2017 10:01 am

mekonbekon wrote:Hi @Road_Movie,

I'm having trouble understanding your diagram.

Do you want the gun to rotate a minimum of 5 degrees if a button is tapped, but if the button is held then keep rotating until the gun is at 270/325/0/35 degrees?


Yeah, to me it looks like he wants it to stop at those increments when held down... so it will rotate by 5 degrees until it reaches XYZ angle then stop, until the user presses again.

This could be a tricky bit of logic actually... hmmm...

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
84
S
34
G
40
Posts: 3,032
Reputation: 30,499

Post » Thu May 04, 2017 10:38 am

@SoldjahBoy

Yeah, not so straightforward... time to put the thinking cap on...
B
20
S
9
G
4
Posts: 473
Reputation: 4,260


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 10 guests