Letaceo's Forum Posts

  • 7 posts
  • Hey all,

    I have a death counting system, which is meant to trigger the next wave after so many enemy deaths. However, if multiple enemies die at the same time, the trigger only goes up once, instead of once for each enemy that dies. Is there a way to make it go up for each enemy death?

    Thanks

  • Ah, there it goes. You're completely and totally awesome. Thanks so much!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I didn't know that you could change the sprite's angle without rotating, since I can do that, my method seems quite pointless, and a bit wordy in terms of lines of statements. Your solution for the angle/movement fixed the issues I was having with that. Many thanks.

    However, even though i removed the 'delay' object, and set it up the way you suggested, the health still seems to be linked :-/

  • Hi All,

    In my most recent game, I'm starting to use containers for more than one object for the first time. As such, I'm having some issues with getting them to behave correctly.

    I've got an angle checker for angle between enemies and the player character. Depending on the angle, the enemy will move in a specified location. The reason I'm doing this instead of just having the enemies track the player directly and move at whichever angle is most direct, is because I want to make them move as if they are on a track, IE, just at right angles. This method works brilliantly for one instance, but whenever I instantiate more enemies, they SOMETIMES don't move at all, for seemingly no reason.

    Also, I have a private variable for health, and it isn't acting as it should. Instead of each enemy having 2 health, the enemies collectively have 2 health. I may be doing something glaringly wrong, but I can't see what the issue is if I am <_>

    To summarize, my issues are:

    Oddly behaving enemies when there is more than one instance of them.

    Oddly behaving health variable.

    Cap file: http://files.me.com/steven.foskett/scml4y

    Thanks!

  • That completely solved it. Many thanks.

  • Hi All,

    I'm trying to create an enemy that has a custom firing range for each instance of aforementioned enemy. For example, I only want Enemy A to fire a missile whenever the player is within range of it. The problem I keep running into, however, is that if the player is within range of Enemy A, the firing behavior is triggered for Enemy B, C, and D.

    Is there any way I can do this without creating a unique enemy object for each enemy I want to place in my level?

    Thanks

    -Letaceo-

  • Hi all,

    I'm relatively new to Construct and I haven't really forayed into the world of Sound until this week. I am trying to play sounds from resources which I have added to the project directory via right click. However, when I try to do so, the drop-down which is supposed to show all of the resources available is empty.

    Is this user error?

  • 7 posts