Staff menu (/arcadeadmin)#
| Tab | What it does |
|---|---|
| Machines | Every placed machine. Click to tick one or more. Select all, Clear and Set onto floor work on the ticked machines, and the last one clicked is the one Edit opens. |
| Place | The prop grid, filtered by type. Pick one and press Place with gizmo. A terminal can also be placed with no prop. |
| Edit | Name, game, owner id and pricing (access type, price, pass length, membership price and length). Move it with the gizmo, empty its till, or delete it. |
| Zones | Create leave zones at your position, then set their size and rotation and save them. An outline shows while you edit. |
| Games | Every game and whether it is available on your server. |
Gizmo keys: drag the arrows or rings with the mouse, T and R switch between move and rotate, the arrow keys nudge, Q and E turn, Page Up and Page Down raise and lower, G drops to the floor, ALT switches to a fly camera, Enter saves and Backspace cancels.
The 12 cabinet games#
- Neon Pursuit, a chase racer
- Orbit Blaster, a side-scrolling shooter
- Beam Defense, a saucer defence game
- Lens Riot, a twin-stick arena shooter
- Dead Eye Gulch, a light-gun gallery played with the mouse
- Crypt Crawler, a dungeon crawler
- Turf Takeover, a territory game
- Gem Drop, a colour puzzle
- Hammer Time, a strength test
- Heart Rate, a rhythm game
- Mystic Card, a memory game
- Claw Grab, a claw machine
Integrations (hooking up your own game)#
These are game entries with type = 'ext' in Config.Games. They are only offered while their resource is started. If one is missing, its machines play the fallback built-in game, or report that they are out of order.
Hook up your own resource like this:
- Client export
OpenFromArcade(origin): called when a player uses a machine set to your game.originis{ x, y, z, w, id }, the spot the player stood on. - Server export
ArcadeKick(src)(optional): called when the player leaves every arcade zone. Remove them from your lobby or queue here, but not from a running match. - To send players back afterwards, use the client export
exports['glitch-arcade']:ReturnPoint(fallback)(returns a vec4) or the server exportexports['glitch-arcade']:GetOrigin(src).
A game with type = 'event' fires the client event named in the machine's Event field, which lets you start anything of your own.
Exports and events#
| Side | Export | Returns |
|---|---|---|
| Server | AtMachine(src, radius) |
true if the player is near any machine |
| Server | InZone(src) |
true if the player is inside an arcade zone |
| Server | HasZones() |
true if any zone exists |
| Server | GetOrigin(src) / ClearOrigin(src) |
where the player started |
| Server | KickFromGames(src) |
runs every integration's ArcadeKick |
| Server | GetTop(gameKey) |
the city top scores of a cabinet game |
| Client | Play(gameKey, opts) / IsOpen() / Close() |
the cabinet game screen |
| Client | GetOrigin() / ClearOrigin() / ReturnPoint(fallback) |
where the player started |
The client event glitch-arcade:gameEnded fires with (gameKey, score) when a cabinet game ends.
Stuck on a step?Ask in the Discord →