START HERE
DOCUMENTS
PICTURES AND SOUND
MAKING THINGS
TOGETHER
THE SYSTEM
PeakOS Help
Game Builder
Game Builder makes games for PeakOS. It arrives in a later update.
Games
A game is a PeakOS app in a window of its own. Its menus, lobby, settings and HUD are PeakUI views; its board is drawn by Peak Game, sixty frames a second, and follows the pointer, the keys and the trackpad.
The board
A board comes from an SVG: each shape with an id is a node, with its fill and stroke, scaled into the window. A tap finds the top shape under the pointer.
Text and images are nodes too: a label is outlined with the system's fonts, and a PNG is drawn where the game puts it.
Movement and sound
Nodes move to a point, pulse, fade and spin in the engine, with SwiftUI's easings, so Swift is not called every frame. A game can ask for a timer, throw a burst of particles and play a short WAV. A tween or a timer arriving is sent back to the game as an event.
The camera pans with the wheel and zooms around the pointer with Control and the wheel; the plus and minus keys zoom about the middle, and the arrow keys pan.
The first frames
The test game First Frame shows an SVG board. Tap a shape and it turns red; the bar at the top names it.
The test game Motion shows the rest: an orb travels and returns, a beacon pulses, a star spins and a timer throws particles. Tap a shape to pulse it, burst particles and hear a tap; scroll to pan and Control-scroll to zoom. Games are not in the Launchpad yet.
Conquest is the first game: you play Red against three computer players. Its Help page has the rules.
Still to come
Game Builder's canvas and sections, and games from the Store, arrive in later updates.
PeakOS Help
Game Builder
Game Builder makes games for PeakOS. It arrives in a later update.
Games
A game is a PeakOS app in a window of its own. Its menus, lobby, settings and HUD are PeakUI views; its board is drawn by Peak Game, sixty frames a second, and follows the pointer, the keys and the trackpad.
The board
A board comes from an SVG: each shape with an id is a node, with its fill and stroke, scaled into the window. A tap finds the top shape under the pointer.
Text and images are nodes too: a label is outlined with the system's fonts, and a PNG is drawn where the game puts it.
Movement and sound
Nodes move to a point, pulse, fade and spin in the engine, with SwiftUI's easings, so Swift is not called every frame. A game can ask for a timer, throw a burst of particles and play a short WAV. A tween or a timer arriving is sent back to the game as an event.
The camera pans with the wheel and zooms around the pointer with Control and the wheel; the plus and minus keys zoom about the middle, and the arrow keys pan.
The first frames
The test game First Frame shows an SVG board. Tap a shape and it turns red; the bar at the top names it.
The test game Motion shows the rest: an orb travels and returns, a beacon pulses, a star spins and a timer throws particles. Tap a shape to pulse it, burst particles and hear a tap; scroll to pan and Control-scroll to zoom. Games are not in the Launchpad yet.
Conquest is the first game: you play Red against three computer players. Its Help page has the rules.
Still to come
Game Builder's canvas and sections, and games from the Store, arrive in later updates.
No cookies. Visits are counted anonymously, with nothing that follows you between sites or days.
© 2026 Vegar Lee Berentsen (Berentsen Labs)