GameMaker Studio 2 Tutorial [ADVANCED] - Alternate main menu button selection - [Episode #5 Part B]

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



Duration: 17:34
1,917 views
26


Subscribe: ►

In today's tutorial what I cover is how you can configure the existing button system we set up in part 5 to use more of a controller type input. This involves checking the 'HoverValue' variable contained in both the obj_button objects and the obj_button_spawner object. Each instance of obj_button has its own unique 'HoverValue' and this is determined by the amount of instances of obj_button in the room. The obj_button_spawner object then has it's own unique 'HoverValue' that is compared with the currently selected obj_button instance, to trigger its function.

If you want to use controller input in your game, you would simply have to re-bind the current up and down keys in the con_input object. (The reason I didn't in this tutorial was because I didn't have one to hand). More about controller input can be found in GameMaker 2's documentation:

https://docs2.yoyogames.com/source/_build/3_scripting/4_gml_reference/controls/gamepad input/index.html

If you enjoyed the video or found it useful, please don't forget to leave a like, comment if you have any issues and as always, subscribe if you aren't already!

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:
http://www.mediafire.com/file/k1pkqxcqt49yxay/Episode-5b.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-12-11Call of Duty: Black Ops - Moon (stopping excavators) - w/ @Samonoid & @Absthefabs
2022-12-05Call of Duty: Black Ops - Five/Ascension (chilling) - w/ @Samonoid
2022-11-28Call of Duty: Black Ops - Moon/Nacht - Prevent excavators from breaching - w/ @Samonoid & Absthefabs
2022-11-19Call of Duty: Black Ops - Kino Der Toten Round 40 Run w/ @Samonoid
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)



Tags:
Warrenaterz
Reece
Warren
Game
Design
Development
Gaming
Game Design
Commentary
Commentaries
Let's Play
Tutorial
GameMaker
GML
Coding
Programming
Game Development
Controller
Input
Main
Menu
Selection