Thanks whoever did that! We have a silent warrior, defending the honour of tea. xD
You can now have a bit of a messabout with DrawLib* live without downloading anything! Thanks to https://ace.c9.io/ which I've used for the syntax highlighted code editor. Things are a bit rough right now and you may spot issues, but progress is being made each day! I've also laid out the reference page better, I think. *DrawLib will be being renamed something else sooon
Bit by bit it's coming together. I thought it would be handy, initially for myself while developing this, to have an FPS counter and buttons for switching between embed, fill window and full screen, and testing those things work. Then I thought why not make that a feature! So now it is. You can add a quick FPS counter with dl.showFPS() and buttons for embed/fill window/full screen with dl.showDisplayModeButtons().
These are just design for debugging/speed, but you'll be able to make your own custom FPS counter and switch display modes programmatically with your own buttons/UI etc too. Was gonna add the counter/buttons to all the examples thus far but I've gotten too tired lol. First thing in the morning! *End of spam.*
Game Library Update: It is now called TinksJS, after a cat 😺 I know. The reference and example pages have new layout since last upload which is hopefully better. There are now examples for the functions from init() to loadImage(). Switching display modes (embed/fill window/full screen) is now a lot more solid. More coming soon! Now I go play video games. 😁