Zbee's Forum Posts

  • 3 posts
  • Hello

    So, what I want to achieve is to have multiple waves in my game (say 1-20), and each wave should have several sub-waves (1-10), each sub-wave should then have a unique amount (1-25) enemies that are spawned an will all be the same.

    So my array might look like this:

    wave1 => [
      subwave1 => [
        "1-boss",
        "15-chickens"
       ],
      subwave2 => [
        "15-chickens",
        "5-farmers",
        "10-dogs"
       ]
    ]
    [/code:1tfx75u4]
    Plus 9 more wave arrays, and of course more subwaves also.
    
    And the result would be:
    [ul]
    [li] Player indicates they're ready[/li]
    [li] Current Wave is 1[/li]
    [li] Loads the wave1 array[/li]
    [li] Spawns subwaves (spawns 1 boss, waits, spawns 15 chickens; After waiting even longer, spawns the next subwave)[/li][/ul]
    
    I cannot find a way to do this at all, any help at all is appreciated.
    
    If I could spawn an object by  typing it's name instead of actually selecting it from the list of sprites I've made, I wouldn't really have an issue.], but I don't think I can do that either.
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Also, I know this is off-topic, but if you were wondering about my computer theme (Win7 with Mac theme) you can read this blog post on my website: <font color=blue>http://zbee.me/blogposts/#blog56</font>

  • <img src="http://i50.tinypic.com/2pye0xc.jpg" border="0" />

    So, As you can see above, my game text floats off to the right of my game, I don't know why this happens or how but I examined the canvas (the part floating to the right) with Firebug and Google Chrome Tools > Developer Tools and they both say some code is making it be positioned absolutely 351px from the top and 480.6666564941406px from the left side.

    Please help me.

    P.S. The game is at zbee.me/impression

  • 3 posts