Walkable area in point and click game.

BlitzMax Forums/BlitzMax Beginners Area/Walkable area in point and click game.

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

check out the MovePlayer() function although i'm not completely happy with it, it was a very quick effort to try to get movement and deserves more thought and time put into it.

before any actual movement of the player a certain way, it checks to see if a collision will occure if the player is moved in that direction of that movement speed, if no collision then it proceeds to move the palyer that direction and if theres a collision it'll skip moving the player that direction ( or theoretically should, like i said still some bugs in that department. it actually works if its straight on ie up/down left/right but the problem occurs on moving in angles)