convergese: we will all be game developers
TRANSCRIPT
@hunterloftis
@hunterloftis
“Would you be interested in a project for one of our
artists based on that FPS? We'd like to provide the
full album stream on Rustie's website while fans have
to navigate through the world.”
– Warp Records
@hunterloftis
Apparent State (for just a running dude!)
demo (dude in forest)
• position
• velocity
• acceleration
• direction
• frame
• distance
• time
• all must sync!
@hunterloftis
Derived Statedemo (walking speed)
frame
direction
posedistance
velocityposition
time acceleration
@hunterloftis
Pure Functionsdemo (walking speed)
frame
direction
posedistance
velocityposition
time acceleration
@hunterloftis
Retained Mode
(the DOM)graphics source: MSDN
Hacks go here
To indirectly
optimize here.
@hunterloftis
Time accumulator
Accumulator Simulation step
1
accumulator - 16 = 0
steps = floor(16 / 16) = 1
@hunterloftis
Time accumulator
Accumulator Simulation step
1
accumulator - 16 = 8
steps = floor(24 / 16) = 1
@hunterloftis
Time accumulator
Accumulator Simulation steps
2
accumulator - 32 = 0
steps = floor(32 / 16) = 2
@hunterloftisThank you!
2D: Pixi.js, Matter.js
3D graphics: ThreeJS, BabylonJS
Game servers: iojs + Heroku (+ ws for multiplayer)
DOM & Native UIs: React.js • http://gamasutra.com/view/news/169296/
Indepth_Functional_programming_in_C.php • http://iamralpht.github.io/physics/