0.9 Update, Day 7 - New Fighter and Evasion Ability + Look Behind the Scenes


Was a bit lazy for last days, but today felt like I wanted to add something new: A new ship (selection) and evasion mechanics + a dev log with a look inside the dev.

Ship addition was straight forward with it's unique evade ability and different HP/Action point settings.

Most time was spent on the ship selection screen and "wiring things up" properly.

However, inside the ship prefab the functions are well grouped and straight forward to add - likely that's why it was so fast. Interested how it looks inside? A small technical look inside follows...

Behind the Scenes

A lot of ScriptableObjects and UltEvents...

Each ship/entity has it's own handling of stats like health and action points. Using here the approach, presented by Ryan Hipple (Unite Austin 2017 - Game Architecture with Scriptable Objects) for stats created as ScriptableObjects.

I added a hard coded framework layer around it to check, compare and manipulate the stats on a per-entity basis. Interactions mostly happen using the Game Events structure (also from Hipple), which I combine with the use of UltEvents from Kybernetik.

Those things work perfectly together and are amazing structures to work with. I guess ~90% of the game mechanic works via those events and stat handling, only rest ~10% had to be "hard coded" for functions, which cannot be handled otherwise.

Ship Prefab

A bunch of GameObjects, UltEvents and stat handling

Files

StarAction0.9.zip 175 MB
Feb 06, 2022

Get Star Action

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.