Examples
High-quality Cluaupp systems you can copy. Each page is a full service in CL++. Live sample: examples/game. Language reference: kartzrbx.github.io/CLPP.
These are not dumps of int main(). Entry is void init(). Types are struct + Class:: methods. Canonical Leaderstats: handbook.
Suggested layout
Section titled “Suggested layout”src/ ReplicatedStorage/Shared/Constants/Datas/TemplateData.clh ReplicatedStorage/Shared/Net/Net.flare ServerScriptService/Boot/DataBoot.server.clpp ServerScriptService/Handlers/PlayerHandler.server.clpp ServerScriptService/Handlers/Connection.server.clpp StarterPlayer/StarterPlayerScripts/Controllers/DataController.client.clppBoot Keep once. Other services WaitFor after that. Gameplay remotes live in .flare, not in Net.
Catalog
Section titled “Catalog”| Example | Teaches |
|---|---|
| Data boot | Server.Init / Client.Init, your Template, not main() |
| Connection (Flare) | .flare Ready / Welcome / Session after Keep loads |
| Leaderstats | Folder leaderstats, Mint, GetChangedSignal, per-player Sweep |
| Combat (server validation) | Client sends intent; server checks range, cooldown, health, then TakeDamage |
| Shop | Flare buy query, prices on the server, Keep debit |
| HUD | Gleam + Mint + Bloom |
| NPC | Shift FSM + Hive ECS |
| Sword / Touched | Hitbox on the server, debounce, no client damage |
Read with Libraries, OOP structure, and Safety.