Now:
October Challenge 2014
Ends in:

Coming Soon:
Ludum Dare 31
December 5th-8th, 2014

PST: 6 PM
*EST: 9 PM
UTC: 02:00

ConstructionPlease excuse the site weirdness. Mike is making and fixing things. Clocks are probably wrong. Colors are place-holder.

Ludum Dare 31:
Ludum Deals
???
 
Recent:
MiniLD #XX

2D Game in LWJGL with modern OpenGL, Has anyone done it?

Posted by
November 20th, 2013 2:40 am

Hi,

I was planning to create a 2D game with LWJGL for LD. I know my way around OpenGL and everything but I haven’t been able to create a tile system with VBO’s, has anyone done it and / or could you give me any tips for doing it. ? Thanks for any answers.

With modern OpenGL I mean not using glBegin(), glEnd(), glTranslatef();

In other news here’s a link to a forum post about faster rendering in OpenGL with VBO’s, something you should really look in to. Here’s the link : http://www.java-gaming.org/index.php?topic=28209.0

 

Tags: , ,

One Response to “2D Game in LWJGL with modern OpenGL, Has anyone done it?”

  1. whizzter says:

    If you’re doing a “simple” 2d game you’re probably better off with “just” using client side arrays, firstly because they will be simpler to update per-frame (no need to upload data separately from rendering, just update and render) and secondly because you won’t need the extra performance. I did a demo with voxel rendering and if i remember correctly i didn’t see any need for actual buffer objects until i was in the 100k’s of polys. In reality you will probably be fine with “classic” GL in regards to performance on the desktop but the code won’t easily port to mobile.

Leave a Reply

You must be logged in to post a comment.


[cache: storing page]