darozak / Advolition

1 stars 0 forks source link

Develop combat mechanics #58

Closed darozak closed 5 months ago

darozak commented 5 months ago

Now that I've finished setting up hardware mechanics I need to develop and test combat mechanics.

darozak commented 5 months ago

I wrote a basic attack routine (https://github.com/darozak/Advolition/commit/a036936f4db602b5bac10b2d56c0dc5e077f2ad5) and will need to test it by creating and attacking a target robot.

darozak commented 5 months ago

Created a target robot and tested the attack mechanism. I had to make a number of adjustments to the way power and HPs are tracked and reported to get it to work (https://github.com/darozak/Advolition/commit/63c6f39efc93f6dc32d72e0a9dde4275168989f1). But now attacks are working as they should.

I'll eventually need to add animations so that it's clear to the viewer what's going on. But I'll address that under another issue.