lionz's Forum Posts

  • On start of layout - repeat 9 times, system pick a random instance of 'trigger' and spawn 'collectible'.

    To stop it picking the same one twice you can use a variable on 'trigger' to mark it as used, so then the above would be pick a random instance of 'trigger' where used=false : spawn 'collectible' and set used to true.

  • You could say while player is off screen disable pathfinding and have the enemy move towards you with a bullet behaviour, or move to etc. And when you are both on screen then do pathfinding. I think it fails because pathfinding only works within the viewport so they won't find a nearest path that includes wrap.

  • To select the random enemy use system pick a random instance of enemy. Use a variable on the enemy to enable when it's selected and the AP is reducing. Then you compare if enemy.variable=true and enemy.AP=0 then run the random pick again.

  • Ok so you had an event that runs to delete that object so probably that's why it is deleted immediately after the load. What do you mean by load is failing ?

  • You want the pathfinding behaviour

  • But you said you moved them to stash after saving ? Do you mean the inventory does not look the same as when you saved it, after a load ? Check your events like on start of layout and such that might delete objects.

  • Ignoring the error, what is actually broken ? Is the game the same as when you last saved it ?

  • Your intention was not to spam and this mission failed

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • System compare two values, first value XP/500 and second value whatever you need.

  • To pause you can set system timescale to 0

  • You are looking for the 'Persist' behaviour. Add this to the enemy and it will retain its state and values between layouts.

  • You do not have permission to view this post

  • Remove the event for 'on start of layout' and play the music one time only, such as have a variable condition 'if var=0', play music, then set the var to 1.

  • I think it means 'asynchronous' so the event will run separately and not block or wait for anything else.

  • You are entitled to your opinion of course but after using Construct for 10 years I never once thought this highlighting of the objects is spoiling the work experience. Also you might be the first person to ever mention it so I don't see how it has as big a negative impact as you say.