Results 1 to 5 of 5
Thread: Programming a Game?
- 12-31-2007, 02:55 PM #1
Member
- Join Date
- Dec 2007
- Posts
- 2
- Rep Power
- 0
Programming a Game?
Hi there,
I'm new to Java programming and have only previously made a logic gate simulation program using the command prompt for input/output.
As part of my university degree I have been asked to create a game that uses a moving object(s). I have never used any of the graphics libraries and so could someone suggest something that would be relatively easy to program? and if possible, suggest how I would go about doing so?
Thank you very much,
GT
- 12-31-2007, 05:01 PM #2
Member
- Join Date
- Dec 2007
- Posts
- 16
- Rep Power
- 0
Although not very experienced myself with the graphics side of Java, I've made a few attempts.
I'd say get to grips with Thread, and Canvas. Canvas is pretty much what you draw to, and the thread can keep updating the canvas so that you can see the changes being made.
There's probably a much easier way of doing it, and whole articles explaining how to go about games programming with Java. I'm sure a google search will give you the right results.
Also, you might want to say whether you want this to be applet or application based.
- 12-31-2007, 05:07 PM #3
Performance
Hello
It is also important to consider the performance of your game. You will need to use buffers if you want to use Graphic objects to draw stuff. It probably depends on your course, but maybe your educator is looking for something that uses Open GL or some other graphic tool.:D
I am also working on a game. It's a 2D space simulator with asteroids and scenery like planets and nebulas. It has an accurate collision system that functions well even if objects move at great velocities. Asteroids can bounce of each other and create exploding effects.
I am looking forward to hearing about your project.Last edited by tim; 12-31-2007 at 05:14 PM.
Eyes dwelling into the past are blind to what lies in the future. Step carefully.
- 12-31-2007, 05:33 PM #4
Member
- Join Date
- Dec 2007
- Posts
- 2
- Rep Power
- 0
The game is supposed to an applet, and needs to be multi player to achieve higher grades. At the moment i'm clueless as to where to start. I've attached the assignment specification in text format (so it will let me upload it).
Thanks for your help. :)
- 01-01-2008, 12:41 PM #5
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
You have to make some steps to do this by yourself depend on the knowledge of Java. Applet comes later, you have to get few things to touch before, like how to move an object randomly and stuff. Start from that point and step by step involve it into an applet.
Similar Threads
-
Implementing "Game Over" in Minesweeper game based on Gridworld framework.
By JFlash in forum New To JavaReplies: 2Last Post: 08-05-2010, 04:49 AM -
programming
By abcdefg in forum New To JavaReplies: 9Last Post: 03-10-2008, 10:34 AM -
The words *game* in java programming :confused:
By ibmzz in forum Advanced JavaReplies: 1Last Post: 01-23-2008, 09:23 AM -
java game programming
By gammaman in forum New To JavaReplies: 1Last Post: 12-25-2007, 01:01 AM -
Which book is good for 3D+2D game programming with java
By romina in forum Java 2DReplies: 1Last Post: 08-07-2007, 05:19 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks