Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (539)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (603)
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 2571 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 popcap.com) 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!

http://wiki.java.net/bin/view/Games/JeffFAQ
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline princec

« JGO Spiffy Duke »


Medals: 434
Projects: 3
Exp: 16 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 »

Quote
>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!

http://wiki.java.net/bin/view/Games/JeffFAQ
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

rwatson462 (35 views)
2014-12-15 09:26:44

Mr.CodeIt (26 views)
2014-12-14 19:50:38

BurntPizza (53 views)
2014-12-09 22:41:13

BurntPizza (86 views)
2014-12-08 04:46:31

JscottyBieshaar (48 views)
2014-12-05 12:39:02

SHC (62 views)
2014-12-03 16:27:13

CopyableCougar4 (64 views)
2014-11-29 21:32:03

toopeicgaming1999 (126 views)
2014-11-26 15:22:04

toopeicgaming1999 (117 views)
2014-11-26 15:20:36

toopeicgaming1999 (34 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
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
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!