Justin1967's Forum Posts

  • Wave Generator — Now for sale in the Scirra Store!

    https://www.scirra.com/store/game-making-tools/wave-generator-3072

    <p>Description</p><p>Fancy attack waves like in Galaga? No variables, no mathematical formulas, no complex coding.</p><p>All you need is just a little bit of imagination.</p><p>Circular, zigzag or any other complex patterns can be made with Wave Creator and saved for later use for your Construct 2 project.</p>

    Use this topic to leave comments, ask questions and talk about Wave Generator

  • I updated the link.

    Hold down the left mouse button while drawing the path for a single attack wave.

    Hold down the right mouse button while drawing the path for a double attack wave. (Like in Gyruss I love that game)

    All data is stored in the array. Let me know if this was helpful.

    Greetz,

    Justin

  • So here is the link:

    https://app.box.com/s/1md304bnnrgb3i7wguu7kyrzvf8kt2hj

    Just hold down the left mouse button while drawing the path. When done release the mouse button.

    Greetz,

    Justin

  • Hi chadorireborn,

    I tried Pathfinding but it doesn't give you much control. In Pathfinding you have to make obstacles, right? Recording the mouse movement and then storing the data and reading it back in requires no obstacles. All you have to do is draw out the attack wave. Editing the data in excel gives you more control. But that's my opinion. I will make a link to the .capx file

  • I figured it out. I have 10 instances:

    global variable i=0

    Instance 1 starts at i (i=0 zero-based in the array)

    Instance 2 starts at -10+i = -10 element in the array

    Instance 3 starts at -20+i = -20 element in the array

    and so on and so on....

    add 1 to i and everything moves up 1 position

    So on start of layout I draw an attack wave with circular motion holding down the mouse button, the x and y mouse coordinates are then stored in the array, when the mouse button is released the enemy sprites load in the coordinates from the array one by one....this is cool if you want to make a game like Gyruss, Tempest or Galaga. These games have predefined attack waves

  • Hey guys,

    I have a path and the x and y coordinates are in an array.

    Object 1 reads the x and y coordinates and starts moving. How do I make object 2 read the array from the beginning while object 1 is still getting data from the array?

    Greetz,

    Justin

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Added cherry bonus (don't know what I'm gonna with this one).

    Clicking the left mouse button whilst the Hero is running toggles running upside down.

  • Replaced the Hero sprite with:

    http://opengameart.org/content/ninja-run-free-spritesa

    Just for demonstration purposes.

    Thanks to the author pzUH

  • 2 requests added:

    • use of mouse controls instead of space bar to increase the length of the stick
    • bonus point when the stick hits the red target
  • Added some additional sounds and hiscore save. Help on posting to FB and twitter is appreciated. Thanks.

  • I did some code clean up and managed to bring the events down to 14. Some things were just redundant or not even necessary.

    Added:

    -Background

    -UI

    -Sound

    -Ambient music (still looking around for a good seamless loop)

  • So here is the capx file made in the latest non beta version C2.

    https://app.box.com/s/i4k09ot78wy5derwfjuqyop71e9kv6vt

  • Thanks DankP3. I will upload a capx made with the latest non beta version C2.

  • Added code to make sure that the stick length stayed within the window.

  • Added 2 more events to change the gradient background every 2 points.

    7 gradients, when the last one is reached, it starts over again with the first one.