Are you a beginner or advanced game developer who also loves skateboarding? Have you played countless hours of Tony Hawk Pro Skater and have dreams of writing code while grinding sick rails? Well you're in luck, because you'll learn exactly how to create an awesome and satisfying 2D skateboarding game that will keep your players hooked FOREVER.
PizzaSkater is the name of our game, and a fearless little slice he is! He has tons of cool skate trick animations, can grind rails, collect cheese, and dodge cars! In this tutorial, we cover how to create a procedurally generated platform map, how to spawn coins, killer cars, grind-able rails, parallax backgrounds, a point system, and tons more!
With this tutorial, you'll have everything you need to create the next earth-shattering hit game that will make any skaters mouth water (especially if they love pizza.. and who doesn't).
DropBox link to download art assets:
https://www.dropbox.com/scl/fo/62xz4e...
GitHub link for the finished code:
https://github.com/szostek/PizzaSkate
Thanks for checking out this tutorial! If you liked it, fuel my next tutorial:
https://buymeacoffee.com/simulationlab
00:00 Intro
02:22 Character Slicing
03:37 Character Animations
05:04 Animator Controller
06:29 Animation States
13:45 Create Our Character
20:33 Character Script
31:25 Camera Follow Player
36:55 UI Setup
39:30 Game Manager Script
45:05 Jump Mechanic
54:58 Create Platform Prefabs
59:27 Platform Generator Script
01:10:27 Player Die
01:14:15 Restart Game Popup
01:23:44 Grind Rail Prefabs
01:27:51 Grind Logic
01:37:31 Point System Setup
01:48:41 Coin Generator
01:59:32 Car Generator
02:17:59 Background Buildings
02:25:52 Outro