[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:
Movement ๐ฆถ
Topdown Movement
Platform Movement with jump (and double jump)
Drag and Shoot Movement
Grid based Movement
Flappy Bird like movement
Dialogues ๐ฌ
- 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 โ
Quest Manager
- Create new quests;
- Check quests completion.
Quest Marker
- 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 ๐
Audio Slider
- Dedicated custom sliders and scripts to manage audio runtimes
- Save audio volume inside a PlayerPrefab that will save and use the value on start
Audio Toggle
- 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
Animator Overrider
- 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.
Credits ๐
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.
Status | In development |
Category | Tool |
Rating | Rated 4.0 out of 5 stars (1 total ratings) |
Author | epoHless |
Tags | 2D, resource-pack, Top-Down, Tutorial, Unity |
Download
Click download now to get access to the following files:
Development log
- 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
Comments
Log in with itch.io to leave a comment.
Savior of Jammers! thanks.
Thanks for this I love this idea!
Hi, thank you very much, I look forward in seeing the projects that will use my scripts! :)