A starter template for a 2D side-scrolling platformer with player movement, jumping, and camera follow.
- PlayerController2D.cs - Rigidbody2D-based movement with ground check, jumping, and coyote time
- GameManager.cs - Singleton game manager for score, lives, and game state
- CameraFollow2D.cs - Smooth camera follow with dead zone and bounds
- Create a 2D URP project
- Add these scripts to your project
- Create a Player GameObject with Rigidbody2D, BoxCollider2D, and PlayerController2D
- Create a Camera with CameraFollow2D and assign the player as target
- Create ground objects on the "Ground" layer
- Add a GameManager to the scene