Quote:
Originally Posted by Emera
player.onwall player.x, player.y?
|
onwall() is
not part of the player object. Also, it will
only check for a single pixel. Things like
onwall(player.x + 1.5, player.y + 2) are common, since that'd be approximately the center of the player's bounding box.