Hello to all java gaming community ! I'm new to this forum, and that why i need your help for développing my game !My game Will use a world wich contain tiles , isometric Will be the best, but if its in orthogonal , no problèm! For the player , he would move where the player has clicked by his mouse , so i should include a pathfinding algorythm like a*... Etc...And i'v take a view into few api like lwgjl , slick2d, etc...My game would be like a real Time battleship game My question is...Where and how to begin my game ?Ps: i need help please , its very important !Ps2: Sorry for my bad english , its because im french !Thànk you per advance!

WOW !! dude, am a beginner and i can tell that you are taking the wrong path, i will ask you some questions, where you should answer them with Yes/No, each "Yes" will lead you to the next question and if it's a "No" then you should do what ever it takes to make it a "Yes"

1-Do you ever wrote a program ? 2-Do you know all the programming basics ? 3-Do you know all the basics of the Java language ?4-Have you made a real Java program ?5-Have you made other real Java programs ALONE ??

if you get through all of that, then automatically you should be able to answer "all" your questions, at least you will know how to start, how to draw graphics, make them move and do "things", and when you face a real problem, you should post your question here, and pretty sure you will get your answer, but if somehow my doubts are in the good place and the answers are "no" then i think you should take a look at this topic am pretty sure you'll find everything you need

PS : i think you should forget about the "realtime" thing for now, you should focus on the important basics, networking will comes later

good luck

"It's not at all important to get it right the first time. It's vitally important to get it right the last time."

First understand what a game is and the basic terminology used like (game loop, fps, ups, etc.,). Then learn how you can structure your program to make it a game the best. There are a lots of approaches. The best way to learn is by coding and experience it.

Then start making some GUI applications. Create a window by using Swing. Learn how you can display an image. Then try implementing animations, by changing the images. Before that, you have to learn about some threads. Learn how to create render loops. Try adding the game logic.

The first I made was a simple frame in which a box moves from left to right and swaps the screen. It's on my tutorial site. http://easyjavatutorial.weebly.com/. Then understand how to make a best game loop (in the above mentioned articles). The first rule of thumb is to separate the game logic and rendering logic.

Then strip of to using a game engine and learn how it works by making some games with it and analyzing how it works. You can also see the source of the engine to see how it is structured. It helps you to create easily efficient games. Then try making your own engine. I've made games with GTGE and JGame and also made my own.

Then you can probably start off with some advanced topics such as OpenGL. Start off with a game engine like Slick2D or libGDX. Understand several example games. (Also rewrite them). Then check your knowledge against LWJGL, if it's a success, you've learnt a lot. Try different ways of applications. Learn some Vector math. It helps much in games.

Thank you very Mach for your use full help ! Yea i Will Try what you say , but for the console , my game, the player Will move where the mouse has clicked ... But anyway , i'm start with your tips now and some Times i post some code ... Thank you

if you get through all of that, then automatically you should be able to answer "all" your questions, at least you will know how to start, how to draw graphics, make them move and do "things", and when you face a real problem, you should post your question here, and pretty sure you will get your answer, but if somehow my doubts are in the good place and the answers are "no" then i think you should take a look at this topic am pretty sure you'll find everything you need

I agree with you, but this line isn't right.

and when you face a real problem, you should post your question here

When you face a real problem, you need to search google and this forum. Most of the time, you can answer your own question and solve your own problem. By doing so, you learn a lot more.

I think you should try lwjgl first, before moving to libgdx, I don't mean libgdx is harder (which obviously isn't), but you should have some basic knowledge of the pipeline and it's way more interesting to learn via lwjgl.

offtopic I know english is not your native language, (it's not mine either) but what's that word you keep repeating? i'v

ange_black69: LWJGL is a great learning experience, but there are a LOT of things you´ll have to write before having something that even recembles a game. Since LWJGL is basically OpenGL there are no tools for loading texures or loading tile maps. This you´ll have to do by yourself.

LibGDX makes the setup easier. You already have tools for loading textures and support for .tmx tile map files. But the thing is that no library is gonna write the game for you. There are still lot´s and lot´s to learn about collision detection, collision response, physics, artificiall intelligence, pathfinding, etc.

So... To my point: It may sound harsh but put your idea on hold for now and start out with something easy. Come up with a really simple idea (Pong is a great clone to start out with) and make it a complete game. A start screen, a game screen, a win condition and a "You win" and "You lose" screen. It sounds easy, and perhaps boring, but that will give you knowledge about all the elements in a game. When you have done this you will know more about how easy or how hard your original idea will be to make.

Trust me on this: There is a reason everybody keeps repeating this mantra: "Start with something simple!".

ange_black69: LWJGL is a great learning experience, but there are a LOT of things you´ll have to write before having something that even recembles a game. Since LWJGL is basically OpenGL there are no tools for loading texures or loading tile maps. This you´ll have to do by yourself.

LibGDX makes the setup easier. You already have tools for loading textures and support for .tmx tile map files. But the thing is that no library is gonna write the game for you. There are still lot´s and lot´s to learn about collision detection, collision response, physics, artificiall intelligence, pathfinding, etc.

So... To my point: It may sound harsh but put your idea on hold for now and start out with something easy. Come up with a really simple idea (Pong is a great clone to start out with) and make it a complete game. A start screen, a game screen, a win condition and a "You win" and "You lose" screen. It sounds easy, and perhaps boring, but that will give you knowledge about all the elements in a game. When you have done this you will know more about how easy or how hard your original idea will be to make.

Trust me on this: There is a reason everybody keeps repeating this mantra: "Start with something simple!".

I agree. I'm still working on my first game. It's a breakout clone and has taught me quite a bit already. Pong seems a little too simple, but it wouldn't hurt to start with that. Then, I would try a Pac-man or tetris clone probably.

Ok thank you axeman and bassex96 for the Quick answer , so for now i Try to create a simple game like pong to learn the basic of a game Logic, render etc... After i've finish that , i begin my original project , but there are lot of work before! Just one question , should i use libdgx or slick2d ?I've take a look into libGdx and it seems to be the better choice for me

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