• Create Account

# lilrooness

Member Since 09 Feb 2012
Offline Last Active Apr 01 2013 04:52 AM

### Isometric Tiling Algorithm

16 February 2013 - 03:34 PM

I am designing a game that will require me to use isometric, tile based style graphics.

I have read posts that just say to draw all of the graphics out and then just rotate the map 45 degrees. Is this the correct way of doing it, or are there some more sophisticated algorithms out there for dealing with this style of graphics. I want enough control so that I can implement collision detection and path finding (already done both of these things in some simple 2D tile based games) I will be using the Java Programming language, so I would prefer any sample code (if any) to be either sudo or in java.

There don't seem to be any good tutorials out there covering how to do it in anything other than action-script, and even then the guy just uses a library to handle most of it for him, he doesn't explain any of the techniques that are used. So if anyone knows of a good tutorial (video or text) please post a link.

One more question referencing the actual creation of the graphics. When I am drawing the tiles in Photoshop, do I draw them already rotated on a rectangular canvas, or do i draw them, un-rotated and then rotate them in the engine ?

### How do I use face data in an OBJ file ?

05 February 2013 - 05:32 PM

After watching this tutorial by the coding universe (), I am confused as to what face data (denoted by an f at the start of the line) in a .obj file is, and how it is supposed to be used.

As an exercise to try and find this out for myself, I experimented and wrote a parser for an obj file in java, that only loaded the vertex and normal data from the Stanford bunny model. I rendered it using glDrawArrays, but it came out contorted, with lines connecting triangles that shouldn't be connected.

It looked like this:

http://derp.co.uk/9a0ba

You can just see the basic shape of the bunny under all the stuff that isn't meant to be there.

Do I need the face data to render the model ? Can you do it without it ? If so how do you use it and what does it mean ?

### Rogue-Like Game Library. Mac

09 February 2012 - 10:16 AM

I am looking into making a "rogue-like" game, preferably in python/Java/C++ and it has to run on a mac. I have looked into using the libtcod library but there doesn't seem to be an easy way of compiling with that on a mac.

PARTNERS