Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (576)
games submitted by our members
Games in WIP (497)
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  
  Can anyone start me off?  (Read 1376 times)
0 Members and 1 Guest are viewing this topic.
Offline bizkut

Junior Newbie





« Posted 2007-02-01 16:16:00 »

Ok, I am new to Java, I have a decent amount of GUI and such, but no Graphical abilities at all. i'm supposed to make a mildly complex game, but After a few tries with source codes, I still have failed to produce a simple picture. Does anyone have a simple game source code that can involve maybe a guy that moves around on key command, not environments or anything? I just need to see code to understand how to do this. A few classmates of mine are ahead of the class so we haven't gotten to this stuff yet, so we're just feeling around in the dark here.
Offline kappa
« League of Dukes »

JGO Kernel


Medals: 70
Projects: 15


★★★★★


« Reply #1 - Posted 2007-02-01 16:27:21 »

depends what you want to do the game in, you could try java 2d, but personally i would recommend you go for a java opengl binding.

You could try http://www.lwjgl.org the download contains a space invaders demo which is most easy to understand.
Offline ravenger

Senior Newbie





« Reply #2 - Posted 2007-02-01 16:56:38 »

well, you could ofcourse check kevin's tutorials on Space Invaders. They give you a nice insight and should get you started like they got me going Wink. The link is www.cokeandcode.com/tutorials Smiley
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline bizkut

Junior Newbie





« Reply #3 - Posted 2007-02-01 23:51:20 »

Hmm, the spave invaders looks promising, thanks for the tips and help guys.
Offline 106498

Senior Newbie





« Reply #4 - Posted 2007-04-12 06:41:30 »

advice from other noob:

I found this tutorial very easy to follow as it builds up from a small beginning instead of doing a whole big game at once
http://www.javacooperation.gmxhome.de/TutorialStartEng.html
(yes i call spaceinvaders a big game!!).

Offline fletchergames

Senior Member





« Reply #5 - Posted 2007-04-12 17:44:55 »

Buying either of the following 2 books would be helpful: Developing Games in Java, Killer Game Programming in Java.  You can get them cheaply from Amazon.com.  KGPiJ is from O'Reilly, so you can probably buy it as an ebook.
Offline Jeff

JGO Coder




Got any cats?


« Reply #6 - Posted 2007-04-13 02:28:02 »

Since this is a class assignment i assume there are specific ways they want you to do this,
such as with Java2D.

If not though then I agree with going to OpenGL BUT trying to use raw OpenGL, which is intended for 3D, as a 2D API can be pretty intimidating not to mention needing some pretty advanced math (vector algebra, which typically is taught *after* calculus.)

I'd recommend instead you look at our own Kev Glass's Slick API.  Hes done all
the hard work of "taming" OpenGL for 2D games for you.




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
Offline ddyer

Junior Member


Medals: 2



« Reply #7 - Posted 2007-04-23 21:20:08 »


Designing drawn graphics with sizzle is a fine art.  I also lack the required talent, so I've
adopted the style of using graphics based on images of real objects.  They look
great, and only rudimentary graphic ability is needed.

see :http://www.boardspace.net/ for games using this graphics style
howto page, with sample code : http://andromeda.com/people/ddyer/java/imagedemo/transparent.html
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.

xsi3rr4x (14 views)
2014-04-15 18:08:23

BurntPizza (12 views)
2014-04-15 03:46:01

UprightPath (25 views)
2014-04-14 17:39:50

UprightPath (11 views)
2014-04-14 17:35:47

Porlus (28 views)
2014-04-14 15:48:38

tom_mai78101 (50 views)
2014-04-10 04:04:31

BurntPizza (109 views)
2014-04-08 23:06:04

tom_mai78101 (209 views)
2014-04-05 13:34:39

trollwarrior1 (177 views)
2014-04-04 12:06:45

CJLetsGame (184 views)
2014-04-01 02:16:10
List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:05:20
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!