#Creating Waves aka Levels in a Space Invaders game

17 messages · Page 1 of 1 (latest)

slow heart
#

So im doing a space invaders game with some friends and we are kinda stuck on getting several waves of aliens before you win the game
but the only thing we get is that either the whole game just frezzes when you die or the new wave doesnt even spawn in

i would send the code block for the Board.java because i think it would be too much for this thread to post in but i would send it if needed

(it went into a word cause its too long)

what would be an easy way to add waves aka levels into this

ember peakBOT
#

This post has been reserved for your question.

Hey @slow heart! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

abstract wyvern
#

Normally you'd make new waves by doing again what you did so that there would be a first wave

#

Depending on design, you may need to recreate aliens entirely, or to merely "revive" them if they were merely marked as dead

slow heart
#

so when the amount of aliens on the first wave have died, instead of ending the game spawning in the aliens from the first wave would be a solution?

abstract wyvern
#

For example

slow heart
#

would that need to be in the void update at line 282 or somewhere else?

abstract wyvern
#

If you want details, that will have to wait until someone goes over your entire code

slow heart
#

well its not urgent

abstract wyvern
#

In the meantime, don't hesitate to try yoursef

slow heart
#

i will

#

this thread will be closed then i guess or?

ember peakBOT
# slow heart this thread will be closed then i guess or?

If you are finished with your post, please close it.
If you are not, please ignore this message.
Note that you will not be able to send further messages here after this post have been closed but you will be able to create new posts.

abstract wyvern
#

Ah, indeed. I'm afraid this server is for less open-ended questions where you have an entire project people need to understand, and rather for how to solve programming problems

slow heart
#

alright i will try it out myself the next days and i would write a thread again if i have any other problems with that

#

but thank you c: