lionz's Recent Forum Activity

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

    • Post link icon

    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.

  • Try Construct 3

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

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

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

  • The variables you're pulling out appear to be "0" "1" and "3" but you can't set those to be an int with the "" present, so they just become 0. A possible fix is to remove the "" around the numbers in the room variable, I think they're unnecessary anyway?

  • You said hitting a brick wall but not really what the problem is haha. Do you just mean the animations are not working as expected in all scenarios? This could be a problem with another set animation action overruling these ones. Do you have other logic elsewhere to set an animation on the pathing object that could be interfering? If not this then there could be a problem with the object angle, check that it is changing for the pathing object by using debug view.

  • In speech synthesis action instead of the 0 use loopindex

lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 79 followers

Trophy Case

  • 12-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

25/44
How to earn trophies