Physics Test

Discussion and feedback on Construct 2

Post » Sun Oct 02, 2011 3:57 pm

@Ugotsta

Me too. This was just something to test out the new physics behavior. Now updated to include zoom when landing and explosions (wooooot!) :)

BTW Still can't retrieve the physics.velocityy or x values. Anyone else tried?
If your vision so exceeds your ability, then look to something closer.
Moderator
B
126
S
29
G
72
Posts: 5,031
Reputation: 51,372

Post » Sun Oct 02, 2011 4:58 pm

velocityX.Y_test.capx

Simply Sprite.Physics.VelocityX or Sprite.Physics.VelocityY expressions.
It works fine when I preview this example.
New to Construct ? Where to start



Image Image

Image Image



Please attach a capx to any help request or bug report !
Moderator
B
262
S
93
G
55
Posts: 7,152
Reputation: 67,073

Post » Sun Oct 02, 2011 5:18 pm

Thanks Kyatric.

I now know what I did wrong. I tried to set a Global variable to the Y-velocity, then append it to a text field. It doesn't work that way. If I use an object instance variable instead, then I can both display it and use it in a calculation. Sorted!

Thanks for checking for me :)

zen
If your vision so exceeds your ability, then look to something closer.
Moderator
B
126
S
29
G
72
Posts: 5,031
Reputation: 51,372

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: Yahoo [Bot] and 5 guests