Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (533)
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 3888 times)
0 Members and 1 Guest are viewing this topic.
Offline mitu

Senior Newbie




Java game newbie extraordinaire!


« Posted 2003-03-12 08: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 Member


Medals: 1


Who, me?


« Reply #1 - Posted 2003-03-12 09: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:
http://www.gamedev.net/reference/list.asp?categoryid=44

You'll need to learn how to draw textured polygons:
http://nate.scuzzy.net/docs/texture/

That should give you a good start!

Hellomynameis Charlie Dobbie.
Online princec

JGO Kernel


Medals: 342
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #2 - Posted 2003-03-13 20: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 Member


Medals: 1
Projects: 1



« Reply #3 - Posted 2003-04-02 18: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

Online princec

JGO Kernel


Medals: 342
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #4 - Posted 2003-04-02 19: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 Member


Medals: 1
Projects: 1



« Reply #5 - Posted 2003-04-03 06: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.

 

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

The first screenshot will be displayed as a thumbnail.

pw (26 views)
2014-07-24 01:59:36

Riven (25 views)
2014-07-23 21:16:32

Riven (20 views)
2014-07-23 21:07:15

Riven (22 views)
2014-07-23 20:56:16

ctomni231 (51 views)
2014-07-18 06:55:21

Zero Volt (46 views)
2014-07-17 23:47:54

danieldean (37 views)
2014-07-17 23:41:23

MustardPeter (40 views)
2014-07-16 23:30:00

Cero (57 views)
2014-07-16 00:42:17

Riven (55 views)
2014-07-14 18:02:53
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
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!