{{htmlmetatags>metatag-robots=() metatag-title=(BEGIN GAMELOOP | ugBASIC User Manual) metatag-keywords=(ugBASIC,Commodore 64,Commodore PLUS/4,ZX Spectrum) metatag-description=(Manual page for BEGIN GAMELOOP) metatag-media-og:image=(:ugbasic:logo-ugbasic-fb.png) metatag-og:title=(BEGIN GAMELOOP | ugBASIC User Manual) metatag-og:description=(Manual page for BEGIN GAMELOOP) }} ====== ugBASIC User Manual ====== ===== BEGIN GAMELOOP ===== ===== SYNTAX ===== BEGIN GAMELOOP ==== PURPOSE ==== Define the starting point of a game loop. A game loop is nothing more than an implicit loop, within which all the logic of the program (or of the game) runs. The end point of a game loop can correspond to the end of the program or to the ''END GAMELOOP'' statement. In some platforms, it will implictly "sync" the activity with the vertical blank, so the action inside the loop should be executed in a single "frame" of game. ==== EXAMPLE ==== BEGIN GAMELOOP ==== ABBREVIATION ==== BEGIN Gl ==== AVAILABLE ON ==== * Commodore 64 * Commodore 128 (Zilog Z80) * Commodore 128 (MOS 8502) * ColecoVision * * Olivetti Prodest PC128 * Amstrad CPC 664 ==== ANY PROBLEM? ==== If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please [[https://github.com/spotlessmind1975/ugbasic/issues/new?title=ISSUE ON BEGIN GAMELOOP|open an issue]] for this keyword on GitHub. Thank you!===== POWERED BY ===== [[:ugbasic:user:index|{{ :ugbasic:user:logo-ugbasic.png?nolink&600 |}}]]