Sprite button (Mouse-->on object clicked-->btn_NextLevel) not working.

0 favourites
  • 3 posts
From the Asset Store
Hand-painted tiles, objects, animated objects, and background to build a colorful Mayan civilization environment.
  • Hi,

    Please, can you help me with a button I made of a sprite which does not go to another layout when clicked?

    These are the layouts:

    lay_Level001:

    lay_TitleScreen:

    Here is the event which should switch back to layout lay_Level001:

    When the player hit the purple rectangular object at the end of layout lay_Level001, the layout lay_TitleScreen is shown.

    When the player click with the mouse on the green button sprite btn_NextLevel (I placed the "Continue" text deliberatelly above that button), he should go back to layout lay_Level001 (this is just for testing purposes, in reality when everything works the player goes to the next level).

    Problem is now that when the green continue button is clicked, nothing happens. I can do what ever I want, nothing happens.

    I discussed this for ours with ChatGPT and whatever solution is coming up, nothing works.

    Please, can you tell me where I went wrong?

    I am using the r420.2 beta release.

    Thank you so much for your help which I appreciate.

    Kind Regards,

    Chris

  • You need to put the button click event in the title screen event sheet

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hello Lionz,

    Thank you so much for your help, which I appreciate. You solved my problem and rescued my day.

    I wish you a great day and all the best.

    Kind Regards,

    Chris

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)