Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I'd guess that the problem you're having is that you aren't removing everything from the level properly before you start the next level.</p> <p>Here's how the "loading of the game" should work:</p> <ol> <li>Set up all in-game static assets. (HUD, Tiles, etc)</li> <li>Set up all the Tower Elements (Buying panel for towers)</li> <li>Set up all the Enemy Elements. (Create the array that represents the enemies that will spawn)</li> <li>Continue setting up all other elements you have in-game.</li> </ol> <p>After they've finished playing this level, whether it be win/lose, you should remove ALL things that were added during the "loading" phase.</p> <p>The idea here is that you want everything to be loaded, each new level, the exact same way every time you do it with small changes to the level like design. Things like enemies and tower assets will always be loaded the same way, so you need to make sure you remove them properly before the next rounds starts so that when you do add them for that round, you aren't re-adding something that still exists in-game.</p> <p>You seem confused about game design in general. The problem I mentioned above is just one of the many trip-ups when beginning the designing of games. I'd recommend that you go through a game-design book. I'd recommend <a href="http://rads.stackoverflow.com/amzn/click/0789747324" rel="nofollow">this one</a>. The reason I recommend a book like this is because it walks you through the conceptual portion of game design and gets you thinking correctly. I learned Game Programming from this book and recently coded <a href="http://www.newgrounds.com/portal/view/576557" rel="nofollow">Symphonic Tower Defense</a>. </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload