Bug with scale object

I got a problem in my game.

My character change his size when he push on buttons.
First, he becomes small and it works.
Then, i want ha comes at a bigger size (scale2) and he can’t move, only flip is working.

Have you tried moving your “Delete button giant_off” to the end of the action on both? Right now it deletes right away, therefore Ln is no longer in collision with it.

I don’t think it’s the button because the scale is set to 2. But when the character is at scale 2, he can’t move.

Oh I see, the tween isn’t working then, is that correct? Or is it key presses don’t work?

I think the last event needs a trigger once or some other condition like changing the value of of the variable. The tween is probably repeating on each frame.

1 Like

Or is it key presses don’t work?
The keys are working caus my character is flipping on left and right.

I think the last event needs a trigger once
I tried but the carachter becomes big just a millisecond and then com back to small size

It works.

Keith you’re right it needs a trigger and i have a conflict cause the variable “button_enfonce” was still on 3 so it’s change the size on 0.2 again.

Thanks

1 Like