Racemaniac
Scorched GP programmer
i was just playing with fenix a bit, using the draw_line or so command.
i tried this little process:
whatever i do, the line doesn't change... (if i make the process show it coords on screen, you see them change...)
if i put it like that, a line gets drawn once...
although, some other testing revealed something might be happening to the colors or so, but i can't figure out what's happening here... i already knew the draw commands sucked, but what's this?
i tried this little process:
Code:
process line(x,y)
begin
loop
if(key(_up))
y--;
end;
if(key(_down))
y++;
end;
if(key(_left))
x--;
end;
if(key(_right))
x++;
end;
DELETE_DRAW(0);
draw_line(160,120,x,y);
frame;
end;
end;
whatever i do, the line doesn't change... (if i make the process show it coords on screen, you see them change...)
if i put it like that, a line gets drawn once...
although, some other testing revealed something might be happening to the colors or so, but i can't figure out what's happening here... i already knew the draw commands sucked, but what's this?