A game needs to framework

1b324e4900e79878eb518c1263b41795?s=47 Piotr Migdał
March 15, 2017
75

A game needs to framework

On Quantum Game with Photons and its development process (JavaScript + D3.js, but no game framework) at Indie Game Dev Mini-Talks March.

1b324e4900e79878eb518c1263b41795?s=128

Piotr Migdał

March 15, 2017
Tweet

Transcript

  1. A game needs no framework Piotr Migdał, PhD data scientist

    @ deepsense.io Indie Game Dev Mini-Talks March Meetup 15 Mar 2017, Mountain View (CA)
  2. PhD in quantum physics theory (2014, ICFO, Barcelona) data scientist

    (deepsense.io / freelancer)
 machine learning deep learning data-viz (D3.js)
  3. http://quantumgame.io/

  4. http://globalgamejam.org/2016/games/ritu-blah-blau

  5. quantum?

  6. ˆ H = E i ~ ˙ = ⇣ ~2

    2m r2 + V ( x ) ⌘
  7. experience!

  8. http://p.migdal.pl/2016/08/15/quantum-mechanics-for-high-school-students.html

  9. https://silverspaceship.com/chromatron/

  10. (JavaScript) framework

  11. None
  12. PhaserJS ImpactJS Construct 2 etc…

  13. But what if I want… • a puzzle game, •

    with SVG graphics, • using QUATNUM physics?
  14. • typos • bitwise operations • good for a quick&dirty

    demo,
 awful for development
  15. fortunately…

  16. None
  17. Tech choices • jspm.io (and ES6 before it was cool)

    • D3.js (for SVG) • Jasmine for tests • ESLint everywhere • (still, no game framework)
  18. None
  19. None
  20. …and PhD students (this one is from Caltech)

  21. lessons

  22. Quality • Write “good enough” code… • …but refactor mercilessly

  23. Modules • Balance:
 monolithic constructions vs abstract nonsenses • Split

    things as you go
  24. Priorities • Clarity first • Performance second

  25. Commits • Commit messages make a difference • Angular commit

    style is useful:
 
 type(module) message
  26. Tests • Unit test are important • Global tests are

    crucial
  27. Pros/cons of no framework • freedom

  28. None
  29. Thanks! • Game:
 quantumgame.io • Blog:
 p.migdal.pl
 - email, twitter,

    everything
 - “Quantum mechanics for high-school students” • Repo:
 github.com/stared/quantum-game