"Express THIS!" Changing a sprite's dimensions

Get help using Construct 2

Post » Wed Apr 17, 2013 1:42 am

On specific keyboard input, I want to change the height or width of a sprite. The action with expression I use is:

Object | Set width to Object.Width+10

But even when I've increased the numerical value (I started with 1, then changed it to 10), I don't see any changes in the dimensions of the object. I tried including parentheses around Object.Width but with no success.

Can someone tell me what I'm missing, please?

UPDATE: Nevermind....*facepalm* I discovered that I had forgotten I had created variables to control the height and width, and they were being set into motion after my keyboard Events/Actions...overriding any input I gave.Rhindon2013-04-17 01:55:09
I'm seeking Narnia. Who wants to come with me! Aslan is on the move!
B
112
S
20
G
8
Posts: 741
Reputation: 13,636

Return to How do I....?

Who is online

Users browsing this forum: Artpunk, gregorysforster, onzephyr and 1 guest