![]() |
what is onwall detection and how do u do it?
|
Depends on how you're using it.
|
ok...
if your making a moving npc you would do something like
if(!onwall(x-1,y)&&dir=1){ x--; } this basically says if there is no wall to the left of him and he is faced left then he can go left... |
| All times are GMT +2. The time now is 04:10 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.