kristithechocobo's Recent Forum Activity

  • That sounds like it might work. I already did something similar in another project.

  • I'm not sure why I thought of arrays. I mainly want the candles to appear scrolling across the screen in a random order.

  • I started a new project called "Don't Light the TNT" where you light candles as they scroll by the screen getting progressively faster every 30 seconds and every so often a stick of TNT is thrown into the mix and if light the TNT KABOOM! Game over.

    I'm nor sure if I need to just user ordinary variables for this or an array. Any suggestions?

  • The hits variable must be instance variables of the enemy.

    then you can have an event like

    Bullet on collision with another object(enemy) > Enemy , add to 'Hits' 1

    -(subevent) Enemy.hits >= 2 , Enemy > Destroy

    The collision event already picks the instance that has collided, so if you destroy the enemy inside that event, it will already destroy the right instance.

    It works! Thank you!

  • Basically I already figured out the variables for this. ex. When Hits=2 destroy sprite.

    What I want to ask is how can I set it up so that way when I blast one of these sprites once it doesn't destroy another sprite of the same type when I hit that one for the first time?

  • I hope I'm not being rude jumping in like this but I do have a similar question regarding arrays and databases but with sprites while keeping the memory usage under check too.

  • codah: Don't worry I was able to figure it out, turned out it was just the angle of my sprites. A little rotating did the trick.

  • > codah: I'll give it a try. I'm using the Drag and Drop behaviors and I just restricted it to up and down I'll see if I can get the fireballs to spawn on release.

    >

    > Could you provide an image please? I'm kinda of a visual learner.

    >

    > : If I need more help I'll just post here so others can get help as well.

    >

    > Edit: I've managed to get the fireballs to spawn on release, but they are shooting up not to the left. Any suggestions?

    >

    > Edit2: Okay now I have the fireballs going horizontal but they're going behind the baby dragon and not to the left.

    >

    > Edit3: I figured it out just had to rotate my sprites a bit.

    >

    So, everything is working fine now?

    Took quite a bit of trial and error and a grilled cheese sandwich but yes I managed to figure it out.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • codah: I'll give it a try. I'm using the Drag and Drop behaviors and I just restricted it to up and down I'll see if I can get the fireballs to spawn on release.

    Could you provide an image please? I'm kinda of a visual learner.

    : If I need more help I'll just post here so others can get help as well.

    Edit: I've managed to get the fireballs to spawn on release, but they are shooting up not to the left. Any suggestions?

    Edit2: Okay now I have the fireballs going horizontal but they're going behind the baby dragon and not to the left.

    Edit3: I figured it out just had to rotate my sprites a bit.

  • Another game I have in the works is where you're a baby dragon fending off knights from your cave and to do this you spit fireballs at them while not spitting fireballs at the prince or princess since they give you power-ups. you drag the baby dragon up and down the screen to line it up with tunnels where the knights, princes and princesses spawn.

    So my questions:

    Can I still use a drag and drop feature even if tapping the dragon will cause the fireballs to shoot out?

    how can I make the fire balls spawn in front of the dragon?

    thanks.

  • I'm trying to use the Array to generate random sprites for a sandwich making game where in the corner a random sandwich appears and you have to drag and drop the fillings to the bread in the correct order.

    can anyone help me?

    File Download: https://www.dropbox.com/s/qlc771k26gppf ... mple2.capx

  • No I don't.

kristithechocobo's avatar

kristithechocobo

Member since 8 Apr, 2014

None one is following kristithechocobo yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies