lionz's Recent Forum Activity

  • In the properties of the behaviour check you didnt disable it, is Enabled ticked ? And in 'debug preview' you can click on the player object and see if the behaviour is enabled during the game.

  • It is a Construct thing yes with picking. When you pick the first sprite by var=1 it narrows the pool of sprites to pick from to that one only, so it won't find the other sprite in that same event.

    There is a way to do it in the same event but it can sound a little convoluted, after picking sprite.var=1 has 0 health, in the next sub event you can use 'pick all sprites' again to open up the pool of sprites to all, then in the next sub event you can pick sprite.var=2 has 0 health as well so then when you hit this end condition I think you will have what you wanted.

    Also an important thing, I don't think it will work anyway with system conditions for picking instances. Use the actual sprite object conditions and not system.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • With a container when you pick one of the objects in the container it picks the others too so you would only need one variable on one of the objects for it to act as one sprite as you described.

  • The customer gets destroyed just for ordering food how harsh T_T

  • If the icons are always in the same place then should be easy with the variable setting.

    If they are displayed in a queue then sure maybe an array is better and you display the buff at 0 in first position and at 1 in the 2nd slot etc then if buffs time out and you delete the row then they would move down.

    You can add a line of buff icon objects and match buff icon animation to the buff name at the array position. Many ways to do this and ultimately depends on how buffs work in terms of design.

  • If i'm understanding it correctly as an enemy status you can use an instance variable on the enemy object or family such as isBurn=yes. Equally if it is a case where the player inflicts burn you can use a global variable.

  • Remove curEnemies < 0 condition from the Else, if curEnemies is increasing then I don't see how it could be 0

  • Event 254 controls the quantity text and there is a condition for don't update if the amount is 0. With event 199 disabled I think we can delete 199 and tweak 254 to display what you want if the amount is 0 i.e. display ""

  • Fair enough but did you need to post it 3 times?

  • Did you set up a gamepad or keyboard scenario and disable the other controls when one is in use? What you are describing is when two animations are playing at the same time. If you can't work it out please post the events.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
lionz's avatar

lionz

Online Now

Member since 5 Aug, 2013
Last online 10 Aug, 2026

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