Re: [Haskell-cafe] Input Handling, Callbacks, State Machines

2012-11-04 Thread Heinrich Apfelmus
Daniel Trstenjak wrote: Hi all, I'm currently struggling in the search for a nice abstraction for the input handling of a game (it's a simple platformer with rectangular platforms). One good example is the level editor of the game. When pressing the left mouse button the creation of a new

[Haskell-cafe] Input Handling, Callbacks, State Machines

2012-11-03 Thread Daniel Trstenjak
Hi all, I'm currently struggling in the search for a nice abstraction for the input handling of a game (it's a simple platformer with rectangular platforms). One good example is the level editor of the game. When pressing the left mouse button the creation of a new platform is started. As long

Re: [Haskell-cafe] Input Handling, Callbacks, State Machines

2012-11-03 Thread Benjamin Edwards
This might be worth reading http://blog.sigfpe.com/2011/10/quick-and-dirty-reinversion-of-control.html ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe