Java-Gaming.org Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (799)
Games in Android Showcase (237)
games submitted by our members
Games in WIP (865)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Getting started with game programming  (Read 5012 times)
0 Members and 1 Guest are viewing this topic.
Offline hansielneff

Senior Newbie


Exp: 1-3 months



« Posted 2015-04-26 15:18:14 »

I have a pretty firm understanding of Java and now I would like to start making games. What do I do?

I've been following a lot of different tutorial series on Youtube, but they don't seem to help.
Where should I go to get myself a basic understanding of developing games? And what next?
Should I use pure Java or libgdx or something like that?

Please fill me up with EVERYTHING I need to know to go in the right direction, because right now I'm totally lost.
Offline CopyableCougar4
« Reply #1 - Posted 2015-04-26 15:22:41 »

Do you want to learn the underlying boilerplate, or get straight to making games? If you want to know the boilerplate, use Java with LWJGL. If you just want to make games, use LibGDX.

Another tip I would say is to start really small and manageable, starting with a game like pong and then work on something like Breakout until you work your way up to complex games, but always finish each step and pay attention to making it look nice (good practice for the long run).

As you work your way up the metaphorical food chain of complexity, every time you find something you want to do, learn fully how to do it and then implement it and carry on.

I'm sure every single person on this forum has their own advice, but this is my personal advice.

Either wandering the forum or programming. Most likely the latter Smiley

Github: http://github.com/CopyableCougar4
Offline hansielneff

Senior Newbie


Exp: 1-3 months



« Reply #2 - Posted 2015-04-26 15:25:38 »

Thanks, I want the boiler plate!

But what do I do now? You're telling me to start small, but what if I don't know how to make the smallest like Pong. Where's the right place to read and study?
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline CopyableCougar4
« Reply #3 - Posted 2015-04-26 15:36:07 »

First, download LWJGL at http://legacy.lwjgl.org/download.php and setup a window and learn how to draw basic shapes using the code at http://wiki.lwjgl.org/wiki/Main_Page with the tutorials under "Basics".

Then, look at the sample code for "Space Invaders Example Game" under "Example Code".

Those links and tutorials should be enough to get you started with some basic games, and you can use the links under "OpenGL 3.2 and newer" once you feel absolutely confident with all of the basic boilerplate code.

Either wandering the forum or programming. Most likely the latter Smiley

Github: http://github.com/CopyableCougar4
Offline hansielneff

Senior Newbie


Exp: 1-3 months



« Reply #4 - Posted 2015-04-26 15:38:10 »

Okay, thanks a lot! I'll dig right into it! Smiley
Offline SauronWatchesYou

JGO Ninja


Medals: 33
Projects: 4
Exp: 2 years


Hi there! :)


« Reply #5 - Posted 2015-04-26 16:15:35 »

I'd like to suggest looking at this website: www.staticvoidgames.com which is run by one of the developers here Smiley (Kevin Workman). It has a Pong tutorial, I believe.

Hey, you! Back to work
Offline AirTime

Senior Newbie


Exp: 4-6 months


Not a glitch, just a misplaced curly brace.


« Reply #6 - Posted 2015-04-26 17:05:09 »

I'd recommend starting with something like Java2D, which is simpler than just jumping headfirst into an OpenGL binding like LWJGL then, once you feel confident with that, move on to something like Slick2D, which, despite being outdated, is still a sort of bridge between Java2D and LWJGL to me at least. Then, one you feel good with slick, THEN move on to LWJGL or JOGL. Just my 2 cents.

Nothing's gonna change my world.. well, at least until the next syntax error appears Tongue
Offline hansielneff

Senior Newbie


Exp: 1-3 months



« Reply #7 - Posted 2015-04-26 17:50:57 »

But, where would I wanna go to learn making games with Java2D? And what should I choose: Java2D or LWJGL?
Please guide me, people!
Offline CopyableCougar4
« Reply #8 - Posted 2015-04-26 17:53:01 »

I would choose LWJGL. Java2D is less geared towards games and more towards corporate software (ie. their complete UI package and complete control over rendering).

Either wandering the forum or programming. Most likely the latter Smiley

