Saturday, June 14, 2008

RubyWeekend Hour 18-19: MapLaw Finished!

The mapengine coding has spilled over to the next hour because I was in the middle of coding. It was only after the end of hour 19 that I was able to stop coding.

In that time, I finished porting MapLaw. MapLaw is basically the physics of the game world. The law I impelemented is that for some map tiles, you cannot go through it, effectively making them walls.

Now, I just need to apply it to enemies too. It also mean that I will need to reprogram the roam AI so they don't get stuck forever when they hit the walls.

No comments: