-- -- 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 function setup=function() -- system.components.screen.bloom=0 -- system.components.screen.filter=nil -- system.components.screen.shadow=nil print("Setup complete!") end -- updates are run at 60fps update=function() if setup then setup() setup=nil end local ctext=system.components.text local bg=9 local fg=system.ticks%32 -- cycle the foreground color ctext.text_clear(0x01000000*bg) -- clear text forcing a background color ctext.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.