ange_black69
Senior Newbie 
|
 |
«
Posted
2013-04-22 20:02:58 » |
|
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!
|
|
|
|
HeroesGraveDev
|
 |
«
Reply #1 - Posted
2013-04-22 22:01:14 » |
|
You should probably start off with a smaller project, if you don't know where to start.
|
|
|
|
alaslipknot
|
 |
«
Reply #2 - Posted
2013-04-22 22:49:36 » |
|
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."
|
|
|
Games published by our own members! Check 'em out!
|
|
HeroesGraveDev
|
 |
«
Reply #3 - Posted
2013-04-22 22:57:29 » |
|
networking will comes later
Networking will comes WAYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY later.
|
|
|
|
gouessej
|
 |
«
Reply #4 - Posted
2013-04-22 23:11:29 » |
|
Ps2: Sorry for my bad english , its because im french !
This isn't an excuse. English is not the mother tongue of lots of people here (and I'm French too).
|
|
|
|
HeroesGraveDev
|
 |
«
Reply #5 - Posted
2013-04-22 23:17:05 » |
|
Ps2: Sorry for my bad english , its because im french !
This isn't an excuse. English is not the mother tongue of lots of people here (and I'm French too). Yeah, but 'lots of people here' have been reading posts by people who speak good (or at least reasonable) English, and so will be better than someone new to the language. You can't blame someone for having bad english when they haven't learnt it for very long. <offtopic>I seem to have the most medals in the last month. Am I allowed to do that?</offtopic>
|
|
|
|
ange_black69
Senior Newbie 
|
 |
«
Reply #6 - Posted
2013-04-23 05:36:39 » |
|
@gouessej je n'ai jamais dit que c'était une excuse ! Je rejoins l'idée de heroes, c'est pas parce que je parle pas anglais, c'est pour prévenir les personnes qu'ils doivent être indulgent car ce n'est pas ma première langue ,( bien que j'étudie beaucoup ) Anyway, When i say : "real Time " i dont mean multi player but single player without turn by turn ... Yes i write programm, i study java since 1 year and a half , but all îv done was small project for my own utility etc... So that why i want to create a game as a challenge ... It´s all , îv study 2 pattern for now : strategy and décorator I thank people who CAN help me!
|
|
|
|
alaslipknot
|
 |
«
Reply #7 - Posted
2013-04-23 09:03:56 » |
|
start hereand what you said doesn't mean "real-time" 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."
|
|
|
teletubo
|
 |
«
Reply #8 - Posted
2013-04-23 13:43:16 » |
|
@gouessej je n'ai jamais dit que c'était une excuse ! Je rejoins l'idée de heroes, c'est pas parce que je parle pas anglais, c'est pour prévenir les personnes qu'ils doivent être indulgent car ce n'est pas ma première langue ,( bien que j'étudie beaucoup )
Don't worry, we do excuse you, but you have to show respect to gouessej since he ranks first in baguette length with a whooping 11.7cm !
|
|
|
|
SHC
|
 |
«
Reply #9 - Posted
2013-04-23 15:22:57 » |
|
Here's the list of tutorials I have posted when alaslipknot asked the same. @alaslipknot I think you need a tutorial to get started. Here's a list of tutorials from this site. These should get you started well. I also recommend to see the Zetcode Java2D Games TutorialFirst 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. In the starting, try to make console games, like adventure ones, like Press W to go North. Press S to go South. Press A to go West. Press D to go East.
>> W
You went North. You found .....
And soo on. 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.
|
|
|
|
Games published by our own members! Check 'em out!
|
|
ange_black69
Senior Newbie 
|
 |
«
Reply #10 - Posted
2013-04-23 17:13:11 » |
|
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
|
|
|
|
Bassex96
|
 |
«
Reply #11 - Posted
2013-04-23 17:55:47 » |
|
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 hereWhen 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.
|
|
|
|
ange_black69
Senior Newbie 
|
 |
