main.scene
- .build.state16 B
- .metadata17 B
- README.md2.0 KB
- build.luau2.7 KB
- entrypoint.luau4.9 KB
- scene.json389 KB
README.md
main: the Frag Arena showcase
The scene Frag Arena opens on: a first-person deathmatch arena in a forest clearing, built with fragKit.
The setting. A beech-forest clearing from forestKit (trees, undergrowth, sky, sun and a slow world clock that does not drive the lights) with the toonBlocks arenaCel look: toon light bands, cel fill, a rim light and an ink line. showcase/environment.module builds all of it from one call.
The arena. fragKit's courtyard layout stands in the clearing: a sun-baked stone courtyard with a colonnade, a raised deck, ramps, cover blocks and planters, textured with groundMaterials and stoneMaterials. It has free-for-all spawns, red and blue team spawns, a lobby balcony, a king-of-the-hill zone and a navigation box for the bots.
The match. One Frag.setup call at the bottom of build.luau sets everything else:
| setting | value | other choices |
|---|---|---|
mode | ffa | tdm, gunGame, oneShot, elimination, killConfirmed, kingOfTheHill, meleeOnly, sniperOnly |
arena | courtyard | warehouse, towers, pit, canyon, redVsBlue |
loadout | military | scifi, fantasy, cartoon, arcade, heavy |
hud | auto | military, scifi, fantasy, cartoon, arcade, heavy |
feel | classic | tactical, party, lowgrav, retro |
fighters | 8 | people and bots together: bots fill every seat people leave empty |
botSkill | normal | dummy, easy, hard |
Change a word and save: the scene rebuilds with the new choice.
The player. The DefaultSocialPlayer prototype gives everyone who joins a humanoid body and a first-person camera that only its owner sees. Everyone arrives at LobbySpawn on the lobby balcony, picks teams or free-for-all, and the match puts them on a spawn when the countdown ends.
Files. build.luau is the scene as code, scene.json the baked result (so the scene is there the moment the world opens), and entrypoint.luau holds the engine's lifecycle hooks, all left at their defaults.