Refactoring Mostly Complete

Hello everyone; I have some good news: all level objects now derive from the base class I talked about last time, completing a large chunk of the refactoring! Some things are partially broken, such as character hitboxes, but those can be fixed easily and are subject to change anyway, so it’s not a big deal.

Right now I’m currently rewriting the object movement code, since the previous code wasn’t too great on runtime due to its accuracy and was very hard to read. This new method of movement is awesome because if the player manages to get stuck inside a tile or solid object somehow, he/she can easily get his/her character out by simply moving! I wasn’t going to do this at all originally, but since I’m modifying collision detection anyway I figured it was appropriate.

I just wanted to share a quick update on the game’s status; until next time!

Advertisements

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 )

Google+ photo

You are commenting using your Google+ 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 )

Connecting to %s

%d bloggers like this: