JoyPad via conAngle script

Get help using Construct 2

Post » Sat Feb 22, 2014 3:33 pm

I, i'm not so god to english writting but i'm try to explain my self!

Hi every one.
I'm using a script create by someone of you ( the touch joypad )
He use conAngle script for make the PG move around.
I'v lock the Vector Y ( sin( sangStick.conAngle ) * 100 ) becouse the game is a platform and when i go UP the player "fly" :D it's funny but don't need.

Now the question is:
I'm using "platform is moving" and when it's moving left it's mirrored so it's look left or right "BUT" this don't work via PAD

I'v try to give to the mirrored ( left platform moving ) olso the commando: conAngle < 90 and on left conAngle <-90

But i'v done the revers... "when i'm put the PAD up up/left up/right the player look left and vice versa it's looking down... ho to make left and right? :D
B
3
Posts: 2
Reputation: 179

Post » Sat Feb 22, 2014 4:24 pm

Can you modify the javascript from the plugin?
B
17
S
4
G
1
Posts: 105
Reputation: 1,874

Post » Sat Feb 22, 2014 4:38 pm

it's not a plug in..it's just a variable toke from this site...
B
3
Posts: 2
Reputation: 179


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 12 guests