~/talk

How to Make Grand Theft Auto Using CSS

Talkat All Day Hey! Live 2021 · on Friday, 2021-05-07· [creative-coding, css]
links:none on file
slides:none on file

A playable top‑down Grand Theft Auto clone built mostly with CSS3D that moves DOM divs in 3D, then shifts to three.js’s CSS3D renderer to fix z‑ordering and matrix math; collision is simple two‑point inversion, pedestrian AI uses A‑star pathfinding with weighted tiles, tire marks and blood use a canvas overlay, textures and fake lighting come from CSS background layering, performance is excellent on Safari mobile, choppier in Chrome, and full source is on GitHub.

AI-written summary · about

  1. 0:00Start
  2. 3:54WHY THREE JS? • THREE has a vast array of Matrix utilities
  3. 6:35ADDING THE CAR
  4. 7:22ADDING COLLISION DETECTION
  5. 7:59ADDING TEXTURES
  6. 8:35LIGHTING
  7. 10:13ADDING PEDESTRIANS
  8. 14:52WHAT NEXT? CLONE THE REPO. PLAY WITH THE CODE. SEE WHAT YOU CAN DO WITH IT!
~/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.