lionz's Recent Forum Activity

  • hiya, you can use a condition so when you get hit during the 1.5 seconds, for example set a variable to 1 then back to 0 after 1.5. Then under your damage event you add the condition when variable = 0, so when variable is 1 during that 1.5 seconds you cannot be damaged.

  • Possibly creating many particles every tick without realising. Possible the particle effect uses a lot of memory so a few on screen kills the FPS. Possible that the particle effects are never destroyed so many are on screen. Particle object is not recommended for mobile game anyway.

  • I notice in that tutorial there is nothing that tells the monster which detector to use, so I guess what's happening is the logic sees that a detector is failing to collide with the ground, and then issues a command to turn around to ALL monsters. The tutorial seems to assume you only ever have one monster and one detector, but since I didn't try building it myself I might be mistaken about something here.

    You could try using a Container to automatically spawn the monster and a detector at the same time. That way each monster instance will have its own detector instance. It should be easy to try out, and might just work without further changes to your events. If you haven't used containers before, they are explained in the manual here:

    https://www.construct.net/make-games/ma ... containers

    There are some tutorials out there for them too, I'm sure. Good luck!

    Yep you got it. Also I think all of the detectors are attached to the one monster. Event 1 seems to imply that every detector you spawn would be set to the one monster object with the lowest UID. So when detector is not overlapping, move the monster, well all the detectors are in the same place and all it takes is for that overlap to stop happening to affect all enemies. It's not a fantastic tutorial as it doesn't explain or utilise picking, the detector sprite does not relate to its own monster and breaks if you add more than one monster (you would expect more than one to be on screen in the classic style game he is describing). If you are going to do monster walking in this style then you would need to put detector in a container with the monster as you mentioned, or relate them to each other in another way such as matching IDs or variables. I would do it a different way though, have 'sensors' at the end of platforms that send the enemy in the opposite direction on collision.

  • round(position.y) is specifically the closest integer

  • You can set it to floor(object.y) which rounds it down or ceil(object.y) which rounds it up.

  • Well i took a look at the games you mentioned, it is just an animation played at certain angles, which is how top down games will usually work. You use the 8 direction behaviour and the player will be facing a certain way, the sword anim will play according to that.

  • What is not working?

  • You use Construct 2 to import spritesheet and play the animation. You create the sprite animation elsewhere.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Mmmm nice waves

  • Ah right so you were concerned about duplicating a bunch of events, yeah Families are probably the way!

  • Yep that could work..

  • It's not totally clear what you mean. How did you make your char select? It's a multiplayer game? They are using platform behaviour? You want one char to have default controls while another uses other keys? All characters should have the same controls (not sure how that would work for a game)?

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