How to Code Button Controls for the Sega Genesis & Mega Drive - Beginners Dev Tutorials
Channel:
Subscribers:
20,700
Published on ● Video Link: https://www.youtube.com/watch?v=IC5Kxe-FT-U
In this lesson we will look in to how to code button controls.
Support me on Patreon:
https://www.patreon.com/PigsysRetroGameDevTutorials?fan_landing=true
Timestamps:
0:00 Difference between "continuous controls" and "event controls"
1:50 How I use Kega Fusion emulator
2:40 D-Pad controls in eventHandler
9:33 When to use which control scheme
12:11 Coding button controls in handleInput
15:30 Coding button controls within eventHandler
28:07 Using "else"
29:19 Cleaning up the while loop using functions
Other Videos By Pigsy's Retro Game Dev Tutorials
Tags:
SGDK
homebrew
gamedev