"Game Development in Elm: Build Your Own Tooling"
summary
Recreates a boids flocking simulation in Elm, adds a live inspector that edits floats, colors and a timescale at 60fps, and persists settings to localStorage as JSON. Uses a small schema file plus a generator script to emit decoders/encoders and Elm accessors so adding a field is one line. UI implements Elm Config UI controls with mouse-drag using the HTML5 pointer lock API via ports, and the tool works for rapid, type-safe tuning.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 0:55Lessons from HyperCard
- 3:31Switching to Elm
- 5:05Designing with a spec
- 7:17The problem with simulation
- 11:08Improving the feedback loop
- 14:12Introducing Elm config UI
- 17:23Implementing the tool
- 22:16Conclusion
related talks
51mAdventures in Elm
39mDeveloper Happiness on the Front End with Elm
31mThe Tricks of Game Programming in a Pure Functional Language
54mWriting a MMORPG game in Elm on both client and server
51mElm-Friendly Functional Programming For The Web
57mBranching Out with Elm
30mElm the Game Changer
45mFunctional Reactive Programming in Elm
