lionz's Recent Forum Activity

  • Okay, you said the problem was with the width event. The timer issue is because you don't pick an instance again in the timer function, so it picks all of them. You need to specify which instance you want to restart the timer, possibly by picking one the player is overlapping or again nearest to.

  • please share the events and the outcome (game window showing the problem)

  • Should work :) try picking the bar on the left instead of the mineral anyway since you are essentially finding the nearest bar, but if they are in a container it should still work.

  • Shouldnt your width condition be pick nearest mineral to character, why is it picking the nearest to itself? Either way you would add a 'for each' character.

  • When you haven't picked the instance then it will pick all. Looks like you are picking one object with conditions then applying it to a different unrelated object with the action. When you want to pick a specific instance of an object to destroy you need to pick it in some way. When you pick the green thing then apply actions to the mineral they aren't related.

  • To resolve the game layout you can use either global variables which are good for player stats as they are preserved between layouts, or you can use persist behaviour on objects which means when you return they keep their variables, position and such. You don't need to save the game then reload it between layouts.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Can't really open it as construct 2 and argh plugins, but what is 'they' when you say they reset? A layout can reset without loading a save file, there should be a way to do what you are trying without save/load.

  • We would need the photos of the events otherwise there is nothing to help with here. Creating an object at random is fairly simple though, you can create an object at an x,y co-ordinate and for the value you can put random(x,y) which chooses a value in a range.

  • It is not normal to go to a shop then after exiting load a previous save, doesn't make too much sense, but I can't see how your game works or why you would add this. You should be able to go to the shop and back to the game without doing any of this save/load

  • You should add an event 'pulse is not overlapping marble' and use action 'stop animation'

  • Why do you need to load an old save when returning from the shop? You can save to the same save file after the shop.

  • You can set some kind of state for the player with a variable, when enemy has line of sight switch it on and when no line of sight then switch off. When it's on have him chase the player etc

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