How do I (Redimension a sprite) - RESOLVED

Get help using Construct 2

Post » Tue Jul 15, 2014 12:49 am

Guys, anyone can tell if it has any plugin or behavior that causes a sprite, can be resized.
For example, one selection effect and increase or decrease the sprite, pulling him?

Att
Last edited by Rony Sueliton on Fri Aug 08, 2014 11:17 am, edited 1 time in total.
B
11
S
3
G
1
Posts: 105
Reputation: 1,135

Post » Tue Jul 15, 2014 8:36 am

Be more specific plz...

Anyway, I make "+" and "-" buttons, conditions, then action would be, set size as width and height, make sure to get expression from sprite.

The sprite is pure square like 100 x 100

Condition

On "+" Pressed

Increasing size:
Sprite1.Width + 20
Sprite1.Height + 20

On "-" Pressed

Decreasing size:
Sprite1.Width - 20
Sprite1.Height - 20
B
97
S
35
G
29
Posts: 3,139
Reputation: 28,371

Post » Tue Jul 15, 2014 10:45 am

I think you are trying to make a sprite a little bit bigger on selection (as a feedback that is has been selected). You can do this with the "Set scale" or the "Set size" action.
B
4
Posts: 14
Reputation: 276

Post » Fri Aug 08, 2014 11:16 am

Their responses have contributed greatly to the completion of my app, thanks for the responses.
B
11
S
3
G
1
Posts: 105
Reputation: 1,135


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 14 guests