PICO-8: Basic Game Loop
Basic Game Loop
This cart shows the basic game loop used in PICO-8.
Notes: The basic idea is that there are three built-in functions in PICO-8 that allow you to structure your game. The first is _init() which happens once at the beginning of your game. Then _update() happens 30 times a second over and over again. _draw() also happens 30 times a second, but after _update() happens.
| Status | Released |
| Category | Other |
| Platforms | HTML5 |
| Rating | Rated 5.0 out of 5 stars (2 total ratings) |
| Author | MBoffin (Dylan Bennett) |
| Genre | Educational |
| Made with | PICO-8 |
| Tags | PICO-8, sourcecode |
Download
Download
game_loop.p8.png 4.5 kB
Install instructions
Save this file to your PICO-8 carts folder. Then load it by typing load game_loop in the command line mode of PICO-8.
