1
My first game! (Wave Survival 2 Alpha!)
Hey guys!
I've started reprogramming this game because my other computer all the code was on died. Also, the coding wasn't very organized and I'd like to try and make a game without relying on tutorials!
I'd love it if you guys would try it out, suggest new ideas and report and glitches or bugs!
Wave Survival 2 Alpha 0.0
-This version was made as a test to make sure anyone who downloads it can see the images!
-Has a working menu screen
-Player that moves around
Game Download:
http://www.mediafire.com/download/8kdhq ... rvival.zip
Old Versions: https://www.mediafire.com/folder/uaptn2 ... e_Survival
I've started reprogramming this game because my other computer all the code was on died. Also, the coding wasn't very organized and I'd like to try and make a game without relying on tutorials!
I'd love it if you guys would try it out, suggest new ideas and report and glitches or bugs!
Wave Survival 2 Alpha 0.0
-This version was made as a test to make sure anyone who downloads it can see the images!
-Has a working menu screen
-Player that moves around
Game Download:
http://www.mediafire.com/download/8kdhq ... rvival.zip
Old Versions: https://www.mediafire.com/folder/uaptn2 ... e_Survival
Create an account or sign in to comment.
47
1
Why is it an exe? What about OS X, Linux and Solaris?
1
I feel like you are expecting a bit much from a beginning programmer.
it is a .exe because that is the obvious choice in a community of mostly windows users. Maybe you should tell him more about how he can make it a program format that works on other OS as well. That would be very helpful for him, and you obviously have the knowledge to do that.
it is a .exe because that is the obvious choice in a community of mostly windows users. Maybe you should tell him more about how he can make it a program format that works on other OS as well. That would be very helpful for him, and you obviously have the knowledge to do that.
1
Sorry I'm really new at programming and haven't bothered to make this for any other OS.
1
Wave Survival 2's first alpha version is available.
This version doesn't contain any gameplay unfortunately, but rather I made it to make sure I've compiled it correctly, and that anyone who downloads it can see the images!
There is a working menu and a player that moves around with animations!
This version doesn't contain any gameplay unfortunately, but rather I made it to make sure I've compiled it correctly, and that anyone who downloads it can see the images!
There is a working menu and a player that moves around with animations!
1
Hey, if you need help with your Tilebased Game or if you need a Level Loader add me on Skype: kroxx516
Have some old Code on my PC.
Have some old Code on my PC.
1
Great job, man!
1
I'm reprogramming this game!
Now that I've learned more about coding I'm going to attempt to remake this game and make it better than before
Now that I've learned more about coding I'm going to attempt to remake this game and make it better than before
1
Cool!
1
You look like you have the dedication to make games from start to end, so good luck with that.
Big tip though: Get the Unity 5 engine. If you managed to learn Java, you can also learn C#, and Unity 5 will SERIOUSLY power up your abilities. You can finish this game in Java or start its code from scratch in Unity.
Trust me though, its worth it. The engine itself is free, so no buying things. The only situation where you HAVE to buy their pro edition is if you make more than $100.000 per year with as an individual or company.
There are also a bunch of resources on its market, including some free ones. It will really boost your ability to make games.
Big tip though: Get the Unity 5 engine. If you managed to learn Java, you can also learn C#, and Unity 5 will SERIOUSLY power up your abilities. You can finish this game in Java or start its code from scratch in Unity.
Trust me though, its worth it. The engine itself is free, so no buying things. The only situation where you HAVE to buy their pro edition is if you make more than $100.000 per year with as an individual or company.
There are also a bunch of resources on its market, including some free ones. It will really boost your ability to make games.
1
Thanks so much for this info! Unfortunately I won't be able to finish this game because the computer I was using died a few days ago -__- but I've started to work on a tile-based RPG coded in java instead!
Also, I'm taking all of the programming courses available in my school so I can further increase my knowledge in this kind of stuff
Also, I'm taking all of the programming courses available in my school so I can further increase my knowledge in this kind of stuff
1
How did you add a Pause option and pickable items? I was searching in your code but I didn't find nothing :/
1
In the game tick method when the pause state is active only the hud is updated and nothing else causing the player and enemies to freeze in place.
To enable the pause state I've just made pressing the "p" key enable/disable it.
disabling it obviously just resets it to the game state.
To enable the pause state I've just made pressing the "p" key enable/disable it.
disabling it obviously just resets it to the game state.
Click to reveal
private void tick(){
if(gameState == STATE.Game) {
handler.tick();
spawner.tick();
hud.tick();
}
else if (gameState == STATE.Pause) {
hud.tick();
}
else if(gameState == STATE.Menu) {
menu.tick();
handler.tick();
}
else if(gameState == STATE.Help) {
help.tick();
handler.tick();
}
else if(gameState == STATE.Shop) {
shop.tick();
handler.tick();
}
else if(gameState == STATE.PreMenu) {
hud.tick();
}
else if(gameState == STATE.Gameover) {
gameover.tick();
handler.tick();
}
}
if(gameState == STATE.Game) {
handler.tick();
spawner.tick();
hud.tick();
}
else if (gameState == STATE.Pause) {
hud.tick();
}
else if(gameState == STATE.Menu) {
menu.tick();
handler.tick();
}
else if(gameState == STATE.Help) {
help.tick();
handler.tick();
}
else if(gameState == STATE.Shop) {
shop.tick();
handler.tick();
}
else if(gameState == STATE.PreMenu) {
hud.tick();
}
else if(gameState == STATE.Gameover) {
gameover.tick();
handler.tick();
}
}
1
Looks really cool
1
Can you please update the source??? If so that would be great!!!!!!!
1
Yeah sorry I've been busy lately I'll update it soon
1
Hey, so the computer I've been using just died so I can't update the source code...
Anyways, those tutorials weren't great anyways because there was a lot of issues with crashing and stuff that hasn't been resolved yet. So instead I've moved on to a better tutorial series to make a 2D tile-based, turn-based RPG.
Links:
Wave Survival Playlist: https://www.youtube.com/playlist?list=P ... ZwEqnz2MHa
RPG Playlist: https://www.youtube.com/playlist?list=P ... shAc18XYQZ
Anyways, those tutorials weren't great anyways because there was a lot of issues with crashing and stuff that hasn't been resolved yet. So instead I've moved on to a better tutorial series to make a 2D tile-based, turn-based RPG.
Links:
Wave Survival Playlist: https://www.youtube.com/playlist?list=P ... ZwEqnz2MHa
RPG Playlist: https://www.youtube.com/playlist?list=P ... shAc18XYQZ
1
Looks cool, good luck with future development.
1
Thanks man!
1
This is my new highscore:
Oh ya:
Oh ya:
1
Nice!
1
Beta 1.3.0 has been released!!!
Changelog:
-Added Upgrades Shop
-Added Money Bonus Pickup
-Added Invincibility
-Added New Enemy: Fat Enemy - Moves really slow but is 2x the size of other enemies
The Upgrades Shop:
Also, I managed to fix the bug where the game would sometimes crash when pressing the start button. To do this I had to remove the Menu Particles which for some reason were causing the crash when they were being removed...
Changelog:
-Added Upgrades Shop
-Added Money Bonus Pickup
-Added Invincibility
-Added New Enemy: Fat Enemy - Moves really slow but is 2x the size of other enemies
The Upgrades Shop:
Also, I managed to fix the bug where the game would sometimes crash when pressing the start button. To do this I had to remove the Menu Particles which for some reason were causing the crash when they were being removed...
1
Looks cool for your first java game. Keep up the good work.
1
Are the other dots not suppose to kill me? and my highest score was 10999 lol
1
Red, Blue and Brown dots are the enemies. Depending on what type they are, they will either bounce around the screen or follow your player. Coming into contact with them will drain your health slowly.
Yellow dots increase your score by 100
Green dots regenerate your health by 20%
Yellow dots increase your score by 100
Green dots regenerate your health by 20%
1
Ohhh i thought if they hit you, you die. You should add a hard mode so when the red blue or brown dots hit you, you get game over.
1
Yeah that's a good idea!
1
You should add a powerup that makes the player shrink and increase in speed for a certain amount of time
1
I'll give it a try!
Also, I am planning on making an upgrade in the shop that increases speed.
Maybe instead I'll either make it upgrade the powerup, or the upgrade will increase the players speed and also decrease their size.
Also, I am planning on making an upgrade in the shop that increases speed.
Maybe instead I'll either make it upgrade the powerup, or the upgrade will increase the players speed and also decrease their size.
1
1
Doesn't work for me. Just says a java error has occurred. Also, can we get the source code?
1
That's weird... Beta 1.2.0?
Also, I'm going to post the source code soon
Also, I'm going to post the source code soon
1
Yes, Beta 1.2.0, the latest update. There is also no stacktrace.
1
EDIT: Didn't fix it
Still trying to figure out what is causing this error:
Source code: http://pastebin.com/Whr00fFN
-----------------------------------------------------------------------------------------------------------
I'm not sure what the cause of this is... Sometimes it runs fine and other times it will crash.
Sometimes it will let me start a game, and then after dying and going back to the menu, trying to start a second game will crash it...
Console after crashing:
Are you able to open the game, or does it not even open for you?
P.S this is only made for Windows, so if you're by chance on a Mac or running Linux, that's why it won't work.
Still trying to figure out what is causing this error:
Click to reveal
Exception in thread "Thread-2" java.lang.NullPointerException
at java.util.LinkedList.node(Unknown Source)
at java.util.LinkedList.get(Unknown Source)
at com.wave.main.Handler.render(Handler.java:18)
at com.wave.main.Game.render(Game.java:167)
at com.wave.main.Game.run(Game.java:105)
at java.lang.Thread.run(Unknown Source)
at java.util.LinkedList.node(Unknown Source)
at java.util.LinkedList.get(Unknown Source)
at com.wave.main.Handler.render(Handler.java:18)
at com.wave.main.Game.render(Game.java:167)
at com.wave.main.Game.run(Game.java:105)
at java.lang.Thread.run(Unknown Source)
Source code: http://pastebin.com/Whr00fFN
-----------------------------------------------------------------------------------------------------------
I'm not sure what the cause of this is... Sometimes it runs fine and other times it will crash.
Sometimes it will let me start a game, and then after dying and going back to the menu, trying to start a second game will crash it...
Console after crashing:
Click to reveal
Exception in thread "Thread-2" java.lang.NullPointerException
at java.util.LinkedList.node(Unknown Source)
at java.util.LinkedList.get(Unknown Source)
at com.wave.main.Handler.render(Handler.java:17)
at com.wave.main.Game.render(Game.java:165)
at com.wave.main.Game.run(Game.java:105)
at java.lang.Thread.run(Unknown Source)
at java.util.LinkedList.node(Unknown Source)
at java.util.LinkedList.get(Unknown Source)
at com.wave.main.Handler.render(Handler.java:17)
at com.wave.main.Game.render(Game.java:165)
at com.wave.main.Game.run(Game.java:105)
at java.lang.Thread.run(Unknown Source)
Are you able to open the game, or does it not even open for you?
P.S this is only made for Windows, so if you're by chance on a Mac or running Linux, that's why it won't work.
1
I can't open it at all. Is this compiled with Java 8 or 7?
1
My Java JRE and JDK are both version 1.8.0_45.
view more replies ( 1 )
1
I know sometimes after pressing the start button in the menu the game locks up and won't start (In Eclipse an error appears). Usually you just have to reopen it and it will work...
I'll post the source code later today and maybe someone who knows what they're doing can spot the issue that's causing this.
I'll post the source code later today and maybe someone who knows what they're doing can spot the issue that's causing this.
1
[deleted]
1
Thanks
1
Beta 1.2.0:
I've added a Gameover page that shows the player what their score was and the level they made it to. Also, I've added a money system. (With no use at the moment )
On the Gameover page it shows the player the money they earned that game session, and their money total.
Money will be used in the upgrades shop in Beta 1.3.0!
Gameover page:
I've added a Gameover page that shows the player what their score was and the level they made it to. Also, I've added a money system. (With no use at the moment )
On the Gameover page it shows the player the money they earned that game session, and their money total.
Money will be used in the upgrades shop in Beta 1.3.0!
Gameover page:
Click to reveal
1
Looks really great
1
Looks good for your first Java game!
1
GetoffmycatLooks really great
Thanks guys!
1
This sounds and looks really good, dude, keep up the good work!
1
Thanks man!
1
I do plan on keeping this forum updated so always check to see if there is a new version of Wave Survival!
Upcoming features in Beta 1.1.0!
Upcoming features in Beta 1.1.0!
Click to reveal
Pausing:
Menu:
Menu: