Welcome to Dofi! Dofi is an open source fantasy console written in the C programming language, bundled w/ a few quirky features.
so you wanna get started, huh?
...
good news are, it's quite simple! when you first boot dofi, you are shown a boilerplate code with the three main functions:
init()
update()
draw()
gfx.pset(x, y, r, g, b)
! below there's (another) list showcasing the system functions:gfx.pset(x, y, r, g, b)
Sets a determinate pixel on the screen. DO NOT GO OUTTA BOUNDS!!!!
gfx.sprite(id, x, y)
Draws a sprite onto the screen! Make sure it actually exists. x and y are used to determine its position.To execute your very own (and possibly working) code, just click the play button! It'll let you know if there are any syntax errors :3