How to Code a Camera for a 2D game on the Sega Genesis & Mega Drive - Beginners Game Dev Tutorials

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



Game:
Category:
Tutorial
Duration: 41:58
2,255 views
175


My Patreon:
https://www.patreon.com/PigsysRetroGameDevTutorials

Timestamps:
0:00 intro
0:30 refresher for the existing code
3:19 how to create function prototypes
5:19 using fix32 for player movement
7:52 how to write the basic game camera code
27:20 how to keep the camera within the level map
32:47 how to keep the player sprite within the level map
36:25 summary of the camera code
38:59 how to adjust the camera for low (256) resolution




Other Videos By Pigsy's Retro Game Dev Tutorials


2023-08-12New Sega Saturn Games for 2023 and How They Are Made
2023-08-05Quick Update & FAQ - Castlevania: SotN for Sega Mega Drive & Genesis - Dev Diary 19
2023-07-15How to Code Semi-Solid Platforms: Sega Genesis & Mega Drive - Beginners Game Dev Tutorials
2023-07-08How to Code Level Collision for Large Sprites (Sega Genesis & MD) - Beginners Game Dev Tutorials
2023-07-01How to Code Jumping & Gravity: Sega Genesis & Mega Drive - Beginners Game Dev Tutorials
2023-06-25How to Code Level Collision for 2D Games (Sega Genesis & Mega Drive) - Beginners Game Dev Tutorials
2023-05-13How to Create Background Depth Using Tile Priority: Sega Genesis & MD - Beginners Game Dev Tutorials
2023-05-06How to Use Multiple Background Palettes for Sega Genesis & Mega Drive - Beginners Game Dev Tutorials
2023-04-29How to Create Level Maps Using 16 Tile for Sega Genesis & Mega Drive - Beginners Game Dev Tutorials
2023-04-22How to Code 2 Scrolling Layers on Sega Genesis & Mega Drive - Beginners Game Dev Tutorials
2023-04-15How to Code a Camera for a 2D game on the Sega Genesis & Mega Drive - Beginners Game Dev Tutorials
2023-04-08How to use 8, 16 & 32 bit numbers on Sega Genesis & Mega Drive - Beginners Game Dev Tutorials
2023-04-01How to Use 256 Low Resolution Mode on Sega Genesis & Mega Drive - Beginners Game Dev Tutorials
2023-03-31Animated background tiles & more! - Castlevania: SotN for Sega Mega Drive & Genesis - Dev Diary 18
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



Tags:
SGDK
homebrew
retro game dev



Other Statistics

Sonic the Hedgehog Statistics For Pigsy's Retro Game Dev Tutorials

At this time, Pigsy's Retro Game Dev Tutorials has 63,378 views for Sonic the Hedgehog spread across 15 videos. About 5 hours worth of Sonic the Hedgehog videos were uploaded to his channel, or 23.59% of the total watchable video on Pigsy's Retro Game Dev Tutorials's YouTube channel.