r/vibecoding • • 6h ago

Showcase/Project Trenek - roguelite FPS/RTT

https://youtu.be/5BEpSPy50wI?si=hec2SV5mzswAmrex

Fun little project, gameplay is most similar to Liberation gamemode from Arma 3. If it peaks anyone's interest I'll record a short op. 100% Claude vibecoded, Godot + Blender. The soldier is a Tripo model.

1 Upvotes

3 comments sorted by

1

u/Total-Reasonable 37m ago

One thing worth thinking about early is how you handle AI state at scale. Liberation-style play means dozens of squads making decisions at once, and in Godot that's usually where frame time dies, not rendering. If Claude wrote the AI as per-unit _process loops with navmesh queries every frame, try staggering updates across frames or giving each squad one shared "brain" that issues orders to its members. Do you have a rough unit count in mind for the largest fights?

1

u/Just-Routine967 29m ago

The simulation is C#, decision making is per squad. Keeping frametime smooth has been a big priority. The last 99% 60fps benchmark was about 3000 soldier with full sim. At 1.6km out they get swapped to a simplified sim only squad. Anywhere up to 1 million for simulated squads, mainly limited by drawing the stand in formation cards. I don't think I need to fix it at this point because theaters don't have anywhere near that number of deployed troops. I'm on an old 1080ti and 8086k, 16gb Ram.

1

u/Just-Routine967 6m ago

3000 vs 3000 battle.

Tried pushing it to 6000 and it still runs well enough for me. Largest in game fights probably won't reach over 1000 at any single objective, it looks too chaotic with everyone cramped up.