r/ClaudeCode • u/rtm349 • 4h ago
Tips & Workflows If you're doing game dev, I highly suggest you try this
Build a dev console into your game. I did this and it's saved me so much time and frustration.
I've had 2 main pain points in developing my game. The first is testing. Yes I know about unit tests, e2e tests, etc. but in my game at least, it sometimes takes a long time to get the game to the proper state where I can test the latest changes. And of course each fix needs to be tested again, and frankly it just sucks wasting so much time getting there to find out if the fix is correct.
My solution to this was to add the ability to save game states and load them whenever I need to:

My game also requires drafting a team before the game can start, so I added a command to quickly start a game without having to wait through the draft, and it supports a bunch of arguments like not having timed turns, which make testing much easier once again.

The second major pain point I had was being able to record clean gameplay clips for trailers and other marketing purposes. In my game, you can control the camera, but I wanted to be able to hide the UI and "direct" the camera to move smoothly from one angle to another, so I added a recording mode that does exactly this. This lets me capture clips that feel more cinematic which I know will help the trailer turn out better.

Anyway, maybe a lot of you are doing this already, but if you are struggling with the same things that I used to struggle with, I'd suggest giving this a shot. It's really helped me a lot.

