How to make a platformer in Gamemaker (the easy way) #5

Channel:
Subscribers:
11,800
Published on ● Video Link: https://www.youtube.com/watch?v=Z64RL4EYFN0



Duration: 0:00
687 views
35


This platformer video tutorial series teaches you how to create a platformer in simple steps.

This time we do add an additional sub state that is used to define if we can clip through specific walls. One codition to enter it is to have these clip/jump through walls above the collision mask/bounding box or manually trigger that state when on ground and in idle/walk state.
That's it!

Tldr this video:
It may not work


Blog post mentioned:
https://gamemaker.io/de/tutorials/easy-platformer



πŸ‘‘ 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)

0:00 Explaining what we will do
0:59 Additional drawing of the collision mask/bbox_points
1:42 Drawing of the rectangle which can toggle clipping on
3:04 Adding new variable isClipping that defines the gravity script code
3:30 Extra wall collision check in gravity code if not clipping
5:09 Checking for a codition to enter the clipping state, above bounding box/collision mask
6:33 Defining clipping state and clipping reset condition
11:45 To prevent wonky twitching when enterin manually the clipping state, add vertical buffer of 1, 2,3 pixels to the bounding box collision check
9:06 Enter the clipping state manually in idle/walk state by pressing down
12:15 Recap
12:53 Game shown: Monarchy