Yasharitsu's Forum Posts

  • >

    > > 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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

  • 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.

  • Hi everyone

    I have created a working live-score for my game but now I downloaded a new font and tried to make the score appear in it and it doesn't work.

    I have tried it with multiple other fonts and it works with them. Even when it says that Construct 2 doesn't support them.

    Does anybody know how I can make it work?

  • toggle all the events off and try again, if it doesnt change then the problem isn't in your event sheets. Also disable any effects you have in your layers/layout.

    That pretty much will narrow it down to either the project settings/ configuration settings in construct or the build settings in the xdk.

    try switching to the fullscreen in browser to letterbox if it isn't already.

    make sure the 'first layout' setting isn't a blank layout

    Beyond that I will probably need to see the .capx

    You're the man! I've found the reason it wasn't working. Thanks a lot!

  • celstrider also tried pushing it to the testing server and it didn't work on my phone.

  • the simulator on xdk is kinda buggy, try pushing it to the testing server and see if it runs on your phone.

    if that doesn't work grab one of the game example templates and load that into the xdk.

    if the template runs then the problem is specific to your project, but if it also gives you a black screen then the problem is outside of your project.

    An older version of the game is working so the problem should be in the project.

  • Been creating a game for a while now and now I'm close to finalizing it. I wanted to test if it would work with the simulator of XDK but the only thing I get is a black screen on the device. The memory use is under 40mb so that shoudln't be the problem.

    What would you guys need me to show you to be able to help me?

    Peace

  • Use the Sine behavior for it, or a simple math, any arc start with a second (or more. The more, the smooth it is) degree equation, it's a simple math doing the movement with X=1*X and Y=2*X for example, and enable the |destroy outside layout|, disable any other behavior the object have.

    How do I do "a simple math"?

    Using the sine behavior didn't work. It just moves the sprite horizontally.

    I'm pretty new to this and I can't find many tutorials maybe because I don't know where to look for them. Googling doesn't seem to help.