Skip to content

dtsudo/DT-Danmaku-Web-Browser-Version

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

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.

How to execute the program

Open the DT Danmaku.html file in a web browser.

Licensing

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.

How to compile the source code

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 the Source code/DTDanmaku/dist/ folder.
  • Copy Source code/DTDanmaku/DTDanmakuBridgeImagesJavascript.js to the Source code/DTDanmaku/dist/ folder.
  • Copy Source code/DTDanmaku/DTDanmakuBridgeKeyboardJavascript.js to the Source code/DTDanmaku/dist/ folder.
  • Copy Source code/DTDanmaku/DTDanmakuBridgeMouseJavascript.js to the Source code/DTDanmaku/dist/ folder.
  • Copy Source code/DTDanmaku/DTDanmakuBridgeSoundsJavascript.js to the Source code/DTDanmaku/dist/ folder.
  • Copy Source code/DTDanmaku/DTDanmakuInitializerJavascript.js to the Source code/DTDanmaku/dist/ folder.
  • Copy Source code/DTDanmaku/DT Danmaku.html to the Source 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 to Source code/DTDanmaku/dist/

Then, to run the program, simply run Source code/DTDanmaku/dist/DT Danmaku.html in a web browser.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published