I built a new game called Blade Warriors. It came out of some of the previous blog entries.
It's got a couple of cool things going on. There is an isometric grid being displayed. This grid is built with javascript and css. I used a familiar layering technique.
- Build the floor first
- Each tile is it's own div with a unique id (IE: tile_x_y)
- Lots of complicated mathmatics to get the exact positioning right, I just kinda played with the numbers till they all fell into place.
- Once the floor is built I then place objects on top of the tiles
- Once the objects are there I placed the unit images on top
I'm going to go back and examine my analytics log and see what's happening there.
0 comments:
Post a Comment