~/talk

Remaking Retro Games with Vue.js

TalkinFrenchat DevFest du bout du monde 2019 · on Friday, 2019-02-22· [vue, frontend-architecture]
slides:none on file

A playable Pokemon Red clone is rebuilt using Vue 3 and Vue CLI, rendering a 40px tile grid with arrow-key movement and collision for walls. Game state (position, HP, environment) is stored in a Vuex store with getters and mutations, and combat is implemented as a separate component: a six-step battle state machine that updates HP bars and returns to the map. The app uses refs, computed properties, and watchers and the demo runs live.

AI-written summary · about

  1. 0:00Vue.js intro
  2. 2:52Retro game with Vue.js
  3. 3:13Base structure & components
  4. 4:16Data binding & reactivity
  5. 5:47Conditional rendering
  6. 6:51Event handling
  7. 8:23Component display
  8. 9:30Custom methods
  9. 10:59Dynamic styles
  10. 12:26Props for data
  11. 13:29Arrow key movement
  12. 15:16Movement grid
  13. 16:40Vuex state
  14. 19:28Collision handling
  15. 21:59Advanced computed props
  16. 23:04Character state
  17. 25:55Pokémon battle triggers
  18. 27:42Battle component
  19. 28:45HP display
  20. 31:11HP state in Vuex
  21. 32:38Message window
  22. 33:43Attack selection
  23. 35:10Enemy attack choices
  24. 36:16HP reduction & animations
  25. 37:39Battle end
  26. 39:08Back to movement
  27. 41:19Vue.js key concepts
  28. 42:00Vue DevTools
~/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.