[SOLVED] Is someone having the Button bug or is just me?

Describe the bug
The bugs is when i go to an scene on another scene the button doesnt work.
A clear and concise description of what the bug is
When i enter an scene on an another scene, the buttonFSM doesnt work.
Steps to reproduce

  • Create 2 scenes, 1 with an button and another with another button that if clicked go to the another scene
  • Start the game
  • Enter the 1 scene with the 2 scene button
  • See the bug

Are your scene 1 events for the button also in scene 2?

Can you post a screenshot of the events you’re using in both scenes? Are the objects buttons or objects with the button behavior? Are the buttons in the same position. I’ve seen where that can cause issues with both buttons being triggered by the same mouse event.

I found out, its because i wanna use an system that is more complex, and after i re-readed the code, i found out that it was repeating herself infinite times. I didnt saw it at first.

2 Likes

I found out, its because i wanna use an system that is more complex, and after i re-readed the code, i found out that it was repeating herself infinite times. I didnt saw it at first.

Hi all!

It’ll be useful to have more details on your events and pictures of your screen when your game is in action.

You have not yet resolved this issue, if i have well understood.

A+
Xierra

Hello Amigo54. Sorry but i alweady resolved the bug. It was caused because i builded an more complex change scene sistem, but i forgot to put an limit, so it caused to reopen the scene infinity times. But thank you.

Hello @BernardoProducts!

Happy for you!

And me, i must change my glasses! (it’s true in the reality)

A+ and thank for your answer.
Xierra