Giter Site home page Giter Site logo

keiki's Introduction

Keiki

​ A bullet hell game platform for research purpose (especially danmaku generation) written in Python.

​ In this platform, you can design "danmakus" by implementing Danmaku class provided in the platform. The platform guarantees subclasses of this class can be encoded into a parametric sequence for training Generative Adversarial Nets (GANs). We will update the documentations for the danmaku designing APIs at https://github.com/PneuC/Keiki/wiki/API-Docs soon.

Please use this bibtex if this repository is used in your work:

@inproceedings{wang2021keiki,
  title={Keiki: Towards Realistic Danmaku Generation via Sequential {GANs}},
  author={Wang, Ziqi and Liu, Jialin and Yannakakis, Georgios N.},
  booktitle={2021 IEEE Conference on Games (CoG)},
  pages={accepted},
  year={2021},
  organization={IEEE}
}

Environments that have been tested:

​ Python 3.7.6

​ Pygame 2.0.1

​ Pytorch 1.5.0

​ Numpy 1.18.1

​ Seaborn 0.11.1

​ Matlotlib 3.3.1

How to use:

Encoding Danmaku Class into Parametric Sequence:

​ Run run_make.py to encode all the subclasses of Danmaku found in data/code folder

Run Game Demo:

​ The recomanded way is putting encoded danmakus (in npy format) into danmakus folder, then run run_game.py to start. The platform will load all the npy files in this folder as the danmakus of the boss. You can also import danmaku classes at logic/boss.py and then add the imported classes into Boss.spells attributes.

How to play:

​ Use direction keys to move.

​ Hold Z to keep shooting

​ Hold Shift to keep slow mode. In slow mode the your moving speed will decrease to enhance operating accuracy.

​ You can also press S to skip the current danmaku.

Training GANs:

​ We provide 3 implemented GANs in generator folder. For each GANs you can run train.py at the corresonding folder to train it. You can execute python train.py -h or python train.py --help to check the parameters for the training.

keiki's People

Contributors

ljialin avatar pneuc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.