Game Development
This page and the #haskell-game IRC channel is the starting point for everyone interested in doing game development with Haskell. You may also wish to join the Games group on haskellers.com.
There are quite a lot of games, unfinished libraries, and interested people out there - please gather links here and join us on #haskell-game !
Games and game engines
- See also Hackage categories: Game, Game Engine, Graphics, Sound, Physics
Other supporting software
- grid provides tools for working with regular arrangements of tiles, such as might be used in a board game or self-organising map (SOM). Grid currently supports triangular, square, and hexagonal tiles, with various 2D and toroidal layouts (description).
Articles and blog posts
- Computer Games' - trying to implement the game flow of a computer game
- The Next Mainstream Programming Languages: A Game Developer's Perspective (PPT, PDF) presentation by Tim Sweeney
- wxHaskell - A Portable and Concise GUI Library for Haskell (PDF) - describes an implementation of an asteroids game, wxAsteroids
- Haskell for Games! Blog post, with PDF slides from AngloHaskell talk.
- Postmortem: Naughty Dog's Jak and Daxter: the Precursor Legacy; an article about a game developed with a DSL compiler written in Lisp
- Lambdor blog mostly about Yampa FRP and game development in Haskell with some tutorials
- LambdaCube 3D is a domain specific language and library that makes it possible to program GPUs in a purely functional style.
Videos
- Games in Haskell - Matthew Sackman and Tristan Allwood on developing games with OpenGL in Haskell
Examples
- GorillaBAS - this was an attempt on defining computer games, and build such a thing.
- https://github.com/mlesniak/game - Haskell/OpenGL/Chipmunk game prototypes
- wxAsteroids, a well-documented game, based on wxHaskell
- hssdl-mac-example - how to make an SDL-using package buildable on mac OSX
- http://codepad.org/LRGEkkDp - initialization for SDL to start rendering OpenGL stuff
- http://hackage.haskell.org/package/stunts - A revival of the classic racing game Stunts to serve as a non-toy-sized example for LambdaCube.
- Possible Hackage categorisation guidelines: upload games to Game, engines and libs to Game Engine, or at least to some category beginning with Game, and check latest categories before uploading
Wishlist
Is hackage missing a useful data structure or library for some functionality that would benefit game programming? Suggestions for useful things can be added here as potential projects to hack on.
- Octtree, kd-tree, various space partitioning techniques (maybe start with spacepart).
- Binding to fmod
- Binding to enet for multiplayer games. (jeffz is working on this).