GameMaker Studio 2 Tutorial [ADVANCED] - Platformer Collision with Delta Time - [Episode #2]
Channel: Warrenaterz
Date: 2018-01-09

Subscribe: ► http://www.youtube.com/subscription_center?add_user=Warrenaterz

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