0 Members and 2 Guests are viewing this topic.
Quote from: happybobjr on December 22, 2010, 06:53:06 pmwhat worked?I can't fly anymore...I can't double press up in the air, I mean.
what worked?
Y+1->Y
yes. that would be 65024
.Collision test (ground) and Gravity !If pxl-Test(X,Y+8) Y+(1/4)->Y End !If pxl-Test(X+7,Y+8) Y+1->Y End If pxl-Test(X+5,Y) X-1->X End If pxl-Test(X-1,Y) X-1->X End
ummm. 1/4 shouldn't work. That would be 0.0.25 is truncated to 0
:If pxl-test(X+8,Y):X-1->X:End
:If J and (getkey(1)):Y-1->Y:End
0E040E15040A0A0A
If pxl-Test(X,Y+8)=01->JElse0->JEnd