lionz's Forum Posts

  • Use a global variable as a condition.

    On key pressed, set variable to 1 (is 0 by default)

    Every x seconds, if variable=1, add to timer

  • - You haven't configured the mobile advert plugin with your admob details

    - You need to sign up to admob, get verified, create an app and then create adverts

    - In events you need to create the advert and give it a chance to load before you show it

    - Adverts don't show up in preview, you need to export to a mobile device to view them

  • I might not be understanding correctly but the screenshot shows the player on the left and the boss on the right and it's the same in game so I can't see an issue?

  • I was just guessing most of that while I wasn't at a computer. Now I looked at localstorage here is the fix : dropbox.com/s/awl15829go5bhpl/localstoragesave.c3p

  • One is global and can be accessed anywhere in the events and one is local and can only be used in the event or scope where it appears.

  • I think Construct 3 is fine for this. You can use arrays to store data.

  • Yep got it. You could try something like :

    On start of layout (first one you enter) and global variable=0 (see below) : load slot "save"

    On load failed : do nothing (it means the slot doesn't exist and player never saved)

    On load complete and global variable=0 (see below) : go to the starting layout, set a global variable to 1

    You say if global variable is 1, set continue button enabled

    Then you have your continue button enabled if a load happened (player has a save game)

    Then you have logic : on continue button selected, load slot "save"

    Try that. Note the global variable will be 0 every time you launch the app stopping any loop happening when you tap the continue button.

  • Now that I think about it, what are you doing here? It's a side scrolling game that fires a laser upwards and the bullet is a physics object? So it's like something from the game Worms?

  • I can come back with something but firstly do you need local storage because you mentioned saving the state of the game with system save/load. This can work well for checkpoints. If it has to be local storage then what kind of things are you trying to save for the player?

  • Applying a physics force will just push it, you need to set angle of the projectile toward target.x,target.y. The target isn't even mentioned here.

    Applying a physics force will just push it, you need to set angle of the projectile toward target.x,target.y. The target isn't even mentioned here.

  • You won't need the name of the object but you can create an object and set it to mouse cursor position. You didn't really provide enough information though.

  • Correct - signed apk not really for testing directly on device, only for publishing to store.

  • Our 2 person team still going strong with our mobile clicker game.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Your picking is a little off, you should pick the enemy in both the condition and action. So you say if enemy.x > player.x set enemy direction left etc.