Java Game Making Tutorial

May 20, 2012 at 12:20 AM
Not anymore
"Run, rabbit run. Dig that hole, forget the sun."
Join Date: Jan 28, 2010
Location: Internet
Posts: 1369
Age: 34
Hello to future indie game developers. Do you want to program a game but have no idea where to start?
Making a simple game engine doesn't require as many hours of work as you might think.

Here, I present to you the Java Game Making Tutorial:

Java Game Making Guide
Mirror Link

Best of all, you need absolutely no experience! First I teach you how to program in Java, and then we practice by making a simple game in Java. From there, you can expand on your own game engine and perhaps create a freeware game of your very own.

Well, what are waiting there for? Get started!
 
May 20, 2012 at 5:51 AM
Not anymore
"Run, rabbit run. Dig that hole, forget the sun."
Join Date: Jan 28, 2010
Location: Internet
Posts: 1369
Age: 34
Yeah! I must try it. What types of games can you make?

2d games basically. It starts you off with a shooting game but you could go the other direction and try to make a platformer if you wanted.
 
May 20, 2012 at 6:16 AM
Not anymore
"Run, rabbit run. Dig that hole, forget the sun."
Join Date: Jan 28, 2010
Location: Internet
Posts: 1369
Age: 34
Ok. Thanks. It's a rather simple guide, isn't it? Do you have to use any external programs?

You have to install the JDK and a Java code editor, which is explained in the guide. It's just the bare basics you need for Java. Otherwise there are no third-party libraries to download.
 
May 28, 2012 at 5:22 PM
CARLSOOOOOON AAAAND PEEEEETERSSSSSS!
"Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-BLEIUP"
Join Date: May 21, 2012
Location: Location Location. Thats my motto.
Posts: 304
Age: 27
I think I'll learn how to do this, but I also work with Game Maker, (7.0 lite version to be exact) so are there any tutorials on this site for Game Maker
 
May 28, 2012 at 6:27 PM
Lvl 1
Forum Moderator
"Life begins and ends with Nu."
Join Date: May 28, 2008
Location: PMMM MMO
Posts: 3713
Age: 31
This guide is good and all but right now it seems you can only make silent games with it. Or to be more direct...

What's a good sound library? Something for sfx and music of course.
 
May 28, 2012 at 8:14 PM
Not anymore
"Run, rabbit run. Dig that hole, forget the sun."
Join Date: Jan 28, 2010
Location: Internet
Posts: 1369
Age: 34
I think I'll learn how to do this, but I also work with Game Maker, (7.0 lite version to be exact) so are there any tutorials on this site for Game Maker

You could try the game maker tutorial forums.

I've tried game-maker and it's fairly decent. The only problem was that they had this idiotic non-removable banner at the beginning of your game that said "made with gamemaker" (unless you paid for it, of course). Do they still have that?

I've also tried Construct, the free alternative to Game Maker, and it kept rotating my bullets in mid-flight for absolutely no reason.

This guide is good and all but right now it seems you can only make silent games with it. Or to be more direct...

What's a good sound library? Something for sfx and music of course.

Java has built-in sound capabilities, but you'll only be able to play .wav or .midi at best with that.

http://www.javaworld...-javatip24.html
http://docs.oracle.c...ound/index.html

For third party libraries:
Ogg: http://www.jcraft.com/jorbis/
Mp3: http://introcs.cs.pr...aq/mp3/mp3.html

I'll include this info in the guide later.
 
Oct 19, 2012 at 5:16 PM
Senior Member
"Master using it, and you can have this!"
Join Date: Oct 18, 2012
Location: United States
Posts: 82
Age: 25
*bump*

Thought this was useful.
 
Oct 19, 2012 at 5:17 PM
Not anymore
"Run, rabbit run. Dig that hole, forget the sun."
Join Date: Jan 28, 2010
Location: Internet
Posts: 1369
Age: 34
Anything confusing in the guide? Are the generics not explained enough? Void class? Null?
 
Top