One line collision system - Add casually [GameMaker beta]
There is not much to say besides that YoYo Games added in their beta casually a one line system that does collision checking for you. It does even work on slopes.
This is a really big hurdle for beginners and is a more then welcome addition to GameMakers functions to make a game really fast with no fuss. The function move_and_collide does it all and I cannot stress it, I do love this function already.
Tldr:
- add horizontal, vertical input
- set who is blocking (mostly a wall)
- set a speed how fast to move
- yes, it is really really good
Offical beta release notes:
https://gms.yoyogames.com/release-notes-runtime-NuBeta.html
π Support me and get fresh game art and game maker projects every month:
https://www.patreon.com/1upindie
Follow me on:
πΈ Instangram: https://www.instagram.com/1upindie
π¦ Twitter: https://twitter.com/1upIndie
π¬ Discord: https://discord.gg/gvr98nb
π Udemy: https://www.udemy.com/course/become-a-video-game-developer-with-gms-23/ (See youtube about page for discount)
CHAPTERS
-------------------------------------------------------------------------------------------------------
0:00 The new collision system in action for topdown
01:01 The magic one line function