lionz's Recent Forum Activity

  • This is a common issue where multiple animations are trying to play at once. You have to use conditions that make sense to ensure that none are played at the same time. For example here you are trying to play 'attack' and 'walk' at the same time, so you have to add a condition on the 'walk' event such as 'attack animation is not playing', this allows attack to play and then return to walk once finished instead of trying to play walk anim at the same time.

    edit : I misread the animation it's 'hit' when an enemy gets hit by something but the same logic applies, you add to the walk animation event a condition like 'hit is not playing'. Also the ogre should die because receiving damage should be separate from the animations, such as 'bullet on collision with ogre then take damage' rather than on hit animation played.

    For falling through the floors and strange bugs around that, take a look at the collision box of the ogre in the image editor, make sure it's a box and not a random shape based on the image.

  • Well there's a sandbox environment specifically for testing these things before you submit it for review or before releasing to production. You download it from a test link. That's on the Google side not Construct, it's part of the process.

  • In general what you are looking to do is compare text with an expression - find(array value, text input) will look to see if the text input value exists in the array text.

    You would use system compare two values - find(array value, text input) is the first value and then you would say 'not equal to' and -1 is the second value, this now returns true if your text entry is contained in the array value. You would replace array value with array.at(loopindex) when it is put inside a loop to run through the rows of the array.

    On the action side of the loop to filter the elements it depends how you are using the array and selecting its elements in the game. You could delete the row if it doesn't match, this would mean changing the condition above to 'equal to -1', then you would be left with only matching values.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't think you need to wait for approval to test that?

  • Add an extra condition like 'pick nearest to character'

  • If the attack animation is one frame then it would be like it is attacking and walking.

  • Do you mean restart from when it was last saved? Usually it would load the game in the same state it was before, if enemies weren't following the player when it was saved then they shouldn't be on a load. There's no way for us to guess why that's happening either, you would have to share the project.

  • You can put Scroll To behaviour on all teammates but disabled for all AI. Then when you die, you can enable each Scroll To behaviour in turn which would focus on that teammate object. You jump from each teammate enabling their scroll to while disabling the others in sequence by using a numbered instance variable ID.

  • System : every 1 second - add 1 to a global variable (score)

  • That file doesn't open. What you describe is fine but I'm wondering more about the method you said wasn't working, I don't see how it would be any different. With timer behaviour it counts down (1) and then you would say on timer : do something (2).

  • You should pick with the coin, change the overlap event to 'coin on collision with player'.

  • The global variables will not retain the value when you close the app, my point is that you only need to grab the values from local storage one time because you set them to a global variable while the app is running. You want to minimize the chance for bugs happening, load from local storage one time in a session not every time you change layout.

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