123456789101112131415161718192021222324252627282930313233343536---- Paste your code below and click on 'RUN' to start your application :D--hardware,main=system.configurator({mode="fun64", -- select the standard 320x240 screen using the swanky32 palette.update=function() update() end, -- called repeatedly to update+draw})-- we will call this once in the update functionsetup=function()-- system.components.screen.bloom=0-- system.components.screen.filter=nil-- system.components.screen.shadow=nilprint("Setup complete!")end-- updates are run at 60fpsupdate=function()if setup then setup() setup=nil endlocal ctext=system.components.textlocal bg=9local fg=system.ticks%32 -- cycle the foreground colorctext.text_clear(0x01000000*bg) -- clear text forcing a background colorctext.text_print("Hello World!",34,15,fg,bg) -- (text,x,y,color,background)end
Just paste your code into the editor and click RUN to start your application.
Option 1
Click on the game and and press F11 to run the app in fullscreen mode. Please enable WebAssembly if you're running the Edge browser.Option 2
Go fullscreen. The size of the game screen will resize according to your presets; ie. move the divider to make it bigger or smaller.FunPad is powered by Gamecake, WebAssembly JS and Lua.