SamuKata
sgthale
sgthale

patreon


MyRobot Development Part 75 - Fighting Behaviors

Video shows the summary, text shows the technical!

This week:

Fighting Behaviors

So this was the last piece for the Multiple Robots update. The fighting mechanics:

You can select multiple robots and choose Group Fight and they will all fight each other.

Or you can select a bunch and right click an unselected robot to command Attack, where they will gang up on the poor robot you chose.

Fighting ends when the robot hits another robot a certain number of times or if the robot becomes unable to fight (no legs or head). Depending on your robot selection, robots will ignore accidental hits from friendlies but will become aggressive to other robots who hit them.

Additionally, fights can break out if robots insult each other, this is sometimes really really funny. AI chat bots are pretty stupid so sometimes they say random rude things.

Kickstarter Backer Hall of Fame

This was one of my obligations to do as part of the Kickstarter for MyRobot. It's a room that is reached after reaching the roof of the new Karnak factory in the forest mountains. It's a room with 216 robot heads each customized according to a form I sent out to each backer.

I used GPU instancing to quickly render so many heads and then I popped each into existence if the player tried to use grab them. This meant that I had to parallelize color and attribute randomization on the GPU as well as the CPU for this to work. I thought it was a fun exercise.

Now, this last few days before the release of this update I will be working towards a build. This means I need to clean up code, simplify controls as promised, and make sure things run as fast as possible.

Stay tuned!

Comments

awesome work senpai <3

Altringo

'spicy girl, beat his ass!!'

東尼 南瓜


More Creators