Below is a simple cinematics engine for a video game implemented in JavaScript. Well, “cinematics” is probably the wrong word, because there’s not really anything very kinetic going on. Basically, two static characters at a time talk to each other with speech bubbles. I guess it’s more of a “talking head” engine. Or, more accurately still, a “talking square” engine.

To see the code or to make a comment, visit https://thiscouldbebetter.wordpress.com/2014/10/29/a-cinematics-engine-for-a-video-game-in-javascript/.