Player collision and state reset [#5 Remake Undertale in GameMaker ]
This is the 5th in a short series of remaking the battle system which you see in Undertale in GameMaker.
What is Undertale?
Undertale is a video game made also in GameMaker by Toby Fox where
you play as a child that is being trapped in an unknown world and your job in this linear story is to progress. The difference is that you can genocide monsters, be neutral or even befriend them. This throws the concept of enemies being simply neutral farm on it's head.
// Part 5
This time we need to do a collision check if the player heart is clipping/colliding with any bullet. If yes, enter the hit state and run down a hit timer( which makes the player invulnerable). Once the timer is run down reset all values to the default ones and set the state back to "idle" so that the player can get hit again. That is it!
🚧 For the future: This series is under construction. There will is a free downloadable project file for everybody, so you can grab and do whatever you like to do with it (you can credit me, but not necessary). Also, this video series will be handled like my Hotline Miami series. If the views drop off a cliff (that I do see happening) it will be then discontinued.
Template project file found here:
https://discord.com/channels/582918792145928202/1205513075273502740
👑 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 What we will do
0:50 Setup a collision with all bullets
2:58 Run down a hit timer in order to reset back to an idle state
Other Videos By 1up Indie
Other Statistics
Undertale Statistics For 1up Indie
1up Indie currently has 7,976 views spread across 7 videos for Undertale. His channel published less than an hour of Undertale content, making up less than 0.91% of the total overall content on 1up Indie's YouTube channel.