Functional Reactive Game Programming – RxJS 5, Immutable.js and three.js
· 1 Minute / 331 Words
In this series of blog posts I will explain the most interesting parts of this project and share solutions to the problems I have encountered. Please revisit my blog in the following months if you are interested in using RxJS alongside three.js for games. You will find the full source code on GitHub, which you can fork and adapt or take as an inspiration for your own projects.
I have presented the current progress of this project at the Stahlstadt.js meetup on June 7. Then this year’s great summer prevented me from writing about it. The game already has about 500 lines of code at this stage, which is why I have decided to start my first three-part blog post series:
- Game Loop with RxJS 5/Immutable.js
- Game State with RxJS 5/Immutable.js
- Game Graphics with WebGL/three.js and Lazy-Loading of 3D Models (scheduled for November)
The game is missing a few things I want to implement. As soon as I am done writing about the existing code it might therefore turn into a five-part series:
- three.js The Wind Waker’s Cartoon Water Shader (to be decided)
- three.js Explosion with Particles/Sprites (to be decided)
The series is intended to help fellow developers who try to achieve similar goals. Keep in mind, that I am also constantly learning. If you have improvement suggestions or spot an error please don’t hesitate to mention it in the comment section or on Twitter.