GameMaker Studio 2 Tutorial [ADVANCED] - Platformer Collision with Delta Time - [Episode #2]

Channel:
Subscribers:
761
Published on ● Video Link: https://www.youtube.com/watch?v=JOyJaYspvoo



Duration: 19:32
3,441 views
64


Subscribe: ►

Welcome back to episode two of my advanced GameMaker Studio 2 tutorial series! In today's video I cover how to handle collision for use in platforming games, respective of delta time. The code used in this collision tutorial uses a while loop which increments the players position by one pixel, each update, until a collision takes place. Whilst this code is tried and tested for use in many platforming games, the disadvantage of this method is that if the player manages to reach beyond the initial collision check somehow, the while loop may never break, causing the game to crash. In my next tutorial I'll be showcasing an alternative collision method which utilises a for loop, so stay tuned.

Throughout the course of this series I will also be uploading project files which you will be able to download, to follow along with the video. All source files are licensed under Creative Commons Attribution 4.0 International (CC BY 4.0), and are free to use, even commercially. If you find these tutorials useful, please don't forget to like them and subscribe for more of my future content!

You can find a link to the license here: ►
https://creativecommons.org/licenses/by/4.0/

---------------------------------------­----------------------------------------­--------------

PROJECT FILES:

Download Link: ►
http://www.mediafire.com/file/2t7b1u7leiashsw/Episode-2.zip

---------------------------------------­----------------------------------------­--------------

Follow me on social media!

Website: ► https://www.warrenaterz.co.uk/

Facebook: ► https://www.facebook.com/Warrenaterz

Twitter: ► https://twitter.com/TheWarrenaterz

Instagram: ► https://www.instagram.com/warrenaterz

Twitch: ► https://www.twitch.tv/warrenaterz

Discord: ► https://discord.gg/V7Avbt6

Google+: ► https://plus.google.com/ TheWarrenaterz

Steam: ► https://steamcommunity.com/id/Warrenaterz




Other Videos By Warrenaterz


2022-06-01Trip to Crete - 06/13.08.21
2019-09-05CS:GO Mirage - Crazy AWP Ace!
2019-03-30Making a 2D game without importing sprites in an hour - Warrenaterz [LIVE]
2019-01-13GameMaker Studio 2 Tutorial [ADVANCED] - Mathematical Optimisation Techniques - [Episode #6]
2019-01-04Making a 2D game without importing sprites in an hour - Warrenaterz [LIVE]
2018-04-30Chernobyl Reactor 4 Control Room - Rendered in Unreal Engine 4
2018-02-04GameMaker Studio 2 Tutorial [ADVANCED] - Alternate main menu button selection - [Episode #5 Part B]
2018-01-28GameMaker Studio 2 Tutorial [ADVANCED] - Clickable buttons for main menus - [Episode #5 - Part A]
2018-01-21GameMaker Studio 2 Tutorial [ADVANCED] - Keyboard Input with Re-Mapping - [Episode #4]
2018-01-16GameMaker Studio 2 Tutorial [ADVANCED] - Alternative collision with Delta Time - [Episode #3]
2018-01-07GameMaker Studio 2 Tutorial [ADVANCED] - Platformer Collision with Delta Time - [Episode #2]
2018-01-06Penumbra: Overture Meets Unreal Engine 4 - Modernising an old video game environment.
2017-12-31GameMaker Studio 2 Tutorial [ADVANCED] - Project Initialization with Delta Time - [Episode #1]
2017-12-27BO3 [Livestream] - Zombie Chronicles Nacht Der Untoten
2017-11-09Reece Warren - Games Design Showreel (5th Anniversary Special) UWHD
2017-10-30Xodusse #gamedev log - Episode 2, Normal mapping in GameMaker!
2017-08-20Xodusse #gamedev log - Episode 1 (Featuring XorDev)
2017-05-16Reece Warren - Games Design Showreel (MMXVII)
2017-01-17Warrenaterz™ LIVE - Photoshop Concept Development
2017-01-10The Terrific Trio - Minecraft Modded Survival - Episode #1 w/Lamar & Samonoid
2017-01-05GameMaker: Studio Tutorial - Episode 9, [ADVANCED] Game time systems using delta time and vsync



Tags:
Warrenaterz
Reece
Warren
Game
Design
Development
Gaming
Game Design
Commentary
Commentaries
GameMaker
GameMaker Studio 2
GMS2
Delta Time
Delta
Time
Programming
GML
Platformer
Collision
Game Development
2D