15 November · The new Battle

Smoother Battles and new monster art: the prompts

These are the developer's own words, typos included. Below each one is a summary of what Claude did.

Back to the update

15 NovemberI have been trying the iphone versio of stillbreaker and 2 things still strike me as not quite good enough for launch - the performance during battles seems glitchy, can't tell if the frame rate is dropping or just the move detection briefly stops, but I'd liek for it to feel really crisp and smooth. Not sure what options we have for that, but please research it and come up with a diagnosis and plan with some proof that it'll help - the monster graphics during battle seem really poor, a lot of weird motions that don't make sense or lack of detail and texture. I wonder if we instead built the enemies as gaussian splats we'd have more control and ability to invoke the real jrpg look and feel for battles that I'm wishing for. Maybe the same treatment for the backgrounds as well so they can feel better, right now they don't feel like they quite fit. I like the player character though, mostly feels like it works but if you think better to give everything a consistent treatment would like to try that too. Before jumping into implementation I would liek to see some sample visuals of what things would look like, give me multiple options if you are unsure. I want the battles to feel very professional jrpg like with very solid interactions and animations. Here is a post I saw on the gaussian splat approach which might be helpful: [another person's post, summarised: simple 3D shapes can be covered in soft dabs of colour, turned into pixel art and animated by moving the shapes]
What Claude didClaude first studied how Battles were drawn and how Moves were detected. It tested the Battle code in the app's own JavaScript engine. In that test, the proposed fixes cut the worst frame from 75 ms to about 1 ms. Claude then began building toad, golem and shore samples for comparison.
15 Novembercontinue
15 Novembercontinue
What Claude didClaude shared the cause of the stutter, the test results and samples in three styles. The picture, Move detection and Battle rules shared a thread, so they all stalled together. Claude recommended making the monster frames in advance instead of drawing the dabs on the phone, and asked for a choice of style. The game itself hadn't changed.
15 NovemberTreatment A is good, go ahead on the full scope but I want to try a battle with it all (perf and look changes) before we go to the full game with the approach. One other thing, for arm circles I want to see some magic building up for the player along with the monster with the two blasts pushing against each other. In general make the moves seem more epic in traditional jrpg fashion. I think the player might need the same splat treatment or maybe just some more detail so it matches.
What Claude didClaude built one complete trial Battle: the new toad and shore, arm-circle clash, bigger effects and a more detailed hero. In its Mac test, the worst frame fell from 75 ms to 7.5 ms, and no frame took over 33 ms. The more detailed hero took longer to draw. Nothing had yet run on a phone.
15 Novemberfeels pretty good - pushing back with arm circles now does a great animation, let's have it do some reasonable damage too, feels appropriate - my character has long hair and that led to some weird effects where my arms are visible sporadically in front of my hair while I face away which looks really odd. Similarly, when doing pushups, my hair at the bottom almost looks like a beard and the shoulders and arms show over the hair which is odd. Can we reliably fix better, more realistic positioning and layering for my character's motions?
What Claude didWinning the arm-circle clash now does damage: 30 for a 12-second hold. Claude also set rules for which body parts appear in front, including during pushups and sideways punches, and stopped arms flickering between layers. It noted that raised arms would now go behind the head with every hairstyle.
15 Novemberok looks awesome, incorporate it fully into the iphone and web version of the game now
15 Novemberwhen you are done, write a devlog article about the before and after and the approach we used and steps we took in this session
What Claude didClaude added both requests to the same job. It made the new look the default and gave ten subagents the other eight monsters and the places. It also looked for where the devlog lived. A usage limit stopped the work before the art was finished.
15 Novembercontinue
What Claude didOnce the limit reset, Claude restarted the ten art jobs. Seven of the remaining eight monsters had a first version. The herald and four places were still missing.
15 Novemberthe agents are using up my limit, can we flip them to opus?
What Claude didClaude couldn't change the model of a running subagent, so it stopped the remaining eight. All nine monsters had a first version, so it checked those itself and used two new subagents for the four missing places. It removed light beams that showed up as harsh bars, made one image-edge test less strict, noted weaker art and wrote the devlog post.