«
Reply #12 - Posted
2013-04-23 19:15:08 » |
|
I'm agree
|
|
|
|
alaslipknot
|
 |
«
Reply #13 - Posted
2013-04-23 19:32:14 » |
|
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.
it's not a real problem if you find your answer easily by doing a little google search 
|
"It's not at all important to get it right the first time. It's vitally important to get it right the last time."
|
|
|
Jimmt
|
 |
«
Reply #14 - Posted
2013-04-23 23:25:49 » |
|
it's not a real problem if you find your answer easily by doing a little google search  I know I'm disagreeing with you a lot, but seriously, what kind of talk is that. Are you just trying to bump up your post count or something?
|
|
|
|
HeroesGraveDev
|
 |
«
Reply #15 - Posted
2013-04-23 23:30:41 » |
|
it's not a real problem if you find your answer easily by doing a little google search  A real problem is not something you can find with a Google Search. A real problem is not something you just come here and ask before doing anything yourself. A real problem is a problem that needs to be solved with multiple Google Searches and a bit of thinking.
|
|
|
|
ange_black69
Senior Newbie 
|
 |
«
Reply #16 - Posted
2013-04-24 07:36:30 » |
|
Ok ok guys , hum.. In about 1 week i start my game and i post regulary my code here if i'v problem and i'v find a solution ... What engine CAN you tell me for what i want to do?
|
|
|
|
Jimmt
|
 |
«
Reply #17 - Posted
2013-04-24 15:35:20 » |
|
Ok ok guys , hum.. In about 1 week i start my game and i post regulary my code here if i'v problem and i'v find a solution ... What engine CAN you tell me for what i want to do?
Engine? Just use libGDX...
|
|
|
|
Zhon
|
 |
«
Reply #18 - Posted
2013-04-24 17:05:24 » |
|
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
|
|
|
|
tyeeeee1
|
 |
«
Reply #19 - Posted
2013-04-24 17:19:46 » |
|
offtopic I know english is not your native language, (it's not mine either) but what's that word you keep repeating? i'v
I'm fairly sure that he's trying to spell 'I've'.
|
|
|
|
ange_black69
Senior Newbie 
|
 |
«
Reply #20 - Posted
2013-04-24 17:39:33 » |
|
Its that Sorry for the fault
|
|
|
|
Axeman
|
 |
«
Reply #21 - Posted
2013-04-24 18:41:27 » |
|
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!". 
|
|
|
|
Bassex96
|
 |
«
Reply #22 - Posted
2013-04-24 21:02:21 » |
|
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.
|
|
|
|
ange_black69
Senior Newbie 
|
 |
«
Reply #23 - Posted
2013-04-25 07:21:22 » |
|
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
|
|
|
|
matheus23
|
 |
«
Reply #24 - Posted
2013-04-25 19:24:09 » |
|
Well I've got a longer... well... wait...
|
|
|
|
Bassex96
|
 |
«
Reply #25 - Posted
2013-04-25 19:39:46 » |
|
^^^ Haha
---------
I would use LibGDX. Slick2d is no longer maintained and is buggy.
|
|
|
|
ange_black69
Senior Newbie 
|
 |
«
Reply #26 - Posted
2013-04-26 19:42:45 » |
|
So libgdx is apparently the best choice ? ... Ok i Will Try , thank you 
|
|
|
|
Bassex96
|
 |
«
Reply #27 - Posted
2013-04-26 20:09:18 » |
|
I would say so. I love it so far. Also, there is an appreciate button at the top of each post for when you get help, etc. 
|
|
|
|
ange_black69
Senior Newbie 
|
 |
«
Reply #28 - Posted
2013-04-27 21:28:05 » |
|
Ok i go my way with libgdx , but CAN i have just help for setting up a project with this lib Should i use the automatic project setup , or just do this manually ?
|
|
|
|
davedes
|
 |
«
Reply #29 - Posted
2013-04-27 22:56:24 » |
|
The project setup tool is there to make your life easier. 
|
|
|
|
|