Skip to content
A lightweight 2d game engine.
Java Other
  1. Java 99.5%
  2. Other 0.5%
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
licenses init Apr 28, 2019
src bugfix of GameWindow.drawText Aug 11, 2019
wiki starting 4th round of grand fix; typo fix today. Jun 13, 2019
.gitignore fix pom Jun 9, 2019
.travis.yml fix travis Jun 19, 2019
LICENSE auto add licenses using idea. May 2, 2019 1. add classes dealing with Jamepad as new gamepad library. the JXInp… Aug 10, 2019
appveyor.yml 1. Add method to rotate the draw picture. May 30, 2019
build.cmd delete site. Jun 3, 2019
clean.cmd add patchSettingTree to patch the setting tree. May 15, 2019
javadocFix.cmd autofix javadocs Jun 14, 2019
pom.xml bugfix of GameWindow.drawText Aug 11, 2019
refresh_keys.cmd 1. move cyan_potion_demo into this github project; 2. update x8l. May 27, 2019
site.cmd add site.cmd Jun 3, 2019
sonar.cmd add a place holder. Jun 18, 2019
steam_appid.txt add patchSettingTree to patch the setting tree. May 15, 2019


Maven Central License: MIT Build Status

Quality Gate Status cyan_potion_base

Quality Gate Status cyan_potion_coordinate

Quality Gate Status cyan_potion_rpg_module

A lightweight 2d game engine in java.


After a long period of hesitation, I managed to convince myself to open source most parts of it, yes, even MIT instead of GNU.

This engine is built on the several principles:

1. completing 2d games in java.
2. prefer more programmers friendly, not artists friendly.
3. high freedom + high expandability.
4. be crazy.

Current state

It is still in the process of development, and many places are incomplete.

Many codes related to animation/display have not been completed yet.

The event system is also very rudimentary.

And no much materials for the inner logic for now.


Here is the demo.

(The demo is actually for cyan_potion_rpg_module, but I guess this counts.)


You can also take a look at this.


Also, if there be people who want to contribute codes/ideas/suggestions, feel free to do so.

Please also notice that if I receive your pull request, you will be put in the authors list.

If you want to be put in the licenses folder also, please notice that we accept only MIT license for your pull request.

Add the MIT license to your code piece and put it into into license folder, and write description about it.

Special Thanks

Java ProfilerJava profiler Thanks ej-technologies for providing such a wonderful performance analysing tool.

Thanks for reading this


You can’t perform that action at this time.