lionz's Recent Forum Activity

  • It does work that way, that's why I'm trying to understand the problem here. When the loop stops it runs the sub events once more, but it would only run it if the condition is true, it would mean the value to stop the loop is found at the end of the array.

  • What is height-1 value of the array and what is the value printed for loopindex on the middle event? Are they the same? When you stop the loop it will run the sub event and if the condition is true then it will run the action.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • On button clicked is for a click anywhere, you need to use on object clicked and select the bush object.

  • Because the collision box is small for the second animation. Set them all to the bounding box and you should have no problems.

  • When you click on the instance you are getting all of its data, but you must store it somewhere as I mentioned so on the actions right-side of the event sheet you can set a variable to object.name which will be the name variable of the one you just clicked.

  • When you click the bush it gets the variable from it but you need to store it somewhere to compare later. Then you can pick all instances again and limit them by where name = variable and destroy them.

  • If you use the mouse object condition 'on object clicked' it will pick the instance you are clicking, then as an action you can set a variable to object.name and you have it stored.

  • Do you mean it is in the layout in editor and then it appears during run time? That's intentional but you can destroy it on start of layout.

  • I did it with a box in my game. Have you heard of Command and Conquer or games like this? You click and hold and drag a box around units to mass select them. That's what I was thinking of when I saw the question. If you have your own idea on how to group the letters then let me know.

  • I just used something like this to select squad members in an RTS, it might not be what you want for this game. But if you want to create a box to cover some tiles, create a sprite on mouse click then in a separate event every tick set width to mouse.x-sprite.x and set height to mouse.y-sprite.y.

  • Repeating?

lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 73 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