~/talk

Games Development with Typescript and Canvas

Talkat Armada JS 2019 · on , 2019-09-00· [typescript, creative-coding]
slides:none on file

Reimplements Pac‑Man using TypeScript, the Canvas API for 2D rendering and Web Audio for sound, with a hand‑built entity‑component system, sprite‑sheet processing via createImageBitmap, requestAnimationFrame game loop (aiming for 60fps / 16.66ms), keyboard polling abstraction, tile map layout (created by hand as CSV), and a ghost tracking system using Euclidean distance. Core systems are unit tested (sprite animation by timestamp). Demo runs with rendering, input and basic ghost AI but movement has some bugs and audio may require user interaction to autoplay.

AI-written summary · about

  1. 0:00Introduction
  2. 1:36Game project overview
  3. 2:29TypeScript benefits
  4. 6:27Canvas API rendering
  5. 8:28Web Audio API integration
  6. 10:13Core game loop
  7. 12:09Sprite management
  8. 14:14User input handling
  9. 15:39Tile-based level design
  10. 19:19Vector mathematics
  11. 23:14ECS architecture
  12. 29:38Game systems
  13. 32:07Live demo
  14. 32:56Conclusion and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.