Etyl Applet


License

License

Harium Commercial License
GroupId

GroupId

com.harium.etyl
ArtifactId

ArtifactId

applet
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

Etyl Applet
Etyl Applet

Download applet

How to add to project

<!-- https://jarcasting.com/artifacts/com.harium.etyl/applet/ -->
<dependency>
    <groupId>com.harium.etyl</groupId>
    <artifactId>applet</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.harium.etyl/applet/
implementation 'com.harium.etyl:applet:1.0.0'
// https://jarcasting.com/artifacts/com.harium.etyl/applet/
implementation ("com.harium.etyl:applet:1.0.0")
'com.harium.etyl:applet:jar:1.0.0'
<dependency org="com.harium.etyl" name="applet" rev="1.0.0">
  <artifact name="applet" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.harium.etyl', module='applet', version='1.0.0')
)
libraryDependencies += "com.harium.etyl" % "applet" % "1.0.0"
[com.harium.etyl/applet "1.0.0"]

Dependencies

compile (1)

Group / Artifact Type Version
com.harium.etyl : etyl jar [1.4.5,)

test (2)

Group / Artifact Type Version
junit : junit jar 4.12
org.mockito : mockito-all jar 1.10.19

Project Modules

There are no modules declared in this project.

Etyl Build Status Codacy Badge

Etyl is the newest version of Etyllica (a 2D Game Engine made in Java).

The project was modified to handle multiples backends (choose between AWT or LibGDX), now you can run the exactly SAME code in Desktop or Android (and possibly HTML5 and iOS in the future, thanks to LibGDX).

How to start

Maven

<dependency>
    <groupId>com.harium.etyl</groupId>
    <artifactId>etyl</artifactId>
    <version>1.4.6</version>
</dependency>

Local jar

Can't use maven? No problem, build a local jar.

Minimal Working Example

import com.harium.etyl.Etyl;
import com.harium.etyl.commons.context.Application;
import com.harium.etyl.commons.graphics.Color;
import com.harium.etyl.core.graphics.Graphics;

public class Main extends Etyl {

    public Main() {
        super(800, 600);
    }

    public static void main(String[] args) {
        Main app = new Main();
        app.setTitle("Etyl");
        app.init();
    }

    @Override
    public Application startApplication() {
        return new HelloWorld(w, h);
    }

    public class HelloWorld extends Application {
        public HelloWorld(int w, int h) {
            super(w, h);
        }

        @Override
        public void load() {}

        @Override
        public void draw(Graphics g) {
            g.setColor(Color.GREEN_ETYL);
            g.fillRect(0, 0, w, h);
        }
    }
}

Related projects

Contact

Do you have a request? Need some help?

Open an issue, lets talk.

Need some privacy?

Send me an e-mail: [email protected]

License

Basically you can use it freely (even in commercial projects) but if you make some changes in Etyl, I would like to see it as a Pull Request (and maybe add it to the project).

com.harium.etyl

Harium

Versions

Version
1.0.0