Welcome to the Simple Player Controller with Cloning Ability Unity project! This project features a flexible player controller with different movement behaviors and the ability to create clones of the player character. Below, you'll find an overview of the project's structure and functionality.
This project utilizes Unity for game development and includes various scripts that handle player movement, cloning mechanics, and visual effects.
To use this project, follow these steps:
- Clone the repository to your local machine.
- Open the project in Unity.
- Explore the scripts and assets to understand the project structure.
- Play around with the scenes to experience the gameplay.
The player movement is implemented using different scripts:
-
UfoMover: Controls movement for a UFO-like character, allowing smooth directional movement and rotation.
-
PlatformerPlayerController: Provides movement for a platformer-style character with the ability to jump, dash, and swing.
-
New Feature: Added swinging mechanics for traversal through hooks.
-
Updated Features:
- Refined dash behavior for smoother execution and control.
- Improved jumping mechanics with grounded check for more precise jumps.
- Added particle effects on move, jump and land.
The project includes a cloning mechanic implemented with the following scripts:
- CloneObject: Represents a cloned object in the game world. It handles behaviors such as shrinking, fading, and applying visual effects.
- CloneController: Manages the spawning and behavior of clones. It allows for the creation of multiple clones with adjustable parameters.
- SquishAndStretch: Adds squash and stretch effect to the player character based on its velocity, enhancing visual feedback during movement.
To integrate player movement or cloning mechanics into your own Unity project, follow these steps:
- Import the necessary scripts into your project.
- Attach the scripts to relevant game objects in your scene.
- Customize the parameters in the Inspector to suit your game's requirements.
- Test and iterate on your implementation to achieve the desired gameplay experience.
Simple.Player.Controller.with.Clone.Ability.mp4
Updated.Player.Controller.with.Swing.mp4
You are welcome to contribute to improve and expand this project. If you have ideas for new features, optimizations, or bug fixes, feel free to submit a pull request or open an issue on GitHub.
This project is licensed under the MIT License, allowing for both personal and commercial use. See the LICENSE file for more details.
Feel free to reach out if you have any questions or need further assistance. Enjoy developing your game!