Gamepad button vs thumbstick + deadzone  - [Game Maker Studio 2 | Basics]

Gamepad button vs thumbstick + deadzone - [Game Maker Studio 2 | Basics]

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



Category:
Tutorial
Duration: 8:29
3,230 views
103


This basics video tutorial shows the difference between the normal gamepad input buttons and the thumbsticks in GameMaker Studio.

The regular buttons like x,y,b,a (Xbox controller), tringle, square,x,o (playstation controller), shoulder R1, R2,L1,L2 and the d-pad are binary in their behavior. They can be pressed or not pressed. By using gamepad_button_check you will get a return value of 0 for not pressed and 1 for pressed.

In contrast to that are the thumbsticks. They are set on an horizontal and vertical axis. These return a range between -1 to 1 if checked by gamepad_axis_value. To control the deadzone in between you can use gamepad_set_axis_deadzone to reset plus normalize the -1 to 1 range.

▶ Gamemaker Studio: https://www.yoyogames.com/get

▶ Trial limitations: https://help.yoyogames.com/hc/en-us/articles/230407528-GameMaker-Studio-2-Trial-Limitations

🎮 My free game Clunky souls:
https://1up-indie2.itch.io/clunky-souls
💓 My assets:
Get some assets at itch.io https://1up-indie2.itch.io/

👑 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)




Other Videos By 1up Indie


2020-12-22Hotline Miami Remake in GameMaker Studio #6 - Finishing the startscreen
2020-12-21Hotline Miami Remake in GameMaker Studio #5 - Cool 3d text
2020-12-20Remake Hotline Miami in GameMaker Studio #4 - Wiggling text
2020-12-20My Udemy course for "free"
2020-12-19Hotline Miami Remake in GameMaker Studio #3 - Building the startscreen
2020-12-18Hotline Miami Remake in GameMaker Studio #2 - Why the startscreen is crucial
2020-12-11Hotline Miami Remake in GameMaker Studio #1 - Why is it so good
2020-12-08Hotline Miami alike background [Game Maker Studio 2 | Basics]
2020-12-06Update: Which retro game do you want to remake with me?
2020-12-02Rotate screen/camera like a boss - [Game Maker Studio 2 | Basics]
2020-11-26Gamepad button vs thumbstick + deadzone - [Game Maker Studio 2 | Basics]
2020-11-24Sell your course on Udemy and become a quadro bazillionare
2020-11-21Animations with sequences Part 2 - [Game Maker Studio 2 | Basics]
2020-11-19Animations with sequences Part 1 - [Game Maker Studio 2 | Basics]
2020-11-07Cutscene/cinematic black bars - [Game Maker Studio 2 | Basics]
2020-10-30Foregone - Dead Cells 2.0? [PC review]
2020-10-29🔴Bloom/Glow effect shader [Game Maker Studio 2 | Advanced]
2020-10-27What are unary operators? [1 day before exam]
2020-10-22🔴Minecraft 2d, growtopia and pixelworld with tiles (art 1) [Game Maker Studio 2 | Advanced]
2020-10-18Batbarian: Testament of the primordials [Review]
2020-10-16🔴Fog, mist or wind with particles [Game Maker Studio 2 | Advanced]



Tags:
gamepad_axis_value
gamemaker studio gamepad input
gamemaker studio gamepad tutorial
gamemaker studio 2 gamepad input
gamemaker studio 2 gamepad tutorial
gamemaker thumbstick
gamemaker studio thumbstick
gamemaker studio 2 tutorial
gamemaker input deadzone
gamemaker studio gamepad deadzone
gamemaker thumb tutorial