Hi I am new to Gdevelop. I am trying to make a simple animation. When the player presses a button (mobile game) I want to gradually increase the opacity of an object to 255.
I cannot find how to do that. I did it with the cursor/touch is on object but that means that the player must keep pressing the button to finish the animation.
How timers work? Do they start count from 0 and up every 1 second? I cant seem to make them work in my project.
When you reset a timer, it begins to synchronise it’s value with the time since you reseted it. For example in your case you could do “When button pressed reset timer oof” and “when timers oof’s time > than 0.3 then add 1 to opacity of object and reset timer oof”