Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (761)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (845)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  need help sorta  (Read 4048 times)
0 Members and 1 Guest are viewing this topic.
Offline chris_gillis

Junior Newbie

Java games rock!

« Posted 2003-10-30 22:28:25 »

I'm a veteran Java programmer. I dont know a lot, but I do know quite a bit, I've finished a Java Course which goes into the basics and most of the advanced stuff. I've looked at a few tutorials online, but now where do I go?

I am very interested in game programming, but I don't know how to apply my understanding of Java to the concept of gaming.

My main focus is on a little 3D shooter, maybe a 2d tile based RPG, a MUD would be nice.

What should I read to get started on these topics.

(the 3D aspect is what i REALLY want to do, but would 2D be an easier start for me?)
Offline oNyx

JGO Coder

Medals: 2

pixels! :x

« Reply #1 - Posted 2003-10-31 03:28:19 »

2D is ofcorse easier to do than 3D stuff.

Also the genres you mentioned are way too hardcore for the beginning. You need to get used to the basic concepts of game programming. A gameloop, input, drawing of graphics (and their drawing order), animation, timing, sound and ofcorse logic.

Pick a small project first wich covers all of these aspects. A puzzle game is perfect for the beginning. You have everything there you need... but the most important factor is that you don't need that much media for doing such a game.

"What a puzzle game? I hate puzzles!", I hear you say. Well... I'm not really a fan of that sterotypic puzzle games, too. However there are nice puzzle games... so called "logic mazes" like "Mummy Maze" (over at it's based upon "Theseus and the Minotaur" and I really enjoyed it. Or "Four Rivers" (Shisen) it's a Mahjongg variation. I really like that game therefore I made a speed version of it called "TinyRivers" (you can find it in "Your Games Here" somewere).

Once you are done you'll see tons of things wich you could have solved better and that's the whole point; getting skill. Your first game will just suck... as everyone's first game, but that doesn't matter as long as you've learned something on your way.

Btw welcome to JGO Smiley

弾幕 ☆ @mahonnaiseblog
Offline Jeff

JGO Coder

Got any cats?

« Reply #2 - Posted 2003-10-31 04:12:31 »

You can also look at classic arcade games as good starting projects, someone here a year ago did a really nice PacMan as a first project.

"How to write a game" really breaks down into 4 areas.  Game design, art, coding techniques and the Java syntax.

The first is a long subject unto itself and is more art then science.
The second is a necessary part of any game project.  You can design your code with "programmer art" but your going to need some good looking art (and sounds and such) to have a real professional looking end product.

( Look at cas's Alien Flux for a great example of a technically simple game with good game design and great art.)

In terms of "how do I program a game in java" the answer is you  do it the same as you do in any other language.  Whether youa re doing 2D or 3D there are software "patterns" and techniques for all the fundemental forms of games (platform, isometric, FPS, etc). Any good bookm on programming a given kind of game will tell you the structure and techniques of that sort of game.  Then its just a matter of translating from the syntax of the language its repsented in (typically C or C++) to Java.  People here can help you with that.

For isometric games, I recommend the Premier Press book "Programming Isometric Games in DirectX 7".  Ignore the DX specific stuff but the techniques translate.  In fact, I've done a translation of most of the basic tehniques to AWT already in  a demo called "Scroller" you can download source to from the projects area.

To be honest though, if I were doing a 2D game today in J2SE, I'd probably go cas's route and instead of using AWT for rendering I'd use OGL (JOGL in my case) and do it as mono-planar 3D in the zero plane.

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Online princec

« JGO Spiffy Duke »

Medals: 1037
Projects: 3
Exp: 20 years

Eh? Who? What? ... Me?

« Reply #3 - Posted 2003-10-31 08:04:08 »

>technically simple game
LOL! You ought to take a look under the hood...

If I were a newbie today I'd start with Breakout (my first Java game was AF but I've been coding for 20 years). Breakout gives you that game loop thing and teaches you about soft realtime programming. You only have a paddle to worry about, and no gidrahs, just a brick map.

PacMan is definitely the way to go next. It gives you monsters that need to "think" slightly, which is a whole extra challenge in itself. Using your knowledge of realtime game programming from Breakout it should be fairly easy to code a new game with monsters in it in a similar framework.

Then I'd go on to learn about scrolling. Scramble would be a great choice. I'm even thinking of doing my own take on Scramble, as it's one of the best games ever written but often totally forgotten.

Cas Smiley

Offline Jeff

JGO Coder

Got any cats?

« Reply #4 - Posted 2003-11-01 03:33:44 »

>technically simple game
LOL! You ought to take a look under the hood...

No offense intended Cas. Its a GREAT game and itm plays fantastic.  But at least conceptually its pretty simple.  Its not the complex technical concept something like a 3D RPG is.

Actually, games like AF are really great because they show really clearly how important the game design and final polish are. Its not a "breakthrough technical concept", the 2D shooter has been around a long time, but the game deisgn and art really turn it into a uniquely enjoyable experience.

(and yeah, I gotta send you my $20.00 this week, I'm over-due regsitering this beast Smiley  )

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!
Pages: [1]
  ignore  |  Print  

EgonOlsen (347 views)
2018-06-10 19:43:48

EgonOlsen (341 views)
2018-06-10 19:43:44

EgonOlsen (290 views)
2018-06-10 19:43:20

DesertCoockie (514 views)
2018-05-13 18:23:11

nelsongames (779 views)
2018-04-24 18:15:36

nelsongames (765 views)
2018-04-24 18:14:32

ivj94 (1229 views)
2018-03-24 14:47:39

ivj94 (393 views)
2018-03-24 14:46:31

ivj94 (1056 views)
2018-03-24 14:43:53

Solater (410 views)
2018-03-17 05:04:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 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‑
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!