Tuesday, April 9, 2013
I have rewritten the class that creates the map tile. I now have the ability at run time to change the number of tiles displayed on the x and y, and their size in on the fly. This is the base code for developing different resolutions on varied devices. It took some time but all the main parts are in and working.
My next step is to get a second layer drawing on top of the base map. It will contain a list of objects. For example, the player, weapons, enemies, ...
player = player(pos,health,move,attack,defense,isActive,IsDead,moveList[#,pos])
The moveList is the returned x and y cordinates from the A-star function
Just a quick update bease the next episode of Game of Thrones is calling me.