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

Leave a comment

Log in with itch.io to leave a comment.