
-----------------------------------
FearSonic
Mon Feb 02, 2004 9:52 pm

Objects Moving with Different Delays
-----------------------------------
Hey guys, I was wondering if there is a way to objects moving at different speeds accross the screen according to their randomized speed? I have the randomed speed already, but I just need to know how to get it to move at the same time according to the speed. Thanks! :)

-----------------------------------
shorthair
Mon Feb 02, 2004 10:00 pm


-----------------------------------
Well what you need to do is make the random vaiable for the speed the change in the y axis , so say teh speed is 2 , well then your movement will be y + 2, but you  would want this as a variable


so randint speed ... blah blah blah
loop
delay (100) *** so you can see it move ***
drawfilloval ( 0,y,0,0,0,0) 
y =y + speed
exit when y = maxy
end loop



