A downloadable asset

Buy Now$3.99 USD or more

A highly optimized and fluid C# player movement controller for 2D games in Unity. Features instant responsive horizontal movement, custom gravity jump, and an advanced dash mechanic. Perfect for platformers, metroidvanias, and action games.

[HOW TO SETUP]

1. Attach this script to your Player GameObject.

2. Add a 'Rigidbody2D' component to your Player and set Collision Detection to 'Continuous'.

3. CRITICAL: Create a 'Physics Material 2D', set its 'Friction' value to 0, and drag it into the Material slot of the Player's Rigidbody2D to prevent getting stuck on walls.

Also, add a GameObject named "GroundCheck" as a child of the player, and set its layer to "Ground" in the Inspector.

Published 7 days ago
StatusReleased
CategoryAssets
Authorelhamst3r1
Tags2D, Indie, Physics
ContentNo generative AI was used

Purchase

Buy Now$3.99 USD or more

In order to download this asset you must purchase it at or above the minimum price of $3.99 USD. You will get access to the following files:

PlayerMovement.cs 3.7 kB

Comments

Log in with itch.io to leave a comment.

Hey, you're better off buying the other one on my profile or here: https://elhamst3r1.itch.io/movementplayer-2d-plug-and-play