
Retro-Progress-2 – Horizontal movement
We all started there… I guess. Horizontal movement.
This is a simple x++ loop that breaks on collision. I like to use additive acceleration and multiplicative friction coefficient… because that’s how it works in real life. Substractive friction works also and might be easier to design.
When I have discovered GMS1.4, I discovered Heartbeast, Shaun and Zach. I got the platformer movement logic (and many more) from their great tutorials. They have shared and share so much valuable tips, lessons and codes for me.
You can find them easily, just for proper credits here are some places:
https://shaunspalding.co.uk/
https://www.heartgamedev.com/
https://zackbellgames.com/tag/game-maker/
The indie dev world is just so great. The Game Maker familly brought me invaluable help during my journey and I can see the same goes for other communities. Sharing is how great games are made