Hello,
There is something I think I don’t understand. I am just a beginner and I guess there is a fundamental I can’t grab.
I created a folder ‘Images’ in my project structure beside game.json. In it 3 png files for various button states.
On the scene I create a button object with three animations : a picture for stand state, hover and pressed.
I created events in my scene as this tutorial shows : GDevelop 5 [GDevelop wiki]
In the preview NOTHING HAPPENS !! Ok yes I can see my button but it never changes whatever I do ??
I thought it was a problem of capturing my mouse. To check it I create a scene variable. And I add a text event on the screen. I add an event : everytime MouseX is > my var, display MouseX in the text field and update my var : NOTHING HAPPENS.
So I finally decided to add an event at the launch of my scene : create a object existing in the library : NOTHING HAPPENS.
Conclusion : I have a problem with events !!!
Can someone enlight me please ?
Alexandre