~/talk

Writing 2D games using super simple Haskell

links:none on file
slides:none on file

Walks through a working 2D shooter coded in super simple Haskell that uses GLFW + OpenGL for rendering, MVar to sync engine and game state across threads, and a small engine called playtime wired with stepGameState and visualize. Implements frame-rate–independent motion via delta time, texture sprites (1024×768 demo), background stars, enemies (about 10 spawned), heart bullets, and rectangle collision detection; bullets and enemies are removed on collision. Live reloading uses a GHC interpreter; code: https://github.com/cvogt/2020-07-01-haskell-game-demo.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:10Live game demo overview
  3. 2:58Game state and initial setup
  4. 4:24Handling keyboard events
  5. 7:35Moving stars background
  6. 9:19Adding enemies to game
  7. 12:49Shooting mechanics
  8. 14:36Collision detection
  9. 17:07Engine visualization
  10. 18:55Engine configuration
  11. 21:45Game loop and rendering
  12. 24:17OpenGL rendering details
  13. 25:18Collision detection logic
  14. 26:01Q&A and closing
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.