
08-17-2006, 08:08 AM
|
Banned
|
 |
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
|
|
Use a for() to check every pixel for blockage between where the player is and where the player is moving to in the next step. When the player is blocked, move the player to the previous pixel. |
|
|