Game Development
November 23rd, 2008
Here is a little screenshot of what I’ve been developing for our Games Module game. Basically it’s been world generation and character control, and lots of difficulty getting a decent collision system going.

I started off with using a hitTest function on all the surrounding cells only (9 in total for the sake of using hardly any CPU), but this led to issues where the character would get permanently stuck a little-way into one of the walls. Not good…
Instead I’ve implemented my own system where I have a function that tests whether the target location, ie. where the player wants to go, is solid or not, and returns true or false as to whether they can move there or not.
Add a Comment

Extra Stuff (Click to find out more!)