Posted: Thu Jun 10, 2004 6:24 pm Post subject: (No subject)
ahh fawk now when i put it in "for" is like a loop so when i click it freezes everything else... how do i make it not do that AHHHHHHH i had it all working u know u click it expands then implodes but the for loop is like .... it gets stuck in it until its done how can i make everything else keep going at same time??
Sponsor Sponsor
MOUSECORD
Posted: Thu Jun 10, 2004 6:43 pm Post subject: (No subject)
see
code:
procedure mouse
var mousex, mousey, button : int
mousewhere (mousex, mousey, button)
if button = 1 then
for rad: 1..25
cls
drawoval (mousex, mousey, rad, rad, 66)
delay(25)
end for
for decreasing rad: 25..1
cls
drawoval (mousex, mousey, rad, rad, 66)
delay(25)
end for
end if
end mouse
loop
cls
mouse
delay(25)
View.Update
end loop
if i put something else in the loop say one of my misiles for the game (missile command) the missile lags until the mouse procedure is finished.... is there any way to get around this and still have the same Mouse Procedure affect ... i really need this anyone knows??
aside
Posted: Thu Jun 10, 2004 8:56 pm Post subject: (No subject)
is there a limit of boolets you can shoot? if so, then it would be easier to do.
aside
Posted: Fri Jun 11, 2004 12:00 pm Post subject: (No subject)
if you are sick and tired of this, you can just use fork. it's not recommended, but if you are just lazy, go ahead.