You really need to use named constants instead of those numbers, and changing the order of drawing and processing user input will stop the square from going beserk when you try to move right into the wall.
platform tile collision help
BlitzMax Forums/BlitzMax Beginners Area/platform tile collision helpThe 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.