Maven setup

AchternEngine is getting pushed to maven central for all releases (except nightly builds), this allows you to get started easily.

Simply add this to your dependencies and you're set!


This allows you to develop your game in your favorite IDE or text editor, but if you want to run the project directly within your IDE you have to have the native bindings in your classpath.

In your build process add this plugin to copy the native bindings into the target folder:


And add the following JVM paramter:


In addition to that AchternEngine uses slf4j as logging framework, you need to provide the implementation for that. You can use whatever you want and fits your project, but I recommend to use logback!


And add the following basic configuration file logback.xml into your resource folder:

    <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
        <!-- encoders are assigned the type
             ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
            <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>

    <root level="info">
        <appender-ref ref="STDOUT" />

Now you are all set and can get started