Github: http://github.com/CopyableCougar4
Offline trollwarrior1
« Reply #9 - Posted 2015-04-28 13:38:31 »

You could start trying Libgdx first, since it is much higher level framework and it is easier to see the first results of your code, and once you are comfortable with it, you could try using LWJGL, even though Libdgx might still be a better options than LWJGL in most cases.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline DavidBVal
« Reply #10 - Posted 2015-04-28 13:46:21 »

I second the Libgdx recommendation. The easiness of going cross-platform, if anything else, makes up for it. At least it does in my case.

Offline KevinWorkman

« JGO Plugged Duke »


Medals: 288
Projects: 12
Exp: 12 years


HappyCoding.io - Coding Tutorials!


« Reply #11 - Posted 2015-04-28 13:55:34 »

You're going to get a lot of two cents from people, and this is one of those things that 10 different people will have 15 different opinions about. There isn't any single correct path, so part of it is trying different things out and figuring out what you like the best.

Like others have said, libGDX is pretty much the go-to Java game development library. One of its major perks is that you can deploy as a Java jar (which can be converted to a platform-specific executable), or to Android (or even iOS through RoboVM), or even as JavaScript/html5. The awesomeness of this cannot be overstated.

Some people prefer to work at a slightly lower level, which means more "work" but more control over what's going on under the hood. Those people would recommend LWJGL (which libGDX is built on top of) or JOGL (which is pretty much just a Java wrapper of OpenGL).

However, all of the above require an intermediate Java knowledge: you need to understand the basic syntax like if statements, loops, etc. But you also need to understand things like OOP, different data structures, etc. For that reason, I personally don't recommend that you start out with LWJGL or libGDX.

Instead, I highly recommend you check out Processing. Processing is built on top of Java, so you're learning all the right syntax, but it's also designed to be very easy to get something visual and interactive (like, say, a game) up and running without worrying about a lot of setup.

Like SauronWatchesYou said, I run a little website called Static Void Games that has a bunch of tutorials designed to take somebody like you from Processing and into Java, with the goal of "graduating" to something like libGDX. You can check out the tutorials here if that sounds like something that might help you.

HappyCoding.io - Coding Tutorials!
Happy Coding forum - Come say hello!
Offline lcass
« Reply #12 - Posted 2015-04-28 16:27:04 »

OH GOD NOT ANOTHER ONE!
You managed to find the forum through google ! Great work!
Now use your awesome powers of searching through the search bar at the top to find similar topics to what you are looking for before posting one. MAGIC many thousands of topics all saying exactly the same thing.
Offline SHC
« Reply #13 - Posted 2015-04-28 17:30:58 »

If you want to go learn LibGDX, our developer @dermetfan had an excellent series on youtube.

https://www.youtube.com/playlist?list=PLXY8okVWvwZ0JOwHiH1TntAdq-UDPnC2L

But as others have already said, you need to have a fairly good understanding of Java before you attempt any of those.

Offline jonjava
« Reply #14 - Posted 2015-04-29 00:37:50 »

Watch this: https://vimeo.com/105955605

It's not java but it doesn't matter - the principles are the same.

Pages: [1]
  ignore  |  Print  
 
 

 
Riven (187 views)
2019-09-04 15:33:17

hadezbladez (4874 views)
2018-11-16 13:46:03

hadezbladez (1785 views)
2018-11-16 13:41:33

hadezbladez (5147 views)
2018-11-16 13:35:35

hadezbladez (1016 views)
2018-11-16 13:32:03

EgonOlsen (4367 views)
2018-06-10 19:43:48

EgonOlsen (5216 views)
2018-06-10 19:43:44

EgonOlsen (2946 views)
2018-06-10 19:43:20

DesertCoockie (3867 views)
2018-05-13 18:23:11

nelsongames (4293 views)
2018-04-24 18:15:36
Java Gaming Resources
by philfrei
2019-05-14 16:15:13

Deployment and Packaging
by philfrei
2019-05-08 15:15:36

Deployment and Packaging
by philfrei
2019-05-08 15:13:34

Deployment and Packaging
by philfrei
2019-02-17 20:25:53

Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!