[Gambas-user] DoEvents ?

Benoit Minisini gambas at ...2...
Mon Apr 21 12:50:33 CEST 2003


Le Lundi 21 Avril 2003 00:43, LUCIEN BASNOIS a écrit :
> Hello,
> I will make a game with GAMBAS using the Draw class..... but, isn't
> here a
> "DoEvent" function in GAMBAS ?!! It should be to be able to do a real
> graphic
> system.... If you know how I can replace it please say me how ! :)
>
> Thanks, and again: sorry for my bad  english
>
> Benjamin D.

Hi, Lucien

Use the WAIT instruction.

But, for a game, you shouldn't use that. You should draw each frame of your 
game in response to a timer event.

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list