1 decade ago by ThatAnalog
How would you implement this? How would you determine whether the player is against a wall or not?
This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact
handleMovementTrace: function( res ){ this.parent( res ); if( res.tile.x === wall_tile_# ){ //wall colliding code here } }