lionz's Recent Forum Activity

  • Were you using Construct 2 last time? Construct 3 you have to create the function - click add on the event sheet actions.

  • What's the bug? That it doesn't seem to save and loads default data? Because you have two on start of layout event it might load the local storage data into Dictionary then overwrite it with Dictionary.json, the second event.

    Maybe you should be requesting Dictionary.json only if local storage item is missing, not on start of layout. Item missing means player never saved so load default json, item exists means player saved so load local storage.

  • You are creating 3 objects on top of each other at the same co-ordinates, you can check in debug view there will probably be 3 instances of the sprite.

  • Unless it is a trigger event, the event will run constantly (every tick), this is the case with loops. You can add a trigger once condition to the loop to make it run once, or trigger one time by some other method, for example if you added those loops as a sub event to the top condition 'on start of layout' they would only run once.

  • If it's a small number of instances and a one time thing you could use global variables, then the condition becomes if GV2,GV4,GV6 is true and GV1,GV3,GV5 is false. If the plan is to change the pattern all the time then developing a method with an array and slotting in a number pattern seems like the best way.

  • Same condition for the key press, the action depends how you are moving.

  • I checked the file and it's what I mentioned yeah your event runs constantly, so will the audio. You need a trigger event something like enemy on collision with player. It's up to you when you want to play the sound, but at the moment 'is attack' runs all the time, so will the sounds.

  • So there is a condition at 105 that enemy has LOS in that event which you've decided to cut off in the screenshot?

  • Yes no problem. The angle is not a problem, 360 just means a circle around the enemy. The problem is the tilemap is being detected as an obstacle for line of sight.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • First part is duplicate post I resolved on the other post. Second part usually the sprite is holding the spear as part of the animation, then you have a separate throwing animation. The spear could then be a projectile that spawns from the enemy.

  • You'll have to create the events 'on key pressed' condition with action 'simulate control' on platform behaviour for example if it's a platformer.

  • Returning to your original question and the design, you want it to create just 2 beams only. The question is when? Right now you create it constantly, when do you want it to spawn the beams? If for example it's every 2 seconds then you can add a condition every 2 seconds.

lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 79 followers

Trophy Case

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

26/44
How to earn trophies