EdwardJT92's Forum Posts

  • Browser.Log lets you log to the debug console (F12 in most browsers). You can add messages anywhere you need to see what is going on.

    I sorted it.

  • Time to add some debug logging to see what is and isn't running.

    And how exactly do I then find out what isn't working? lol

  • Here's what I've done...

    This is at the end of a level:

    And this is on the Selection window:

  • It doesn't seem to be working for me at all. I did all you did in that .capx file but it still wont do it.

  • You can use LocalStorage to save your dictionary AsJSON, then load it back again via your button.

    How exactly do I do that?

  • Hello everyone.

    I have been trying to get my head around this for weeks now and I have not gotten anywhere with anything at all. I am trying to store some data from the game so that when a player touches "Load Game" it'll load all the values in the variables of the individual scores (in the image below - if it works).

    Here's a small cap of it all.. At the end of each layout (Level) the player completes, his/her score is added to the overall score count on the Selection menu. This is all good as it saves it for them and they can come back to it. However, as many of you may know is the fact that the "Save" option in the "System" command saves everything.. the whole state the game is in currently. This is all good and nice, but it's not good and nice if you want to update the game.

    So, my question is, how do I get the variables saved individually and not as a whole mess of data and MB's that aren't needed. Let's say, I want to save the Score and the Score only. What do I have to do to make that work?

    I'm sorry if I have confused anyone in this post, but I wanted to give as much information as I possible could.

    Image 1 => [SHOULD] Saves the values from the end of each level.

    Image 2 => [SHOULD] Loads the values from each level back into the game.

  • Going to bumb this back up on the list .....................

  • I know this is my 3rd Thread on here and I know I should watch YouTube videos about it or google for tutorials.

    But here's my question.

    How do I add in App purchases for Android with IAP? I've tried a tutorial I've seen on here and I've tried a tutorial I've seen on YouTube. And it's not working for some reason. Does anyone have any idea how it all works with the new Construct 2 Version and is able to help me out?

    Would be much appreciated ..

  • I would like to know how to do this myself..

  • try this it's a lot of tutorials on youtube

    Will check it out after I've finished these few things, thanks.

  • Can you point me in the right direction on how to do that?

  • yeah the thing is you have to save each stuff separately and then with the load buton you just load the last state of the game with the saved individual stuffs

    normally when the layout is loading you load also the last save with your separate stuff saved, you do the same when you die, and when you reach a save point etc etc

    So I can't really load the games current_level and score individually ?

  • well do you have a load button at the title screen of your game? where the player can click and then the saved state & level is loaded.

    I do, but the problem I am facing right now is that the "SAVE" and "LOAD" features save and load EVERYTHING that has been done so far, the sprites, colors, variables etc. I don't want it to do that. I want it to only load the variables such as the current_level, score and so on. This will make it so much easier not just for myself, but for people playing the game in the near future.

  • whats the difference between those?

    Thanks it works

    As far as I know nothing at all!

    You're welcome.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Maybe this will help:

    Just use TAP instead of touching, should work. I just tried it and works fine for me.