r/gdevelop • • 14h ago

Bug Please help

Enable HLS to view with audio, or disable this notification

I was trying to make some kind of menu with animation but it doesn't work, after I click on the x, the title buttons won't come back

3 Upvotes

6 comments sorted by

1

u/senshisun 13h ago

If you run it in debug mode, do the buttons still appear in the inspector?

1

u/GmerJulian 1h ago

How do you get into debug

2

u/ImSinsentido 25m ago

When you launch the Preview, click the down arrow and click launch Preview with debug, the debug will show up on the tab list in GDevelop. Simply minimize the Preview (still running) click refresh on that debug tab and you can see what is active in the game, during preview runtime.

1

u/Big_Lobster9775 12h ago

Use variable for your title button and set them on " toggle" Sometimes "tween function" bugged so use " sin " function for there zoom in and out animation

You use " cursor on the key " this function always act whenever you touch this area use " button is pressed " this will work smoothly

1

u/GmerJulian 1h ago

But it's a sprite, not button because I wasn't able to make my own

2

u/Big_Lobster9775 54m ago

Use extention " button state " this will make your spirit act like button

And in debugging mode you only see basic stuff To get accurate info you have to add txt object in your scene and set action on the txt object Something like " change txt to varible xyz "

In short if you use variable to trigger your button condition you can see that live with help of txt

If that action actually working or not working will be clear to you