Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (488)
Games in Android Showcase (112)
games submitted by our members
Games in WIP (553)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2
  ignore  |  Print  
  Start from?  (Read 1120 times)
0 Members and 1 Guest are viewing this topic.
Offline Marc43

Senior Newbie





« Posted 2014-01-11 18:37:55 »

Hello, i'm Marc43 Smiley
I'm just trying to learn Java Gaming development, but i don't know from where i have to start.
Sorry if i speak english bad, but i'm learning english ^^
I know Java programming, but not too much.

Not a native English speaker
Thanks Mr.Slyth2727
(xD)
Online Longarmx
« Reply #1 - Posted 2014-01-11 18:43:06 »

Hello and welcome  Cheesy

Here is a nice long post that will help you get started in game development: How do I Start Java Game Development?

Best of luck,
Longarmx

Offline Marc43

Senior Newbie





« Reply #2 - Posted 2014-01-11 18:46:42 »

Thanks Longarmx, i haven't read anything of that post you have gave to me (If i speak bad... sorry...)
But one thing i hate of tutorials is when they write a code and don't explain the code, they think you know what are speaking about.
(I'm so sorry for my english..)

Not a native English speaker
Thanks Mr.Slyth2727
(xD)
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline trollwarrior1
« Reply #3 - Posted 2014-01-11 18:52:29 »

This is how I got into JGD (Java Game Dev? Cheesy)
http://www.youtube.com/watch?v=GFYT7Lqt1h8

This is not the best way to make stuff, but it explains EVERYTHING and it is really awesome for those who are just starting out Smiley
Offline Marc43

Senior Newbie





« Reply #4 - Posted 2014-01-11 18:58:01 »

Thanks trollwarrior1, i'll revise the content Cheesy:D

Not a native English speaker
Thanks Mr.Slyth2727
(xD)
Offline Slyth2727
« Reply #5 - Posted 2014-01-11 20:47:46 »

(I'm so sorry for my english..)

Don't worry about your English man, not everyone here is a native speaker Smiley
If you're worried about it you can put "Not a native English speaker" or something in your signature.

Was I before Chuang Tzu who dreamt about being a butterfly, or am I now a butterfly who dreams about being Chuang Tzu?
Offline Phibedy

Senior Member


Medals: 8



« Reply #6 - Posted 2014-01-11 21:10:22 »

Offtopic:
It's ok to do english mistakes, I always do. Indeed I don't care because if a lot of people read the wrong written word and use it either, the "wrong written word" will become the right one  Grin
And some day I will say to my kids, "Look at the word 'misstake', doesn't it look amazing, your dady made it."  Roll Eyes

Back to topic:
I started game-dev with a space-invader tutorial using java2d Smiley
It's quite important to just copy code at the beginning to get a "good" coding-style/layout.

Edit: By "copy code" I haven't meant control + C, you have to write it yourself.
Offline Marc43

Senior Newbie





« Reply #7 - Posted 2014-01-11 21:16:28 »

Yes but... I don't like to "copy & paste" i want to write my own code, because it's funny to see how your ideas inside your mind are now real (in your game). And when i'm learning i love to do excercises about, but maybe i have to learn first xD

Not a native English speaker
Thanks Mr.Slyth2727
(xD)
Offline Phibedy

Senior Member


Medals: 8



« Reply #8 - Posted 2014-01-11 21:23:58 »

For example, after finishing the space-invaders tutorial, I added powerups etc myself and asteroid-levels, highscore etc.
I think it's quite hard for a beginner to get some well working basis to build on Smiley
In addition it's good to see how to write oop code.
Offline Marc43

Senior Newbie





« Reply #9 - Posted 2014-01-11 21:29:40 »

The most important thing i think it is know how it works the code, and if the person who does the tutorial doesn't explains how it works....
I think it's boring, i have found this video: http://www.youtube.com/watch?v=9dzhgsVaiSo
What do you think about it?

Not a native English speaker
Thanks Mr.Slyth2727
(xD)
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Online Longarmx
« Reply #10 - Posted 2014-01-11 21:33:46 »

The most important thing you want to remember is to get a firm grasp on plaing java before you begin game development. I know you said you knew some but make sure that you can write simple programs on your own before you begin to develop games.

Offline Phibedy

Senior Member


Medals: 8



« Reply #11 - Posted 2014-01-11 21:37:21 »

The result looks nice  Smiley
But I don't know how much you already know about java, so I can't tell you what's best for you  Smiley
Offline Marc43

Senior Newbie





« Reply #12 - Posted 2014-01-11 21:39:17 »

But i don't know what class of programs do, with class i want to say type of...
Yes, i think you're right
I had made a Rock!Paper!Scissors! with netbeans, but was easy because it's easy to make GUI

Not a native English speaker
Thanks Mr.Slyth2727
(xD)
Offline Troubleshoots

JGO Knight


Medals: 36
Exp: 7-9 months


Damn maths.


« Reply #13 - Posted 2014-01-11 21:42:26 »

People seem to be doubting your knowledge, so I'll lay out what you need to know:
  • Variables, methods, objects
  • Control flow
  • Basic inheritance

If you don't know the above then learn it. Anything else is a nice bonus.

I started off learning the basics of game development with Java2D. Research the concepts of game development like the game loop and collision detection; find articles, videos, tutorials, you name it. Find as much information as possible and start off by making a very simple game like pong or snake. You can then move on to more advanced areas, for example tiled maps, better collision detection, animations etc. I remember spending 3 days creating a tiled map in a text file and loading it in to a game, then when I finally did it I felt awesome. After doing that I decided to use a game engine (I chose LibGDX) and that taught me a lot about OO design. Anyway, I didn't really get anywhere (except for learning about inheritance, generics and type safety) so decided to try learning OpenGL with the LWJGL binding. Here I am today, starting to get past the basics of the programmable pipeline.

So to summarise:
  • Start off with Java2D (Swing and AWT) and learn about basic game development concepts
  • Create a very simple game and then move on to slightly more advanced techniques
  • Either learn to use a game engine (LibGDX is recommended), or learn OpenGL with the LWJGL binding

Note:
There aren't many good resources in Java for learning how to use a game engine or learning OpenGL, so be prepared to do a lot of research.

Why are all OpenGL tutorials written in Brainf**k?
Offline Marc43

Senior Newbie





« Reply #14 - Posted 2014-01-11 21:45:25 »

I know about variables,methods & objects
Thank you for the help i'll try to do all you are saying to me, if i do you'll see my game xD

Not a native English speaker
Thanks Mr.Slyth2727
(xD)
Offline Troubleshoots

JGO Knight


Medals: 36
Exp: 7-9 months


Damn maths.


« Reply #15 - Posted 2014-01-11 21:54:06 »

I know about variables,methods & objects
Thank you for the help i'll try to do all you are saying to me, if i do you'll see my game xD

Everything takes a lot of time to learn. I've spent 6 months in total from starting to learn Java to getting to the stage that I'm at, so don't expect that it'll be quick and easy; sometimes it gets difficult and frustrating. The main thing is to have patience and to keep on going. Also be creative and if you want to do something, do it, no matter how long it takes. That's how I learn - I get carried away in research for a bit then I set goals and achieve them in twice the time I expect to. Wink

Why are all OpenGL tutorials written in Brainf**k?
Offline opiop65

JGO Kernel


Medals: 154
Projects: 7
Exp: 3 years


JumpButton Studios


« Reply #16 - Posted 2014-01-12 01:05:37 »

No, Java2D just isn't necessary to learn from. Why learn an API that you'll never use again for game development? Use immediate mode on OpenGL for learning the basics, because you'll most likely end up using OpenGL in the long run anyway.

Java2D is good for some stuff, but not for game development.

Offline Drenius
« Reply #17 - Posted 2014-01-12 03:18:12 »

It may be not the best API for game graphics, but it works for small projects and gives you a feeling for how game rendering works, without having to setup complex options etc, so it is absolutely enough for beginners.
Offline opiop65

JGO Kernel


Medals: 154
Projects: 7
Exp: 3 years


JumpButton Studios


« Reply #18 - Posted 2014-01-12 03:20:46 »

It's enough, but it's not useful, at least I don't think, to be teaching people and encouraging them to use it for years. A few months at most, but eventually the person just has to accept that even though Java2D is high level and nice to work with, it's not the right way to do things.

Offline Drenius
« Reply #19 - Posted 2014-01-12 04:37:01 »

Absolutely.
Do not use it longer than necessary!
But for an absolute beginner it is a good way to get at least anything on the screen.
Offline Marc43

Senior Newbie





« Reply #20 - Posted 2014-01-12 09:04:19 »

Then... the best way to learn game development it is OpenGL?

Not a native English speaker
Thanks Mr.Slyth2727
(xD)
Offline trollwarrior1
« Reply #21 - Posted 2014-01-12 09:10:11 »

Absolutely no. If you're new to programming overall, you will die in there.
Stick with java2d for now. Should be more than enough.
Offline Marc43

Senior Newbie





« Reply #22 - Posted 2014-01-12 09:13:13 »

One question, Java2D it is an engine or just key words of java that make "Java2D"?
You understand me? xD

Not a native English speaker
Thanks Mr.Slyth2727
(xD)
Offline trollwarrior1
« Reply #23 - Posted 2014-01-12 09:16:07 »

A game engine is like Unity or Unreal Engine.
Java2D is a rendering API. It allows you to render stuff in 2D.
http://en.wikipedia.org/wiki/Java_2D
Offline Marc43

Senior Newbie





« Reply #24 - Posted 2014-01-12 09:18:24 »

Then, "Java2D" it's inside java programming language Smiley
I am going to make some homework, and then start to learn!
Bye!

Not a native English speaker
Thanks Mr.Slyth2727
(xD)
Offline Troubleshoots

JGO Knight


Medals: 36
Exp: 7-9 months


Damn maths.


« Reply #25 - Posted 2014-01-12 11:01:10 »

Then, "Java2D" it's inside java programming language Smiley
I am going to make some homework, and then start to learn!
Bye!

One thing Wikipedia doesn't point out is that you should use Swing for the GUI. If you just want to develop games, then don't bother fully learning it (just learn about JFrame, JPanel and layouts), but if you may want to create other kinds of applications as well as games, then you might want to consider learning it.

As stated previously, OpenGL is better for developing games, however for a beginner it can be very hard to use. Start out with Java2D and maybe after 1-2 months you should ease yourself in to learning OpenGL, either with or without using a game engine.

Why are all OpenGL tutorials written in Brainf**k?
Offline Marc43

Senior Newbie





« Reply #26 - Posted 2014-01-12 11:15:01 »

Now i'm watching videos of "TheCherno" he explains some part of the codes but not all of the code, i hope that i'll understand some parts of the code that i don't understand right now...

Not a native English speaker
Thanks Mr.Slyth2727
(xD)
Offline trollwarrior1
« Reply #27 - Posted 2014-01-12 11:20:12 »

You can post your question here Tongue I could probably answer anything.
Offline Marc43

Senior Newbie





« Reply #28 - Posted 2014-01-12 11:22:41 »

The Thread, he doesn't explains too much about the thread, i think it is the process, but i don't know more about it.
And this :
try {
      thread.join();
      } catch(InterruptedException e) {
         e.printStackTrace();
      }
I haven't seen never anything like that xD

Not a native English speaker
Thanks Mr.Slyth2727
(xD)
Offline Troubleshoots

JGO Knight


Medals: 36
Exp: 7-9 months


Damn maths.


« Reply #29 - Posted 2014-01-12 11:26:32 »

Now i'm watching videos of "TheCherno" he explains some part of the codes but not all of the code, i hope that i'll understand some parts of the code that i don't understand right now...

Google/javadoc/nice articles are your friends.

The Thread, he doesn't explains too much about the thread, i think it is the process, but i don't know more about it.
And this :
try {
      thread.join();
      } catch(InterruptedException e) {
         e.printStackTrace();
      }
I haven't seen never anything like that xD

Concurrency in Java. There's a lot to read.

Why are all OpenGL tutorials written in Brainf**k?
Pages: [1] 2
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

TehJavaDev (17 views)
2014-08-28 18:26:30

CopyableCougar4 (26 views)
2014-08-22 19:31:30

atombrot (39 views)
2014-08-19 09:29:53

Tekkerue (36 views)
2014-08-16 06:45:27

Tekkerue (33 views)
2014-08-16 06:22:17

Tekkerue (22 views)
2014-08-16 06:20:21

Tekkerue (33 views)
2014-08-16 06:12:11

Rayexar (69 views)
2014-08-11 02:49:23

BurntPizza (46 views)
2014-08-09 21:09:32

BurntPizza (37 views)
2014-08-08 02:01:56
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!