Developers' Diary

Optimization

Well, today I did some serious drawing engine improvement.

We now have a new type of Guy called Scenery, which has a strictly limited functionality consisting of sitting there and doing nothing at all. At the moment they can’t even animate, be transparent, or have a tint. We could add those functions in later if we find that we need them.

We now only redraw the map layer guys when a moving guy passes over them. This means we save a ton of cost that we were expending to redraw every single map tile every single frame. I made an awesome effect to test this; it causes the color of the scenery to fluctuate wildly each time it’s redrawn. (Jules, you can see it by uncommenting line 217 in guys.py.)

I started an experimental algorithmic shadow rendering that I think is kinda neat.

No responses to 'Optimization'.

Comments and pings are currently closed for 'Optimization'.