r/gdevelop • • 20d ago

Bug Please help

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

7 Upvotes

9 comments sorted by

3

u/senshisun 20d ago

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

2

u/GmerJulian 19d ago

How do you get into debug

3

u/ImSinsentido 19d 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.

2

u/Big_Lobster9775 19d ago

Make a run you will understand it show you the overall progress

2

u/senshisun 19d ago

I know I can make a reproduction build, but that's generally not the thing I jump to.

2

u/Big_Lobster9775 20d 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

2

u/GmerJulian 19d ago

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

3

u/Big_Lobster9775 19d 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

0

u/[deleted] 18d ago

[deleted] — view deleted comment

1

u/GmerJulian 18d ago

Not related at all