Revolution much slower then Hypercard

Geoff Canyon gcanyon at
Mon Feb 11 10:40:00 EST 2002

At 2:06 AM -0700 2/11/02, Nelson Zink wrote:
>Can you speed this up?
>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

Do you actually need paint graphics? Using object graphics would work better unless you actually need paint. This will create a graphic oval:

on mouseUp
  create grc "aNewCircle"
  set the style of grc "aNewCircle" to "oval"
  set the rect of grc "aNewCircle" to 100,100,300,300
end mouseUp

If you need paint, is it just a circle you're after? If so then this is very quick:

on mouseUp
  choose oval tool
  set the lineSize to 5
  set penColor to "blue"
  drag from 100,100 to 300,300
  choose browse tool
end mouseUp



More information about the Use-livecode mailing list