frozenpeas's Forum Posts

  • Once a game has been downloaded to mobile is it possible to give the user the option to download further levels and if so how would this work within Construct 2?

  • Basically these are photographs (some 100 or so)

    I don't want to load them from a url as this will be running on mobile.

    Not sure what the best way of doing this is.

  • Is there a way to load a photo into a sprite from an array or data file.

    I have a sprite on screen that I want to re-use on different levels. Depending upon what level you are on it should show a different image.

    Hoping that I can simply store the images in an array or data file and change them dynamically depending upon what level the user is on.

    Thanks.

  • Got it I think

    Answer should be:

    1. Load in the 2 dimensional array at the beginning using JSON

    2. Set the local key to the JSON

    3. Access array through LEVELSARRAY.At

  • Just cleared my temp internet folder and there was some 135,000 reloadpoll text files. Clearing them took for ever.

    I know why they are there, but is there any need for so many?

    Thanks

  • Thanks will try the flag option

  • Decided to go with a 2 dimensional array.

    Just not sure how to save this using WebStorage

    Something like:

    WebStorage.localValue(THISLEVEL,0) to 1

    WebStorage.localValue(THISLEVEL,1) to 1

    WebStorage.localValue(THISLEVEL,2) to 1

    Hope someone can help.

    Thanks everyone.

    P.S. I'm loving this program

  • What is the basic concept for maintaining progress on levels in a game so that when returning to the game you can continue from where you left off?

    Do global variables and web storage provide the answer to this when running the game on Android?

    Hoping someone can point me in the right direction for a good read.

  • On my level complete dialog there is a button to go to the next level.

    Because this button is sometimes over a click event in the next level, it can accidently trigger the event.

    I have tried "on end of layout" and pausing but with no luck.

    What is the best practice to prevent this happening.

  • Awesome thanks

    I changed it to "On start of layout" and it worked.

    Thanks very much

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello, please bear with me on this as I download what's currently in my brain.

    Each "Layouts" is linked to a respective "Event sheets" through selection in the Layout Properties.

    I've figured out that "Layouts" order takes preference over "Event sheets" order because it's possible to re-order the "Layouts" and not the "Event sheets" order.

    Currently got:

    Preload Scene

    Loads small audio file then system go to Select Screen

    Commands

    Audio

    Play audio looping at 0db

    System - On Load Complete

    • System Go to Select Screen

    Select Screen

    Has a button which does nothing

    However, when I test this in the browser the sound does not load and it does not jump to Select Screen as I would have expected.

    Hope someone can put my brain out of it's misery.

    Thanks