Skip to content

Latest commit

 

History

History
64 lines (47 loc) · 3.01 KB

README.md

File metadata and controls

64 lines (47 loc) · 3.01 KB

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