Yasharitsu's Recent Forum Activity

  • Hey everyone.

    I was able to create a score and now I want to have a Layout where the player can see a List of the 10 best scores he has made in the game.

  • I want to make a tutorial appear only the first time someone plays my game.

    I made a global variable named "Tut" and set it to 0.

    When the layout starts and "Tut" is equal 0 (Add another condition) the tutorial starts.

    As soon as the tutorial ends "Tut" is set to 1.

    Then I made an Item in local storage also named "Tut" and as soon as the tutorial it is "Set item 'Tut' to 'Tut'.

    Somehow this doesn't work when I Test my Game, go to the menu and then press play again. The Tutorial appears again.

    What did I do wrong?

  • Global Var + Local Storage. Create a variable "TUT = 0"

    When first pressing the play button and have your player go through the tutorial/(s) (I'm going to assume these are a series of dialogue boxes) or when closing the last dialogue box of your tutorial, simply set 'TUT' to 1 and save that in local storage.

    Set it so it never appears again if the value is 1.

    I've set the value of TUT to 1 after the tutorial is finished. I also added "Set item 'TUT' to 'TUT'". Doesn't work.

  • >

    > > Is it just a tutorial explaining movement controls or something more in depth?

    > >

    > > For movement controls I usually include a controls button the main menu page that goes to a new layout and I use pics for buttons in case people using it do not read English.

    > >

    >

    > It's explaining movement controls and it's an animation. I want it to appear the first time somebody plays the game.

    >

    Ok, I would create it in a seperate layout and use pictures to explain movement controls for people that don't read your language.

    Make a button that says PLAY and when they have seen the instruction they push play to start the game events.

    On Touch on Object PLAY: Go to layout GemeEvents

    The animation doesn't have any words in it. You see a phone and a Hand that do the things you have to do.

  • Is it just a tutorial explaining movement controls or something more in depth?

    For movement controls I usually include a controls button the main menu page that goes to a new layout and I use pics for buttons in case people using it do not read English.

    It's explaining movement controls and it's an animation. I want it to appear the first time somebody plays the game.

  • Global Var + Local Storage. Create a variable "TUT = 0"

    When first pressing the play button and have your player go through the tutorial/(s) (I'm going to assume these are a series of dialogue boxes) or when closing the last dialogue box of your tutorial, simply set 'TUT' to 1 and save that in local storage.

    Set it so it never appears again if the value is 1.

    I've set the value of TUT to 1 after the tutorial is finished. I also added "Set item 'TUT' to 'TUT'". Doesn't work.

  • I want to have a tutorial that only appears the first time someone plays the game. Does anybody have an idea on how to get that done?

  • dafont.com/murder-block.font

    Your font doesn't have numbers.

    Haha, thank you Bro!

  • This would be easiest if you uploaded a capx example with the issue isolated.

    What font?

    Murder Block

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • We may have to see the code to know what's going on.

    What exactly do I have to show you?

  • If the font is too big it may not display. Try increasing the size of the text box. Especially with a score, you may want to make it really wide too depending on how high your score goes. So the text has room as the score goes up.

    Say your Score variable is "Points" and your score text is called "ScoreBoard" Whenever you have the score change have an action that says Set "ScoreBoard" to points. When you type it in it should show a dropbox of items. Select your variable for the Score, in this example, "Points".

    So score changes Set "ScoreBoard" to "Points" as in the variable for the score.

    I did this and it doesn't work. The weird thing is that the "Score:" text moves to the left after some time so the number is being generated but it's just invisible for some reason.

    I made the textbox large and it still doesn't work.

  • Is your text box large enough to display the selected font?

    It displays "Score:" but not the number. As soon as I change the fon. It works perfectly.

Yasharitsu's avatar

Yasharitsu

Member since 17 Sep, 2016

None one is following Yasharitsu yet!

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies