Aquanex2's Forum Posts

  • Try adding a sub-event: System Repeat X amount of times.

    Helpful to upload a capx or screenshot of your events.

    I'll try your way and see where that gets me.

  • I changed it to an every X second condition, but that made them spawn at uneven intervals.

  • > Try adding a sub-event: System Repeat X amount of times.

    >

    > Helpful to upload a capx or screenshot of your events.

    >

    Okay thanks, I'll show you.

    https://www.dropbox.com/s/2kz7noqjoak7s ... r.png?dl=0

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Try adding a sub-event: System Repeat X amount of times.

    Helpful to upload a capx or screenshot of your events.

    Okay thanks, I'll show you.

  • I need to make an enemy spawn point that spawns enemies 5 seconds after you kill the enemy that it spawned. How do I do that? I tried using a wait command, followed by a function that spawns the enemy, but it just spawned a butt ton of enemies, and that's not what I want.

    Please Help! Thanks!!!!!

  • In its basic form, every 0.1 seconds > set layout scale to layoutscale-0.05 would zoom it out slowly. So it's layout scale basically to scale things up or down and make it appear as though you are zooming in/out.

    I tried it, and... It's a little... jittery. Is there a smoother way? If not, then I'll try to make it work.

  • I was wondering if it was possible to zoom out. Not in C2, but in an event that zooms out the camera mid-game. If it's not, that's fine. Any help would be nice! Thanks in advance!

  • >

    > > Nice idea! I also saw that rex_rainbow made a revive behaviour. Haven't tried it yet, but would that work as well?

    > >

    >

    > I just tried rexrainbow's revive behavior, but encountered an error message after adding it to my enemy sprite from the example capx file I posted earlier.

    >

    > I'm not sure why the error occurred, and eventually I couldn't proceed with the revive behavior.. but I feel the revive plug-in would be the best way to have enemies respawn once they're destroyed outside of the screen (and respawn from Player.X + 500 or so.)

    >

    I'll try it, thanks!

    I'm not currently working on it right now, but I thought of an idea that could work.

    I could set a variable for every enemy called StartX and StartY.

    At the start of the layout, set the value of every enemy's StartX and StartY to their starting position.

    And reset their position when they go off screen.

  • > Nice idea! I also saw that rex_rainbow made a revive behaviour. Haven't tried it yet, but would that work as well?

    >

    I just tried rexrainbow's revive behavior, but encountered an error message after adding it to my enemy sprite from the example capx file I posted earlier.

    I'm not sure why the error occurred, and eventually I couldn't proceed with the revive behavior.. but I feel the revive plug-in would be the best way to have enemies respawn once they're destroyed outside of the screen (and respawn from Player.X + 500 or so.)

    I'll try it, thanks!

  • > If you've ever played Mega Man, or a lot of the old NES games, if you went off screen, the enemies came back and you'd have to kill 'em again. Annoying, yet I would like something like this in my game.

    >

    > Even if you haven't played a game like that, if you know how I could do this, I would appreciate the help!!! <img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green">

    >

    This is what I would do. <img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green">

    https://www.dropbox.com/s/eqcdubg4ivv8p ... .capx?dl=0

    The enemy sprites are set to be destroyed once they go outside the layout, so please walk right to see more enemies spawning.

    Once you reach the far right, the enemies won't spawn again, because a newly spawned enemy will be destroyed right after spawning (due to 'destroy when outside the layout behavior'..)

    Nice idea! I also saw that rex_rainbow made a revive behaviour. Haven't tried it yet, but would that work as well?

  • If you've ever played Mega Man, or a lot of the old NES games, if you went off screen, the enemies came back and you'd have to kill 'em again. Annoying, yet I would like something like this in my game.

    Even if you haven't played a game like that, if you know how I could do this, I would appreciate the help!!!

  • Aquanex2 Separate the Camera(Scroll To) from the Player. Then don't make the camera dependent on the players position when vibrating. Do you need a tutorial or can you make it yourself?

    Sorry for responding 5 days later... I think I can do it myself, but if I need help I'll ask.

  • You can set up a really fast sine behaviour I guess, one that moves a very low number of pixels left to right very quickly.

    The object that is vibrating is a platform that my player lands on. While the platform is vibrating, the whole screen shakes around, probably due to the scrollto behaviour. How do I stop this?

  • You can set up a really fast sine behaviour I guess, one that moves a very low number of pixels left to right very quickly.

    I'll try that! Thanks

  • I need to make an object look like it's vibrating, but I'm not sure how to do that except by making an animation for it.

    Any thoughts?