Back to Browse

Unity 2D Platformer Tutorial 22 - Scoring

11.5K views
Sep 27, 2021
13:40

This video demonstrates how to write code to add scoring to a 2D platformer game in Unity. This video shows how to increase the score when the player touches a collectable object (eg. gem). In the next video, we will look at how to add a UI to display the score on-screen during the game. There are two scripts used in this tutorial - https://github.com/danielkwood/Unity2DPlatformerGame/blob/164c0e7f3d1efe5e26ba4b2f9042cb19d0d93dc9/Scripts/PlayerController.cs and https://github.com/danielkwood/Unity2DPlatformerGame/blob/5f4c02088971fec1438a8503537f4b3c2579e598/Scripts/Scoring.cs Unity website - https://unity.com GitHub - https://github.com/danielkwood/Unity2DPlatformerGame Free Pixel Space Platform Pack - https://assetstore.unity.com/packages/2d/characters/free-pixel-space-platform-pack-146318

Download

0 formats

No download links available.

Unity 2D Platformer Tutorial 22 - Scoring | NatokHD