Writing a game in Haskell
summary
A working 2D game prototype in Haskell that actually runs and shows a little alien resurrecting creatures using OpenGL + GLFW for graphics, OpenAL sound for audio, Lera FRP to model signals and nested signal generators for levels, and optional hipmunk physics bindings. Major pain points are unsafe numeric conversions, default laziness, slow compile/test cycles, broken or unmaintained libraries and porting surprises; the demo works but distribution, scaling to many levels and performance remain unresolved.
AI-written summary · about
chapters (13)
- 0:00Start
- 1:08Game in Haskell
- 1:25Concept
- 3:35Graphics with OpenGL
- 5:24The Loop
- 5:46No life without state
- 7:11Frame rate
- 7:23State: FRP
- 10:29FRP and levels
- 11:38Textures
- 15:47Keyframe animations Skeletal animations
- 16:50Physics
- 19:05Lessons Learned
related talks
25mGame Programming in Haskell
51mWriting Games with Ruby
51mAll work and no play makes Gophers something something
31mAbstract nonsense
36mGame Development in SwiftUI
08mWonky Game Physics in Reason and Lessons Learned
54mBuilding games in .NET MAUI
31mThe Tricks of Game Programming in a Pure Functional Language
