0 Members and 1 Guest are viewing this topic.
Hey, ima make you a screenie.
Wow! How did you get slopes to work???Can I use this (or parts of it) for my game?
How does the slope work?
Code: [Select]:./= this means "does not equal to":.X is the players X position and Y is the players Y position::.see if going up slope to the left::If getKey(2) and (X/=1) and (pxl-Test(X+2,Y+7)) and (Y/=1):Y-1->Y:End::.see if just going left::If getKey(2):X-1->X:End::see if going up slope to the right::If getKey(3) and (X/=88) and (pxl-Test(X+6,Y+7)) and (Y/=1):Y-1->Y:End::.see if just going right::If getKey(3) and (X/=88):X+1->X:End
:./= this means "does not equal to":.X is the players X position and Y is the players Y position::.see if going up slope to the left::If getKey(2) and (X/=1) and (pxl-Test(X+2,Y+7)) and (Y/=1):Y-1->Y:End::.see if just going left::If getKey(2):X-1->X:End::see if going up slope to the right::If getKey(3) and (X/=88) and (pxl-Test(X+6,Y+7)) and (Y/=1):Y-1->Y:End::.see if just going right::If getKey(3) and (X/=88):X+1->X:End
No! I don't have a shellWhy is ion better?