Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Java 

Making a java game

Can someone help me make my first java game with eclipse? I've don't a little java before but not much to understand java.
You're going to know basic AWT to do this.

This website: http://www.kilobolt.com/
has a lot of great help on it.
I hate to say it, but if you've only done a little bit of java, it will be hard to make a game.
Although, with that being said, to make a basic game you pretty much just need to know how to draw things and get key input.

There are lots of tutorials on youtube that will help a lot
https://www.youtube.com/results?search_q...orial&sm=3
Thank you i will check this out and learn more and make my very first java game!
You need to think about the kind of game you wanna make, I recommend a 2d platformer. Then you gotta decide: are you gonna use a lib or not? like lwjgl, slick2d etc. or if you're just gonna use swing with the draw() function using Graphics2D.

Then you need to learn about things like:
threads
the game loop
rendering
drawing
etc.

It's pretty difficult too, good luck.
(Dec 31, 2013 05:22 AM)ObscureCoder Wrote:  You need to think about the kind of game you wanna make, I recommend a 2d platformer. Then you gotta decide: are you gonna use a lib or not? like lwjgl, slick2d etc. or if you're just gonna use swing with the draw() function using Graphics2D.

Then you need to learn about things like:
threads
the game loop
rendering
drawing
etc.

It's pretty difficult too, good luck.

Ok lol i was just thinking like a guessing game or pick a number game to start out with.
(Dec 31, 2013 08:17 AM)skullmaney Wrote:  Ok lol i was just thinking like a guessing game or pick a number game to start out with.

Ah..you should have stated that. I was thinking that you're just another kid who wants to make the next Runescape/Minecraft.
If you'd like to make a guessing game which implements picking numbers, you can use math.random or the random class to pick a random number and until the user doesn't type the number in, loop and scan for input.
Ok lol no im not a kid trying to make minecraft or anything like that im just an 18 year old that wants to learn considering that im taking a class on c++ and thought i might want to try java to see if i like working with coding.
Won't be easy to make a Java based game with the little knowledge you're saying you have.

You need to know your strings, inputs, and methods. If you have enough knowledge there, the rest is preferably easy.
I don't recommend making a Java game yet however if you are really determined http://www.kilobolt.com/ is good site. It teaches the necessary things in Java to make a game.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Java] by TennoApr 7, 2019 12:09 PM 7 192 Apr 7, 2019 12:09 PM
Last Post: Tenno
[Java] by President HolyFeb 8, 2014 11:48 AM 3 190 Feb 8, 2014 11:48 AM
Last Post: Knautschtabak
[Java] by yasjeFeb 6, 2014 04:10 AM 23 457 Feb 6, 2014 04:10 AM
Last Post: yasje