electrii's Recent Forum Activity

  • Hey again,

    Let's say I have a group of cloned enemies, and I want to perform an action on a random one every X seconds. how would I go about that?

    Also, a question about "swarm" behaviour - if I have a basic AI routine for an enemy, and I place a bunch of them around the player (in a platform game), they all act at the same time instead of individually. I thought placing "for each object" in the events would the trick, but it didn't seem to help. any ideas?

    Thanks

  • thanks.

    if anything, what I did so far made me much more familiar with construct, so i'd probably be able to make everything better if I start from scratch.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The new version is hot! I love the new platform movement.

    Now I have to rewrite my game though

  • Rich, you're awesome. I removed all the families from my file and it's back to 300k!!

  • Sweet. i'm guessing it won't be able to un-bloat files though, eh?

    I guess i'll wait for the update before I go on.

    By the way, the exe created from a bloated file is normal-sized, but it's still an annoying bug.

  • Thanks! that doesn't work 100% on my end (due to it conflicting with other events), but it does give me an idea how to work it out.

  • Let's say I have a physics box with rotation turned off. when it's X velocity is less than -1, I want it to face left, and the opposite for right.

    "Set angle" doesn't cut it here, any other ideas?

    I know I could slap another sprite on top of it to handle the animations, but what if I want several instances of the same box? how do I attach an individual (but the same) "skin" to each of those boxes?

  • So there's no way to know what triggers it? if that's the case, there's no point working on my old backup since I won't know how to avoid it..

  • I just added a few events and a small sprite, and all of a sudden the file size jumped from 300kb to 8.5MB!!

    What could cause this?

    Edit: it seems that every time I save, the file gets bigger - the progress bar hangs at 85% while the file gets bloated. crap, my last backup is pretty damn old..

  • Sorry for the late response.

    Anyway, I did do some streamlining on your code though, I can send you a commented .cap of the changes if you like. For instance, I was able to condense your animation sheet down to just two events, and your dust spawning effect down to just one.

    That would be great! I'd also love a way to reduce the bounce a little, it's proving to be a bit more bothersome than I thought it would be.. I don't care about how it looks, it just makes landing and immediatly jumping less responsive than i'd like.

    You would of course get full credit if I finish this

    Also, I doubt the detector is the problem, since it still recognizes when to switch to the correct animation..

  • I see, thanks!

    My engine is coming along beautifully, I'll be sending a donation your way as soon as I can <img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" />

  • I thought i'd bump this thread instead of starting a new one.. so how exactly do I play a sound effect?

    Am I supposed to load each sound into a channel then play it or is there a more straightforward way?

    When I try to load an .mp3 into a channel, the game crashes.

electrii's avatar

electrii

Member since 17 Feb, 2008

None one is following electrii yet!

Trophy Case

  • 16-Year Club

Progress

16/44
How to earn trophies