0 Members and 2 Guests are viewing this topic.
anyways as you can see in the screenie the character still goes offscreeen sometimes, can someone explain to me why this happens?
yeah i've had that issue before.i noticed that you can only pass through the walls if both arrow keys are pressed if you approach the wall
if ((ptest(x/256-1,y/256+1) or ptest(x/256-1,y/256+7)) and not (gkey(3))) xor ((ptest(x/256+7,y/256+1) or ptest(x/256+7,y/256+7)) and not (gkey(2)))
if ((ptest(x/256-1,y/256+1) or ptest(x/256-1,y/256+7)) and (A<<0)) or ((ptest(x/256+7,y/256+1) or ptest(x/256+7,y/256+7)) and (A>>0))