Screen Tearing / Wavy Effect in GameMaker Studio 2 (using Surfaces)

After playing Environmental Station Alpha, I decided I wanted to implement the screen tearing effect Hempuli is using in his game. I didn’t know how he achieved it so I had to start from scratch and think about different approaches. Knowing nothing about shaders, I was left with surfaces. I jotted down some code and…

Guide to develop low resolution 2D platformers with smooth movement and pixel perfect collisions in GameMaker Studio 2 (with slopes)

This guide explores the ins and outs of making low resolution 2D Platformers with both pixel perfect, precise collisions (with slopes) and sub-pixel, smooth sprite movements. Turns out you CAN have smooth low res graphics.

Sprites with different images dimensions in GameMaker Studio 2

Sprites with different images dimensions in GameMaker Studio 2

When you try to import multiple images into a single sprite in GameMaker Studio 2, you could end up with unexpected results. Specifically, if the images have different sizes (width and height), the sprite size will be equal to that of the largest image, but all the other images will be imported stretched to fill…