kristithechocobo's Forum Posts

  • I'm making a drag and drop game where you have to drag and drop items to certain targets. I'm using the drag and drop behavior but I need the items to respawn after dragging them away.

    If anyone can either direct me to a tutorial or make one for me (preferably with visuals otherwise I'll be a deer in headlights) that would be fantastic.

  • Basically I get the feeling this is like an on and off switch but I can;t seem to figure out how exactly I execute this.

    So anyone have a sample or can direct me to a tutorial?

    thanks.

    and preferably with visuals too please.

  • I'm almost done with my dragon game and after dealing with the previous sprite stampede with help from a friend, another, even worse sprite stampede has surfaced.

    I attempted to add a feature where every 100 points scored the sprites would increase speed, which caused the even worse sprite stampede so I removed it. But even still it occurs around after scoring 30 points.

    If anyone can help that would be awesome and please include screenshots otherwise I'll just be a deer in headlights.

    File: https://www.dropbox.com/s/88tg2d2ajakcp ... .capx?dl=0

  • Thanks, I was also able to get help from a friend as well.

  • I'm sorry all this went over my head.

  • Basically I have the minute and second timer running but I can't find a tutorial on how to stop the timer once the game is over and how to display it as the score on the score layout.

  • You have defined the spawn times by a tick count. The ticks are being calculated before the gameplay layout is set active. This means, even before you are in play mode, your enemies are spawning. You can easily fix this by adding a family with all the enemies, arrows and the prince/princess and on start of layout, destroying them. That way, the level will start fresh.

    How do I add a family? If possible can you add an image too please? Thanks.

    Edit: Just figured out how to add a family via tutorial.

    Edit2: I just added the "destroy family" event on a start of layout condition and the sprite stampede is still happening.

  • Hey guys, I'm making a lot of headway on my game Dragon Vs. Knight and I have a quick question.

    Has anyone who has made a game where you have to shoot at targets coming to you have this happen: when you open up the game after going past the title and how to play screen have all the target sprites rush at you all at once and bam instant game over?

    In my game this only happens if you're on the title and how to play screens for a while, but if it's only for a few seconds it doesn't happen. If anyone can tell me why this is happening and how to fix it that would be great.

    Thanks!

    Dropbox Link: https://www.dropbox.com/s/wmjtwsz19krcv ... tHelp.capx

  • I need some help with using arrays for my sandwich game.

    In the game four of 16 sandwiches randomly appear next to a plate and you must tap the fillings in the shown sandwich in the order they are in the sandwich from bottom to top. I'm getting some help from a friend but at the moment I am at a total loss as what to do on how to link the arrays which will store the filling sprites.

    Also I need to find a way to set the animation on the array that displays the sandwiches at random so they show one sandwich at a time and not scroll through the random 4.

    And for those who can help, please provide visuals, otherwise I will just be a deer in headlights.

    Here's the dropbox link: https://www.dropbox.com/s/man4cy01q4p73 ... rHelp.capx

  • Okay it's working, and would I do something similar when I want the sprites to turn into flames (which is sprite 1) when the fireball collides with them?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Let's assume your baby dragon is an animation composed of 3 different frames of 3 different colors (one for each number of lives). Set the speed of this animation to 0 (so frames don't go by and a single frame is displayed).

    In the condition "Fireball on collision with baby dragon" (however you made it in your project) make sure to remove one HP from your dragon (probably in its instance variable HP) and then add subevents checking out what is the current value of this variable.

    According to the value, set the appropriate frame.

    You're likely to have a more precise answer if you post/attach your current project to the post asking for help, since it's not easy to guess out what you've made so far.

    Okay, I've included my file. It's kind of like an arcade game where you drag and drop the baby dragon to release fireballs at soldiers who are intruding in your cave but letting the prince and princess come to you as they will restore your ammo. And unfortunately I can't include the file to their post due to size so here's a dropbox link: https://www.dropbox.com/s/kn4ap8xz1sl2a ... Beta4.capx

  • I'm working on my Dragon game and I was wondering if anyone knew how I could change animation frames only under certain conditions.

    Mainly, when a fireball hits a target it briefly turns into a flame before being destroyed and when the baby dragon takes damage he changes color 3 lives=Green, 2 lives=Yellow, 1 life= Red.

    Thanks!

  • 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?