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
120
S
28
G
68
Posts: 4,847
Reputation: 48,295

Post » Sun Oct 02, 2011 4:58 pm

http://dl.dropbox.com/u/36472942/construct/forumhelp/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
247
S
85
G
40
Posts: 7,000
Reputation: 57,795

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
120
S
28
G
68
Posts: 4,847
Reputation: 48,295

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 10 guests