How do I create a next button.

0 favourites
  • 4 posts
From the Asset Store
Fully commented source code/event sheet & sprites to create a space shooter game
  • Hi guys,

    I was trying to make something as simple as it sounds, a Next button.

    I have some pieces of text that I want to be shown but one by one, like instructions for example.

    So when the layout starts, blabla1 is shown.

    Then pressing a Next button (sprite), the next piece of text (blabla 2) is being shown.

    I have this working with "set text to blabla2", not a problem.

    However when I add another piece of text like blabla3, then the button is not following a timeline, but it's showing blabla1 followed by blabla3. Not blabla2. Only when I add a wait action in between, it will show so many seconds. But I want the Next button to do it.

    I have tried a pause button as well, but I get to the same problem.

    Could anyone please give me a hint, it must be the easiest thing but I can't get my head around it.

    Thanks.

    Queueon

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You could solve this by using else statements attached to your conditions..

    But maybe using the button to add to a variable and setting the text based on the variable would be even easier..

  • NextText.capx

  • Hi guys,

    I am mind-blown.

    This function was exactly what I was looking for.

    I would never be able to get to this point myself as a newbie.

    Thanks so much and I will decode it to be able to learn from it.

    5 star!

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