Drakkhen Origins
- Modified: 7/17/2022 8:25:19 PM
- Platforms: Browser
- Languages: Javascript
A remake (origin story really) of Drakkhen using Html5 and Javascript. I wanted this game, or at least the creation of this experiment, to be an opportunity to learn about how perspective projection works, as well as ray-casting as I got further along in game development. Currently the world randomly generates sprites & shapes depending on the player's name. You can also change the seed to change the world dynamically.
In order to create a randomly generated world, based on a seed, I had to implement a Linear Congruential Generator algorithm in javascript, since javascript does not have a build in randomize function that let's you supply a seed. In order to sync up with the back-end server, I had to implement the LCG algorithm there as well. Not a difficult task, rather fun actually, but something extra that had to be done.
Please select a file from the tree to view.