screen.resolution.set (512,384)
screen.set (BACK)
pattern.display ("avo\bubble.gif")
screen.end ()
screen.set (FRONT)
text.display ("Press a key to exit.",CENTER,350)
screen.end ()
@icon=icon.load ("avo\dinosaur.png")
icon.persistence.set (@icon,ON)
icon.display (@icon,CENTER,CENTER)
repeat ()
icon.position.set (@icon,number.random.get (0,512),number.random.get (0,384))
time.wait (0.5)
until (keyboard.get ())
script.stop ()