Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (604)
Games in Android Showcase (171)
games submitted by our members
Games in WIP (654)
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  
  using lwjgl for 2d tile based games?  (Read 4741 times)
0 Members and 1 Guest are viewing this topic.
Offline mitu

Senior Newbie

Java game newbie extraordinaire!

« Posted 2003-03-12 07:41:11 »

Another hopeless newbie question from me!  Grin

I've been having a quick look at all the lwjgl examples I could get my hands on, but they all seem to be 3d. How suitable is lwjgl for creating 2d tile based games, and are there any examples I could look at, or is there anyone who could give me a little nudge in the right direction?

Much appreciated. Smiley

Offline cfmdobbie

Senior Devvie

Medals: 1

Who, me?

« Reply #1 - Posted 2003-03-12 08:20:36 »

A 2D tile-based game shouldn't be a problem.  While OpenGL is used frequently for 3D graphics, it's a general graphics library that works well in 2D too: it provides a 2D orthogonal viewing transform, 2D vertices etc, you can disable the Z-buffer and such if you really don't need them, and textured polygons tend to render very fast on today's hardware.

GameDev have a load of articles on writing tile-based games here:

You'll need to learn how to draw textured polygons:

That should give you a good start!

Hellomynameis Charlie Dobbie.
Offline princec

« JGO Spiffy Duke »

Medals: 556
Projects: 3
Exp: 16 years

Eh? Who? What? ... Me?

« Reply #2 - Posted 2003-03-13 19:32:53 »

I've already written a 2D tile-based game engine, and it seems to work just brilliantly. It's possibly going to be my next game, or maybe one for the start of 2004 - "Quest for the Holy Grail".

Cas Smiley

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline thaaks

Junior Devvie

Medals: 1
Projects: 1

« Reply #3 - Posted 2003-04-02 16:42:26 »

Is this the SPGL from Sourceforge?
And if yes, would you mind in giving clueless newbies like me a few hints in getting started with SPGL?

Any tips welcome Wink

Offline princec

« JGO Spiffy Duke »

Medals: 556
Projects: 3
Exp: 16 years

Eh? Who? What? ... Me?

« Reply #4 - Posted 2003-04-02 17:12:53 »

Well, rule no. 1 with the SPGL is that I can break it whenever I feel like it Smiley But it exists mainly as a source of know-how: you can learn how to do some things with it and write your own code if you like based on it.

If you actually want to use it - well, that's another story! I've not got enough time to explain how it works right now because I'm dead busy coding. Maybe later in the year.

Cas Smiley

Offline thaaks

Junior Devvie

Medals: 1
Projects: 1

« Reply #5 - Posted 2003-04-03 04:51:03 »

Sneaking is fine for me. And I do understand that you have better things to do (finishing Alien Flux) than writing documentation  Grin

Pages: [1]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.

bilznatch (27 views)
2015-08-04 11:03:17

SHC (44 views)
2015-08-01 03:58:20

Jesse (25 views)
2015-07-29 04:35:27

Riven (48 views)
2015-07-27 16:38:00

Riven (26 views)
2015-07-27 15:35:20

Riven (28 views)
2015-07-27 12:26:13

Riven (19 views)
2015-07-27 12:23:39

BurntPizza (42 views)
2015-07-25 00:14:37

BurntPizza (56 views)
2015-07-24 22:06:39

BurntPizza (35 views)
2015-07-24 06:06:53
List of Learning Resources
by gouessej
2015-07-09 11:29:36

How Do I Expand My Game?
by bashfrog
2015-06-14 11:34:43

List of Learning Resources
by PocketCrafter7
2015-05-31 05:37:30

Intersection Methods
by Roquen
2015-05-29 08:19:33

List of Learning Resources
by SilverTiger
2015-05-05 10:20:32

How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21 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!