Log inGet started
Package

main.scene

Newest version

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:

settingvalueother choices
modeffatdm, gunGame, oneShot, elimination, killConfirmed, kingOfTheHill, meleeOnly, sniperOnly
arenacourtyardwarehouse, towers, pit, canyon, redVsBlue
loadoutmilitaryscifi, fantasy, cartoon, arcade, heavy
hudautomilitary, scifi, fantasy, cartoon, arcade, heavy
feelclassictactical, party, lowgrav, retro
fighters8people and bots together: bots fill every seat people leave empty
botSkillnormaldummy, 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.