A summary of my GameMaker assets

Featured

This post serves as a collection of descriptions and links to various GameMaker-related assets and extensions that I have published over time.

Back when publishing it in 2017, I thought it was longer than expected, but it had since grown about twice in size. At least the blog has that "navigation" sidebar now.

Also should answer the "how do I support your work" question that some readers have.

Continue reading

Pasting images as WEBP on Windows

An annotated screenshot showing the same screenshot being 3.1 MB in PNG format and 140 KB in WEBP format when pasted into Discord.

A tale as old as time: I'm playing a videogame with my pals and something interesting happens. I take a screenshot with Alt-PrtScr or Win-Shift-S, paste it into the chat, and then it takes a little bit because screenshots images are copied losslessly and not every platform will compress them.

Granted, I'm not the one to pay for all this storage space, but still!

After doing a "paste into Paint.NET, save as WEBP, upload that WEBP" ritual for a while and falling off a cliff in PEAK a couple times due to doing this mid-session, I decided to investigate.

Continue reading

Preventing Windows from moving the cursor on touch

A diagram shows what's this post is about:

Out of box, tapping a touchscreen display on Windows can move the cursor to touch location and leave it there, which can be an inconvenience on multi-display setups.

I made a macro that moves the cursor back to where it was before touching the screen.

If you use a touch-enabled display on Windows, you might have noticed a certain quirk: when you tap on the touchscreen, Windows might move your cursor to touch location, but will not put it back afterwards, which is an inconvenience if it's a smaller secondary display that you use for macros/etc. or even if you are using mouse/touch interchangeably.

So I wrote an AutoHotKey macro that fixes this.

Continue reading

Grid-based spirals

Good for placing objects around a grid cell! Like this:

A spiral spanning a 9x9 square grid. Points are numbered and lines show the path.
(try a newer browser for an interactive demo!)(enable JavaScript for an interactive demo!)
(click to interact)
Click/tap to select point

You give the function a grid XY and it tells you where the next point should be to have it go in a spiral.

Continue reading