lionz's Recent Forum Activity

  • If you're asking what I think you're asking then no it's not possible..

  • Set it so that on path found, move along path as standard. Then every X seconds find path to player, it should pick up the new location of the player at that point. I could do a simple capx with 2 events to show you that it 'should' work so something has gone wrong in your game logic. In what way is it not working? That'll be the key to finding out where the logic has gone wrong.

  • This can be easily resolved with a shared capx. Without it, just guesswork.

  • My head exploded. I will just say 'always families'...

  • Post a screenshot of the logic for the if variable / go to layout events.

  • Check out the localstorage tutorials. You save the variable to localstorage at the start of the intro or whenever it changes. When you load the game, you load that key from localstorage and it remembers it as 1, rather than the initial 0.

    https://www.scirra.com/tutorials/1461/h ... age-plugin

  • It looks like you know what you're doing so I can't determine where the problem is, unless you're talking about localstorage and saving this variable when you close the game?

  • Don't check if the array size is equal to 0 until you've started populating it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What do you mean when you say it is working when browser is open? Doesn't sound like localstorage has worked at all here and you will need to double check your logic from the tutorial.

  • Well the variable will always be 0 on load, unless you're using localstorage to save and load it. If you're talking about within the same game, then returning to the main menu and comparing the variable should work and so there must be some broken logic somewhere.

  • Yeah I'm asking what your role is in the team.

  • Often people will use CSV format for this then use the CSV plugin to import the data into the game. Not got a lot of experience with using this method but there should be some info around. In terms of the array, you never need to set a specific size, you can 'push' items into an array at the back so in reality it has an unlimited size.

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