ScrewBox is a minimalist pure Java game engine.
If you want to start building your own 2D game without leaving your cozy IDE it might be a fun choice.
ScrewBox uses a purely code based approach on creating games to not force you into using a proprietary content editor. As an open-source project, ScrewBox encourages collaboration and feedback. You can use it as-is, modify it or contribute to its development.
Learn more about the ScrewBox game engine at screwbox.dev.
Getting started with ScrewBox isn't that hard. Learn more in this Getting Started Guide.
public static void main(String[] args) {
Engine screwBox = ScrewBox.createEngine("Hello World");
screwBox.environment()
.enableAllFeatures()
.addEntity(
new CursorAttachmentComponent(),
new RenderComponent(SpriteBundle.BOX_STRIPED),
new TransformComponent());
screwBox.start();
}
ScrewBox can also be found on Maven Central:
<dependency>
<groupId>io.github.srcimon</groupId>
<artifactId>screwbox-core</artifactId>
<version>2.16.0</version>
</dependency>
- JUnit Eclipse Public License 2.0
- FasterXML Jackson Core Apache License 2.0
- AssertJ Apache License 2.0
- Mockito MIT License
- Docusaurus MIT License
- Docusaurus Search Local Plugin MIT License
The project idea was inspired by Gurkenlabs Litiengine.