Monday, 20th January 2025
As per my New Year Goals blog post, I'm currently developing a 2D Game Library, which I've now named TinksJS, after a cat I know...
If you'd like to have fun making 2D games, but not have to get into a really complex system, I think TinksJS will be right for you.
I've been quite busy working on this!
I wanted people to be able to edit the examples, with syntax highlighting and so on. Luckily there's an excellent library out there that does this called Ace. It was pretty easy to setup and I'd highly recommend it if you want a syntax highlighted code editor on your site.
Last few days I've mainly worked on the switching between Embed, Fill Window and Full Screen functionality of TinksJS. It might sound simple, but you have to cope with the user resizing the window or scrolling, exiting full screen with F11, and a buncha other stuff. Took me a while to fit all the pieces together but I think that's pretty solid now.
On its Reference Page, everything from tj.init() to tj.loadImage() is all working. Now the basics is all sorted I should be able to get more into actually drawing stuff, checking input, handling music and so on. Although some of that is already done also to some degree, I just haven't made all the documentation yet. xD
Anyways, I hope you're looking forward to TinksJS! If you'd like to stay up to date, be sure to follow me on one or more of my socials or subscribe to this site's RSS feed!