Hey all!

I’m Level1Hero. I’ve been programming in GameMaker:Studio for going on about 5 years now, and in that time I’ve seen a lot of two things: people who want pixel-perfect collisions, and people who want smooth 8-direction movement (you know, without the speed-up that occurs when moving diagonally). If you can think of an iteration on the phrase “stop speed increase on diagonal” or “pixel perfect movement,” I’ve Googled it. A ton of people have. Chances are you have too! And while there is a lot of code out there to help you make do, it doesn’t feel like anyone has provided any definite source of help.

That’s where this asset comes in!

This is a super simple, smoothbrain, no-bones-about-it 8-way movement and pixel-perfect collision code for GameMaker: Studio 1.4. It uses 3 scripts, 2 objects, and that’s it. Is it chunky? Like peanut butter. Is it elegant? About as elegant as a car crash. But hot dang, it works! And there’s a motto I live by: “If you can’t work smart, work hard.” We would all love to accomplish everything we need in 7 lines of code using concepts that are way beyond us, but sometimes you just need a solution. What matters isn’t honing something down to perfection – sometimes it’s just getting the thing done!

So, for all 14 of you still using GameMaker: Studio 1.4 like me (IMO the definitive and highly superior GM version, don’t @ me), rejoice! Whether you’ve banged your head against your monitor for hours or days or just want a quick fix to get a project up and running, I hope you’ll take a chance and throw some spare change at my face to buy this code. You can always improve on it, or maybe it will help uncover some missing piece of the brain-puzzle you’ve been struggling with on your project. If you can become a better programmer in the process, I’ll be happy.

Thank you for reading this far. Your cookie’s in the mail šŸ™‚

  • Level1Hero

Source: itch.io