Submissions from 2018-01-02 to 2018-01-03 (2 total)

In search of an easier solution for animating some of my attacks/responses/misc actions, I looked into the Unity Asset, DoTween. I imported it, and very quickly got the hang of simple tweens on the Transform and other components. Cool!

After rearranging my Blob's hierarchy so the animations wouldn't interfere with the tweens, I was able to create DoTween Sequence comprised of 2 tweens, 2 callbacks, and an interval to sync the blob's attack and the player's response:


Overall, I'm not totally sold on this solution. It is tedious to time the response right (it relies on hard coding a delay into the Sequence that matches the Blob's animation length). Worse, the Blob's turn technically ends as soon as the Player finishes taking damage, which (in this case) doesn't account for the time it takes the blob to move back to his starting position. This is definitely a limitation of my Ability system, but the bottom line is that it's getting very hard to coordinate all these things in a non-insane way. I'll have to brainstorm on this.

I implemented a simple Inventory with UI

it might be a bit hacky, but it does the trick :D

current latest commit:

https://github.com/Papiertig0r/Alchemy/commit/4fed...