Xwing9's Forum Posts

  • 4 posts
  • Oh wow! That's a pretty clever use of the 'for each' condition. Didn't notice you could pick an order for it.

    Thanks for the help, it works perfectly! =)

  • Hey there.

    I'm currently developing a prototype for a tower defense game similar to Plants vs Zombies. Right now, tower placement and deletion works, as well as a basic shooter unit. However, I can't seem to figure out how to control the Z order of the units I create on the board.

    As expected, more recent units stay on top.

    I tried making the Z order be equivalent to their Y position on the board, but I can't seem to manipulate it further than moving higher or lower. None of the methods I tried to use worked. How could I make it so that higher units always stay on the back without a large amount of unnecessary layers for each lane? (The board may be much larger than this in later stages)

    Thanks in advance.

    EDIT: Oh yes, here's the prototype's .capx with my original attempt. The hitbox object is due to the unit's actual collision polygon being the tile, thus not being able to check for sprite excess.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well, it seems it could indaeed load more sounds. I was loading up a bunch of .WAVs, each with over 300 kb size. I rendered my SFX again as OGGs, mostly 30 kb each, and Audiere is loading them all. Not sure how many it will handle, though, I'll report if I hve any more problems.

    Thanks for the aid!

  • Really nice plugin you made. But I have a strange problem, apparently I can only load 3 sounds, either from resource or from file. The three loaded ones play just fine, but if I try to play a fourth sound, nothing happens. Changing the volume doesn't work either.

    Is there a memory or instance limit on loaded sounds? If yes, what is it, or where can I change it? Because the plugin also doesn't have any settings... ._.

    Thanks in advance.

  • 4 posts