Savior of Jammers! thanks.
[ONGOING] Unity 2D Essential Scripts
A downloadable tool
Inside the project you can find various plug-and-play scripts,
meaning you just have to drop them on your gameObject to make them work.</center>
EVERY SCRIPT IS WELL DOCUMENTED AND PROVIDED WITH AN EXAMPLE SCENE
As of for now, in this project you can find scripts for:
Platform Movement with jump (and double jump)
Drag and Shoot Movement
Grid based Movement
Flappy Bird like movement
- TypeWriter Effect for text; - Conversation between multiple characters; - Scriptable object used to easily create dialogues.
Health system 💖
Zelda like health system
- Full/Empty hearths; - Dev can decide total amount of hearths; - PlayerPref ready.
Health slider system
- Fully customizable slider; - Dev can decide total amount of HPs; - PlayerPref ready.
Quest System ❕
- Create new quests; - Check quests completion.
- Mark quests a completed via OnTriggerEnter or by pressing a given KeyCode inside its area.
Quest Object Activator
- Activate/Deactivate a given object upon quest completion; - Could also implement UnityEvents.
Platform Spawner ⬜
- Spawn a gameObject and move it from point A to B; - Useful for games like Flappy Bird or Endless Runners.
Audio Managment 🔉
- Dedicated custom sliders and scripts to manage audio runtimes - Save audio volume inside a PlayerPrefab that will save and use the value on start
- Mute audio of a selected group of sliders - Value is saved in a prefab and will be set as such on start
Enemy Spawners 🧛♂️
- Spawn a random object from an array of gameObjects - Select a Min/Max numbers of enemies to spawn per callback - Select how many enemies can be active at the same time
Spawn gameObjects inside Tilemap
Spawn gameObjects inside Area
- Override the animator to change on object appearance runtime - Can call the function via scripts and on button click as in the example below - Add as many Animator Overriders as you wish and change between them via simple Functions - Sample scene provided
There's more i'm planning to add to the repository, i'll work on it for as much as i have time.
At the moment there are 19 scripts.
This project uses [@PixeyeHQ](https://github.com/PixeyeHQ/InspectorFoldoutGroup) inspector foldout group to make the development cleaner;
The hearths sprites used in the zelda like hearth system were taken from NicoleMarieT on itch.io;
The font used is taken from Void on itch.io;
Tilemap asset taken from Adam Saltman on itch.io;
Enemy sprite taken from 0x72 on itch.io.
Button UIs comes from Sumo Studio;
Tiny Heroes come from Free Game Assets.
Click download now to get access to the following files:
- Added a customizable multiple choice dialogueAug 02, 2021
- Health, Toggle and Scenes polishmentJul 28, 2021
- Added a script to change Animator runtime with Animator OverridersJun 19, 2021
- Added 2 types of GameObject SpawnersJun 18, 2021
- Added deatailed descriptionsJun 16, 2021