Skip to content

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.

License

Notifications You must be signed in to change notification settings

srcimon/screwbox

Repository files navigation

Project Logo 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.

Maven Central javadoc Build Lines of Code Coverage

Introduction

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.

youtube trailer

Getting Started

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();
}

Maven Central

ScrewBox can also be found on Maven Central:

<dependency>
  <groupId>io.github.srcimon</groupId>
  <artifactId>screwbox-core</artifactId>
  <version>2.16.0</version>
</dependency>

Libraries used

Acknowledgments

The project idea was inspired by Gurkenlabs Litiengine.

super hero and cat standing next to each other

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Languages