Fake/virtual input threshold [Game Maker Studio 2 | Basics]

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



Category:
Tutorial
Duration: 9:01
894 views
50


This basics video tutorial shows you how to make a fake/virtual threshold for binary inputs from the keyboard or the gamepad in GameMaker Studio.

The idea is quite simple. You want the keyboard or gamepad to have a threshold which doesn't exist on those buttons. They can be only pressed or not pressed (gamepad thumbs excluded). So we remedy that by increasing a number. That we do by pressing and reset it to zero if no key is pressed. If that number is big enough you can use it in a virtual/fake threshold way to start moving or increase walkspeed or any other way you wish. That's it

If you are unsure about controls in Gamemaker, I got you covered:
https://youtu.be/SmCH5tCNh68
https://youtu.be/9C5VrVVsjuM


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


Graphics used:
Gassasin CC3by
https://opengameart.org/content/16xx16-tileset-pokemonzelda-styled

Corey Archer CC0
https://opengameart.org/content/top-down-pokemon-esque-sprites

--------------------------------------------------------------
0:00 What we will do
0:50 Subscribe
0:58 Theory how it works
1:28 Coding part
8:46 Game shown: Death's Gambit







Tags:
game maker tutorial
game maker studio tutorial
gamemaker studio 2 tutorial
gamemaker input threshold
gamemaker threshold
gamemaker button threshold
gamemaker studio button threshold
gamemaker studio threshold tutorial
gamemaker studio threshold tutorial for beginners