Ex Why Zee

I got a LOT of work done today as far as reorganizing the objects in the code goes. It’s… cleaner… not sure how to explain. I also delegated the storage of tile data to its own class (in non-jargon, a class is a sort of container for data and functions). So a tile will contain the actors and objects sitting on it, where it needs to be drawn on the screen (without camera offset, but INCLUDING a new drawZ value for height. Nifty!), the tile image it uses, and it also handles its own drawing events and has been integrated into the A* algorithm to allow me to give a movement cost to a tile other than 0(empty) or -1(blocked).

This transfer to allegro 5 broke the thing that allowed me to put a mouse selector onto the isometric map, so I’ll have to fix that later. Hassle.

Image

 

Advertisements

Posted on 04/02/2012, in Uncategorized. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: