Revolution much slower then Hypercard
Shao Sean
shaosean at unitz.ca
Mon Feb 11 06:04:01 EST 2002
for starters i'd probably store the result of 1.5*pi so it wouldn't have to
do the calculation every loop through the repeat and maybe the addition into
a variable too
----- Original Message -----
> on mouseUp
> select card image 1
> delete card image 1
> put 300 into XX
> put 300 into YY
> put 200 into RR
> choose brush tool
> set brush to 32
> set brushcolor to "blue"
> put -((pi/2)-(pi/584)) into Rad
put 1.5*pi into endRad -- ADDED
put (2*pi)/584 into addToRad -- ADDED
>
> #repeat until Rad>=1.5*pi -- COMMENTED OUT
repeat until Rad >= endRad -- ADDED
> click at XX+round(RR*cos (Rad)),YY+round(RR*sin (Rad))
> #add (2*pi)/584 to Rad -- COMMENTED OUT
add addToRad to Rad -- ADDED
> end repeat
>
> choose browse tool
> end mouseUp
>
> There's slow and then there's slow.
>
> Nelson
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list