Devlog 2: A (DONE BY ERNIE BURROWS)
New Features.
- Random battle encounters while on "encounter" tiles.
- Scriptable objects for enemies and abilities.
- Battle scene
- Battle scene UI manager script
Random battle encounters while on "encounter" tiles.
I first created an "encounter" tile layer, and set the layer masking and collision correctly.
Then on the scripting side of things I use and Encounter Zone.cs (to store specific information for that zone) and a RandomEncounterManager.cs (To check the steps taken and "role" for an encounter".
Scriptable objects for enemies and abilities.
I created serializable scriptable objects for enemies and the abilities. This will make future development so much easier. It essentially turns a lot of dev work into a drag and drop mini game for us.
Battle scene UI manager script
This script honestly might be changed in the future. But for now it holds references to all battle scene UI, and included functions to change the scene, use the abilities, flee, and set all UI at runtime according to the scriptable objects we pass into it.
For a more in depth view of what I did this week here is the YouTube link.
Get Gear Up
Gear Up
Status | Released |
Authors | Ernie Burrows, ethornewell |
More posts
- Devlog 4:B (DONE BY EMMA THORNEWELL)13 days ago
- Devlog 4:A (DONE BY ERNIE BURROWS)13 days ago
- Devlog 3:B (Done by Emma Thornewell)40 days ago
- Devlog 3: A (DONE BY ERNIE BURROWS)43 days ago
- Devlog 2:B (DONE BY EMMA THORNEWELL)54 days ago
- Devlog 1: B (DONE BY ERNIE BURROWS)68 days ago
- Devlog 1: A (DONE BY EMMA THORNEWELL)68 days ago
Leave a comment
Log in with itch.io to leave a comment.