How to Code Button Controls for the Sega Genesis & Mega Drive - Beginners Dev Tutorials

Subscribers:
20,700
Published on ● Video Link: https://www.youtube.com/watch?v=IC5Kxe-FT-U



Category:
Tutorial
Duration: 32:23
2,300 views
158


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


2023-03-25How to Convert SNES Graphics for the Sega Genesis & Mega Drive - Beginners Game Dev Tutorials
2023-03-18How to Code Large Level Maps on Sega Genesis & Mega Drive - Beginners Game Dev Tutorials
2023-03-11How to Update SGDK for Sega Genesis & Mega Drive - Beginners Game Dev Tutorials
2023-02-05New Level Collison & Marble Gallery - Castlevania: SotN for Sega Mega Drive & Genesis - Dev Diary 17
2022-12-3125 New Sega Genesis & Mega Drive Games in Development in 2023
2022-12-24Marble Gallery & Xmas Giveaway - Castlevania: SotN for Sega Mega Drive & Genesis - Dev Diary 16
2022-12-17Level 2 Demo (Alchemy Lab) - Castlevania: SotN for Sega Mega Drive & Genesis - Dev Diary 15
2022-12-11Improved 1st level (Entrance) - Castlevania: SotN for Sega Mega Drive & Genesis - Dev Diary 14
2022-09-18How to Code 2 Player Mode for the Sega Genesis & Mega Drive - Beginners Dev Tutorials
2022-08-262 Player Mode! - Castlevania: SotN for Sega Mega Drive & Genesis - Dev Diary 13
2022-08-20How to Code Button Controls for the Sega Genesis & Mega Drive - Beginners Dev Tutorials
2022-08-14How to Code D-Pad Controls for the Sega Genesis & Mega Drive - Beginners Dev Tutorials
2022-08-06How to Create Sprites for the Sega Genesis & Mega Drive - Beginners Dev Tutorials
2022-07-29Coding my first boss fight! - Castlevania: SotN for Sega Mega Drive & Genesis - Dev Diary 12
2022-07-09How to Animate Sprites on the Sega Genesis & Mega Drive - Beginners Dev Tutorials
2022-06-26How to Display Sprites on the Sega Genesis & Mega Drive - Beginners Dev Tutorials
2022-06-11How to Create Graphics for the Sega Genesis & Mega Drive with Aseprite - Beginners Dev Tutorials
2022-06-03New Graphics, Animation & Tools - Castlevania: SotN for Sega Mega Drive & Genesis - Dev Diary 11
2022-05-28How to do Parallax Scrolling on the Sega Genesis & Mega Drive - Beginners Dev Tutorials
2022-05-15How to Display Backgrounds on the Sega Genesis & Mega Drive - Beginners Game Dev Tutorial (SGDK)
2022-05-15Sega Genesis & Mega Drive Beginners Game Dev Tutorial Series Intro



Tags:
SGDK
homebrew
gamedev