- Prelude of the Chambered in Dart (Compiled to JavaScript)
- 01 Sep 2014 08:38:29 pm
- Last edited by Unknownloner on 03 Sep 2014 10:55:17 pm; edited 2 times in total
Hey! I've been working on a port of Notch's Prelude of the Chambered game to Dart for a few days now, with great success! I'm almost done with my first goal: matching all features of the original. Once I've done that I want to refactor the code to be better and have less of the copy-paste abuse that results from a 48 hour game competition, and then maybe add some features to it like mouse control, volume settings, and an option of using a high-res viewport or low-res viewport. I might even be able to get it to work with chrome on android with a virtual touchpad, that might be neat.
EDIT:
Also I'm going to post the code once it's feature compatible with the original game if anyone's interested.
EDIT2:
I changed the map loading to use a pure dart PNG decoder instead of browser image decoder + canvas or webgl to get pixel data because the level loading wasn't working the same everywhere (probably due to them doing pre-multiplied alpha BS). Stupid browsers
You can try it out here
http://potc.unknownloner.com/
Requires a WebGL and WebAudio capable browser!
It also might run smoother in chrome than firefox, your results may vary
Do let me know if you come across any bugs
Oh and here's a screenshot
EDIT:
Also I'm going to post the code once it's feature compatible with the original game if anyone's interested.
EDIT2:
I changed the map loading to use a pure dart PNG decoder instead of browser image decoder + canvas or webgl to get pixel data because the level loading wasn't working the same everywhere (probably due to them doing pre-multiplied alpha BS). Stupid browsers
You can try it out here
http://potc.unknownloner.com/
Requires a WebGL and WebAudio capable browser!
It also might run smoother in chrome than firefox, your results may vary
Do let me know if you come across any bugs
Oh and here's a screenshot