16
Support / tile system?
« on: August 14, 2012, 01:06:49 pm »
I need to implement a simple tile system into my 3d game client for npc/prop rendering.. I am using Primitives.getPlane(quad, scale) to generate a small region, but I can't figure out how I could go about making an imaginary 96x96 grid with textures rendered over it.
I have already written a method to load map data from a file and would render the scene like so <regionId, tileId, textureId>
I also would like to be able to not have any negative ids for tiles because it over complicates certain functions I intend on integrating server-sided in the future.
I have already written a method to load map data from a file and would render the scene like so <regionId, tileId, textureId>
I also would like to be able to not have any negative ids for tiles because it over complicates certain functions I intend on integrating server-sided in the future.