This is a port of the "DT Danmaku" project (https://github.com/dtsudo/DT-Danmaku-v1.00), so that it can run in a web browser.
Open the DT Danmaku.html
file in a web browser.
The source code is licensed under the MIT license. However, note that it uses dependencies and other assets that are licensed under different licenses.
This project uses Bridge.NET to compile the C# code into javascript. Bridge.NET is licensed under the Apache License Version 2.0. See https://github.com/bridgedotnet/Bridge and https://github.com/bridgedotnet/CLI for more details about Bridge.NET.
The font used in the images was generated by metaflop. (See http://www.metaflop.com/modulator for more details about metaflop.) As the website notes: "All outline-based fonts (webfonts or otf) that are generated with this project are licensed under the SIL Open Font License v1.1 (OFL). This means that you can freely use and extend the fonts and also use them commercially. Any derivative work has to be made freely available under the same license."
The game uses images and sounds from Kenney Asset Pack. These images are licensed under Creative Commons Zero (CC0). See www.kenney.nl for more details.
This project uses Bridge.NET to compile the C# code into javascript. The Bridge CLI (https://github.com/bridgedotnet/CLI) needs to be installed so that we can run the Bridge compiler on the command line.
Once the Bridge CLI is installed, go to the source code folder and run bridge build
to compile the C# code:
cd "Source code/DTDanmaku/"
bridge build
This will generate a few files in the Source code/DTDanmaku/dist/
folder. However, the project also needs a few additional javascript and html files:
- Copy
Source code/DTDanmaku/DTDanmakuBridgeDisplayJavascript.js
to theSource code/DTDanmaku/dist/
folder. - Copy
Source code/DTDanmaku/DTDanmakuBridgeImagesJavascript.js
to theSource code/DTDanmaku/dist/
folder. - Copy
Source code/DTDanmaku/DTDanmakuBridgeKeyboardJavascript.js
to theSource code/DTDanmaku/dist/
folder. - Copy
Source code/DTDanmaku/DTDanmakuBridgeMouseJavascript.js
to theSource code/DTDanmaku/dist/
folder. - Copy
Source code/DTDanmaku/DTDanmakuBridgeSoundsJavascript.js
to theSource code/DTDanmaku/dist/
folder. - Copy
Source code/DTDanmaku/DTDanmakuInitializerJavascript.js
to theSource code/DTDanmaku/dist/
folder. - Copy
Source code/DTDanmaku/DT Danmaku.html
to theSource code/DTDanmaku/dist/
folder. - Optionally, delete
Source code/DTDanmaku/dist/index.html
since we don't need this file.
We also need the sound and image files:
- Copy the
Data
folder toSource code/DTDanmaku/dist/
Then, to run the program, simply run Source code/DTDanmaku/dist/DT Danmaku.html
in a web browser.