Auto Food Fight Devlog #6 - Starting Combat
Website: https://autofoodfight.com/
Patreon: https://www.patreon.com/autofoodfight
From 06-21-2022
This took quite a while to get going. I spent a lot time looking into different design patterns to figure out what would work best for the combat.
I got a bit too lost in my head and just started tackling it head on at some point. It is a different scene in Unity, but I don't think I'll need a loading screen since it is fairly light on resources at this point. So it should load quickly.
It took a chunk of time to learn the saving and loading options common for Unity. I found a SaveLoad script someone put up on a GitHub repo ( https://github.com/GameGrind/Binary-Save-For-Unity/blob/master/SaveData.cs ) . It basically uses Unity's BinaryFormatter and FileStream serializing. So for now it saves data to a file. There's one for the Store and one for the Player. There's potentially a concern for cheating by editing these, but since it'll be singleplayer initially I don't really mind if people cheat for that.
Since I don't have AI yet, the enemy just copies your team before battle. I wrote some functions to have combat working, but they weren't ready to use by this point.
The next focus is working on actually starting battle and having fighting take place.
Auto Food Fight
The first Auto Battler with a story! Where you're a chef rising through the ranks
Status | In development |
Author | UpSquared, LLC |
Genre | Card Game, Strategy |
Tags | 2D, Cute, Food, Indie, Singleplayer, storygame, Unity |
Languages | English |
Accessibility | One button |
More posts
- Auto Food Fight Devlog #9 - Tier 2 + RefactorOct 19, 2022
- Auto Food Fight Devlog #8 - Tier 1 Art + EffectsAug 15, 2022
- Auto Food Fight Devlog #7 - Basic Combat DoneJul 30, 2022
- Auto Food Fight Devlog #5 - Store CompleteJul 09, 2022
- Auto Food Fight Devlog #4 - Stocking UpJun 25, 2022
- Auto Food Fight Devlog #3 - Diving InJun 14, 2022
- Auto Food Fight Devlog #2 - Picking PrioritiesJun 01, 2022
- Auto Food Fight Devlog #1 - Menus + SetupMay 24, 2022
Leave a comment
Log in with itch.io to leave a comment.