Project_TPP
Project_TPP is a co-op survival-craft game I am building in Unreal Engine 5.8 and C++. It is designed to work offline and solo first, and to scale up to friends joining a sandbox of settlements and villages.
Project_TPP is an offline-friendly co-op survival game I am building in Unreal Engine 5.8 C++ with Claude Code. It is about 10,000 lines so far, with server-authoritative replicated inventory, crafting and melee components and StateTree creature AI.
The game and the toolkit
The game is a sandbox about gathering, crafting and surviving, where a player can play alone and others can join. Its replication is built for co-op from the start, so everything that matters is decided by the server and shown to every player. A second goal is a reusable plugin, CoopToolkit, grown out of the game and kept in its own repository so it has no dependency on the game. About 10,000 lines of C++ have been written so far, with Blueprints used for tuning and content.
Combat and movement
Melee swings are resolved on the server by sweeping along the character's right-hand bone while an attack window is active, with at most one hit per target per swing. Holding the attack button charges a heavy swing that is timed on the server. Blocking turns the character toward the camera at half speed, front hits deal a fraction of their damage and drain stamina, and the guard breaks when stamina runs out. Dodging is predicted on the owner's machine and validated by the server for ground, cooldown and stamina, and it uses a root-motion source so the owner and the server agree on where the character ends up, with a short invulnerable window.
Items, crafting and vitals
Items are data assets, and a replicated inventory component holds an eight-slot quick bar and a six by four backpack as one flat list, replicated only to its owner. Picking something up is validated by the server against distance. Resource nodes are gathered by hitting them with the right tool or by interacting, and some regrow. Crafting works by hand from the inventory or at a placed bench within reach, with timed crafts that the server times and that cancel when the player moves. Health, stamina and fullness are vitals, hunger changes how fast they recover in steps, and a campfire gives a "Rested" buff to players who stay near it for a while.
Creatures
Animals share one AI, driven by a StateTree and a common controller. Each animal has a temperament, such as aggressive or skittish, that decides whether it charges, flees or defends itself. They notice players with a sight cone and a hearing range, chase for a limited time, then flee and tire, so a creature cannot hunt a player forever. A debug overlay shows each creature's current state, health and target.
The world
The world is generated in chunks: a two-kilometre island is built from 64-metre chunks that stream in around the players, with ground coloured by slope and height, a wandering sand line along the coast, trees, bushes and ground detail placed per chunk, and a start point chosen on a beach facing open sea. The look is a deliberately low-poly, hand-painted style with hazy distance, and a lot of it is generated by scripts rather than modelled by hand.
How it is built and tested
Gameplay classes are C++ with native gameplay tags, and the UI is built from C++ widgets and Widget Blueprints. Editor work such as creating assets, organising levels and building the world is done by Python scripts that live in the repository, so it can be repeated. I develop it with Claude Code, and keep a dated progress log of what was built, tested and decided. Co-op behaviour is checked on a dedicated server with two clients, not only in a single editor window.
What is on hold
Grid building, saving, a day and night cycle and sound are paused while the core loop is settled, and the world art is still being iterated.