lionz's Recent Forum Activity

  • The subhealth is reduced by a different amount, what amount? You must know as you said you have it working in a longwinded way.

  • Allow the initial load of the array to happen only when a global variable is 0 then after the load event set the global variable to 1.

  • So you are using the array's load action on start of layout and both layouts are linked to the same event sheet?

  • Do you have events that set an array size or reset data on the event sheet?

  • If both layouts are linked to a single event sheet and on that event sheet you empty/fill the arrays or set values for the start of the game ' on start of layout' then it would do the same thing when you change to any of the layouts. That's all I can think of because arrays are set to global by default and should retain data.

  • The issue is with the collision box of the robot. Bring it the bottom of the robot image on the run animation and then apply to the whole animation. At the moment the collision box is kind of floating around there.

  • There is a manual for all the behaviours under Learn tab at the top. The best way would be to share your basic C3 file and let someone debug the problem if you said this was happening in a new project.

  • Every tick is not ideal but it shouldn't really be causing this issue, it's strange. add a trigger once to LOS event, move the simulate actions out into their own events and see if it fixes the issue.

  • Likely nothing to do with that event. You probably have another event somewhere that tells the enemy to set animation to idle and that's interfering with run.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Should I disable these until they come into view? That depends on the game design but generally if they are not needed then they don't need to exist there, you can create them when they are needed.

    And if so, how would I do this? There is a condition on the enemy object 'is outside layout' you can use this to pick the ones outside of the layout and disable them.

  • I'm not sure what the attempted shortform is but I would do it with a second event and condition, if bag clicked and bag.animationframe=bag.animationframecount-1 set frame to 0.

  • There is an option in animation editor for Loop, set it to Yes.

lionz's avatar

lionz

Member since 5 Aug, 2013

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