CinderFlurry's Forum Posts

  • Hello! I'm just wondering how to make a chest that explodes and then coins fly all over the map!

    I already have the whole thing set up. Stand on one of those TNT ignite things, one second later.. BOOM! The chest explodes. I have all of that, so don't worry.

    What I'm wondering is, how do I make the coins go everywhere?

    I had all the coins on another layer on top of the chest with four boxes around the coins to prevent them from falling all over the place due to the physics behavior.

    Then I made the boxes invisible and the coins invisible also.

    Then I created an event that says, once you step on the TNT Button, an explosion animation plays on the chest, the four invisible boxes are destroyed, and the coins are turned visible.

    Sounds good in theory, but it doesn't work as intended.

    It's all well and fine until the boxes disappear.

    After the boxes disappear, the coins are like "We're free!!!" and they start going above one another until they form a giant coin skyscraper, eventually falling like the leaning tower of pizza until it actually hits the ground. It's because they're all Physics Behavior, so they can't overlap one another.

    Works I suppose... But I don't want them to stack up like that. I want them all to just explode out of the chest, going everywhere!!

    I suppose I could put each individual coin on a layer on its own, but that's a pain in the butt to do...

    Any theories on how to fix this?

  • Got it! It works now ^-^

    For some reason, everytime I reply to a thread, it doesn't come up and I have to do it twice -.-

    Thanks for the help, I updated Construct and now it works all of a sudden.

  • But that's literally all there is to it ^-^

  • It's up there ^

  • Like I said up there ^ I want the player to be able to swim by only pressing the jump button. I even provided a link.

    I already have the animations, it's not that I need help with. I need to know how to make it so that everytime you press the jump button, you go up a bit. Just like in the link I put in the original post.

  • Where do I put the condition? I don't think it'll work with one anyway.

    The problem I'm having is that even though i've evented the bullet's angle of motion to be 180 degrees, it still travels right. If I change it to 0, it still moves right. I need it to go left.

  • Bump bump!

  • Bump! I would really appreciate the help ^-^

  • I can't for the life of me figure out why the bullet is going right when I set it to 180 degrees (left)

    I have the events set up like this

    Event:

    System | Every 2 Seconds

    Added Conditions:

    Enemy | X is animation "Reload" playing

    Enemy | Is animation "Shoot" playing > Spawn bullet on Layer 2 (Image Point 1) > Set Bullet angle of motion to 180 degrees

    Next Event:

    Bullet | On collision with wall > Destroy

    Next Event:

    Enemy | On animation "Shoot" finished > Enemy set animation to "Reload"

    Enemy | On animation "Reload" finished > Enemy set animation to "Shoot"

    I removed the idle animation as it is not needed. It is simply Shoot > Reload > Shoot now. Please help me fix the bullet issue!

  • Sorry for being a beginner I guess. I'll try that stuff out.

  • How do I get the enemy to spawn a bullet? What behaviors do I need to add to the enemy? What are the properties I need to give to the bullet sprite? What behaviors do I give the bullet? How do I make the bullet go the way I want it to?

    Help me out a little : P

  • ">Swim" ?

    How do I do that

  • "How do I make an enemy shoot"

    Then i proceeded to tell you how the enemy works. Does not look around, does not move at all.

    I want to make it shoot in a straight line either left or right.

    If it's bullet hits a wall, then the bullet with disappear.

    It has a shooting animation, an idle animation, and a reload animation.

    I think I explained it pretty well.

    One thing I failed to mention however is that I would like it to shoot ever 2 seconds or so.

    To put it simply, I need a way to make the enemy shoot after the "Shoot" animation, to "reload" after it's shot, and to idle in between shots. I also need to figure out how to make the bullets appear every 2 or so seconds over and over again.

  • That doesn't really help me at all (^-^;)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • We've all played Mario, right?

    Well, you know how when you go into the water and you're able to swim by constantly pressing the jump button?

    I'm looking for a way to do that.

    So, I need to know how I can make the player go into a body of water and be able to comfortably swim by jumping over and over again.

    If you don't know what I'm talking about, take this link to a video of Mario swimming!

    Subscribe to Construct videos now

    Thanks in advance!