Quote:
Originally Posted by Crow
You could do that without a capital A ;P
Anyways, I think you should add the checks, just for the sake of it. May help out some peeps.
|
It doesnt really matter how the A is...
update
PHP Code:
//#CLIENTSIDE
function onCreated()
{
disAbleDefMovement();
onTimeout();
}
function onTimeout()
{
nx = player.x;
ny = player.y;
nx += (( keydown(3)) - ( keydown(1)))/16;
ny += (( keydown(2)) - ( keydown(0)))/16;
if ( !( onwall( nx + 1.5, ny + 2))) {
player.x = nx;
player.y = ny;
}
setTimer( 0.05);
}