lionz's Recent Forum Activity

  • If they are constantly updating then you can keep clearing the variable values for all enemies then use for each (ordered) by X that means from left to right across the screen to renumber them. Or you could trigger this whenever an enemy dies, or some other way.

  • Yeah that looks fine if you are spawning different bullet objects :)

  • And the events for the damage?

  • Depends on what the events are for firing. For example if the global variable is now 2 and fires ice then you change the damage variable under the events for GV=2.

  • > You could have a global variable number and add 1 to it when you press right, subtract 1 when you press left presumably. Then in other events you have conditions GV=1 - set ability 1, GV=2 set ability 2 etc. If you have bullets shown in game, based on GV you can set the animation of the bullet and damage stats etc.

    If possible could you show an example of this?

    dropbox.com/s/pyxsk38qlbzc1mw/change%20ability.c3p

  • The explanation isn't great and we can't see what you're seeing so have to imagine it. Guessing though, you could give enemies an instance variable numbered 0,1,2,3 etc and use a global variable alongside it. Always point the view at the enemy where the instance variable matches the global variable. If you're moving left/right with the keyboard you can subtract/add 1 from the GV. So if GV=1 it points at the enemy where enemy.variable=1

  • There's a pick nearest condition, use that and then the distance(obj1,obj2) expression.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you really must turn off that condition then sure use a variable so the enemy can't be picked.

  • That's just what it does if you opt in to use the beta releases I don't think there's a way around it. You must be going to the launch page too much if you find it frustrating, just keep the editor open.

  • What you're describing is a multiplayer game, no? You need to build one, check out the example projects that come with Construct there are a few multiplayer game examples.

  • Multiplayer plugin, check the manual

  • Nope but I'm interested to know what the duplicate events are for tilemaps sprites and 9patches

lionz's avatar

lionz

Online Now

Member since 5 Aug, 2013
Last online 19 Jan, 2025

Twitter
lionz has 72 followers

Trophy Case

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

24/44
How to earn trophies