Java game framework

Overview

Ethereal Game Framework

Welcome to Ethereal game framework ! A java game framework that uses Swift as it's graphic renderer. It's the third version of Ethereal, all ideas are appreciated !

Features:

Two objects are currently there:

Pawn: Rendered object with position, size, rotation and texure Actor: Pawn with velocity and gravity

There are many handy utils for maths, image and sound. Here's what they can be used for:

MathUtil ImageUtil SoundUtil ConsoleColor
Randian Angle Inversion Get Image ressource Get Sound ressource Print colored Messages
Number mapping Resize Image Play sound
Random number between bounds
Collision detection

Of course, Vector logic has been implemented with many handy functions.

1.3v Update: -Actors can now bounce on other objects -Particles have been added ! Simply create a particleGenerator object to begin using it -Titles have been added too ! You can now display messages onto screen that disappear after a certain amout of time

Installation:

Simply import the Ethereal jar into your IDE and inherit the Game class to begin !

Example:

public class EtherealExample extends Game {
    Actor player;
    Pawn pawn;
    ParticleGenerator particleGenerator;

    @Override
    public void init() {
        player = new Actor(new Vector2(250,0), new Dimension(50,50), ImageUtil.getImageRessource("Placeholder.png", this.getClass()), "player", 2, true, true);
        pawn = new Pawn(new Vector2(100, 700 - 20), new Dimension(500,20), ImageUtil.getImageRessource("Placeholder.png", this.getClass()), "pawn", 1);

        particleGenerator = new ParticleGenerator(new Vector2(250,250), new Dimension(10,10), ImageUtil.getImageRessource("Placeholder.png", this.getClass()), true, 20, 10, 1, 5, 5000);
        particleGenerator.generate();

        new Title("Bienvenue !", new Vector2(200, 50), Color.RED, "Bahnschrift", 50, 2000);
    }

    @Override
    public void gameLoop(double deltaTime) {
        player.rotation += 5;
    }


    public EtherealExample(String title, int height, int width, int targetFps) {
        super(title, height, width, targetFps);
    }

    public static void main(String[] args) {
        new EtherealExample("Ethereal", 500, 500, 60);
    }
}
You might also like...

It is a simple java terminal game. I built it in order to practice my code skills that I obtained while I was learning Java.

Java-terminal-game It is a simple java terminal game. I built it in order to practice my code skills that I obtained while I was learning Java. The ga

Jan 20, 2022

A Java Game Engine created in Java with LWJGL!

💬 Suffler Engine Suffler Game Engine is an engine created in java using OpenGL to Graphics. Currently being developed at Eclipse, and Visual Studio C

Jul 23, 2022

A complete 3D game development suite written purely in Java.

A complete 3D game development suite written purely in Java.

jMonkeyEngine jMonkeyEngine is a 3-D game engine for adventurous Java developers. It’s open-source, cross-platform, and cutting-edge. 3.2.4 is the lat

Dec 31, 2022

Java / JavaFX / Kotlin Game Library (Engine)

Java / JavaFX / Kotlin Game Library (Engine)

About JavaFX Game Development Framework Why FXGL? No installation or setup required "Out of the box": Java 8-15, Win/Mac/Linux/Android 8+/iOS 11.0+/We

Jan 2, 2023

Jetserver is a high speed nio socket based multiplayer java game server written using Netty and Mike Rettig's Jetlang.It is specifically tuned for network based multiplayer games and supports TCP and UDP network protocols.

Note New version of Jetserver is called Nadron and is in a new netty 4 branch of this same repo. JetServer is a java nio based server specifically des

Dec 14, 2022

[LEGACY] LWJGL 2.X - The Lightweight Java Game Library.

[LEGACY] LWJGL - Lightweight Java Game Library WARNING This is the repository of the original LWJGL, which is no longer actively maintained. Unless yo

Dec 26, 2022

A Java Swing based game engine

faypixelengine A Java Swing based game engine What is it? A Java game engine that uses swing and can be used to develop interactive games. The idea fo

Aug 26, 2022

A small game written in Java to review words.

这是一个实现网络连接的助记单词游戏 项目的具体功能: 实现多个用户通过网络连机进行游戏 通过对随机下落的六级词汇的补全,在游戏中提高用户的单词水平 记录每次游戏的成绩和情况(答对、答错、未答) 运用的技术及难点: 技术: 运用JavaSwing对游戏进行图形化开发,运用JavaSocket实现C/S

Feb 2, 2022

A simple memory game written in java.

A simple memory game written in java.

What's this? A simple memory game written in java. How to play Download the latest release. Ensure that a compatible java runtime is installed (optima

Jun 26, 2022
Comments
  • Hey Poto

    Hey Poto

    Hey c'est print tu devrais post ton code :3 c'est chiant de décompiler surtout qu'il son mal foutu leur compilateur <3 Enfin tu fait comme tu veux mais dans tout les cas ton codes serra dé compilable :) autant mettre le source 🥉

    Merci d'avoir lut bye <3

    opened by PrintVoyageur 1
Owner
French developer who mainly codes Java games and Minecraft plugins with the Spigot API
null
Othello PvP (2-Player) Game Application created in Java using Swing and AWT, for playing the Othello game

Othello PvP (2-Player) Game Application created in Java using Swing and AWT, for playing the Othello game, a simple game that played on an 8 by 8 checkered board with 64 double-sided black and white discs. The game is easy to learn, but it takes time to master and develop winning strategies.

Soumyadeep Pal 1 Feb 28, 2022
My Game Engine tested via my Cubecraft Game

My Game Engine tested via my Cubecraft Game Install: mvn -P {your OS name} clean install mvn -P mac clean install mvn -P linux clean install mvn -P wi

null 30 Oct 3, 2022
The game is a 2D side scrolling system, where a player moves left, right, vertically or diagonally to traverse the game.

The game is a 2D side scrolling system, where a player moves left, right, vertically or diagonally to traverse the game.

Ravi Mandal 7 Sep 11, 2022
A simple puzzle game made with Unity to practice the game engine

A simple puzzle game made with Unity to practice the game engine.

Eyüb Salih Özdemir 1 Mar 30, 2022
A basic representation of the 0-player game, "Game-of-Life", a simple example of basic cellular automata

Game-Of-Life-Basic A basic representation of the 0-player game, "Game-of-Life", a simple example of basic cellular automata. A cellular automaton is a

Nikhil Narayanan 5 Oct 27, 2022
Desktop/Android/HTML5/iOS Java game development framework

Cross-platform Game Development Framework libGDX is a cross-platform Java game development framework based on OpenGL (ES) that works on Windows, Linux

libgdx 20.9k Jan 1, 2023
A Java game development framework that deploys to JVM, HTML5, Android and iOS.

PlayN PlayN is a cross-platform Java game development library written in Java that targets HTML5 browsers (via GWT), desktop JVMs, Android and iOS dev

null 237 Dec 9, 2022
Cross-platform Java game development framework.

Features Kronos is a open source, cross-platform game development library with a robust ecosystem. Listed below are current and planned (*) features:

Temps 0 Dec 19, 2022
Java game framework

Ethereal Game Framework Welcome to Ethereal game framework ! A java game framework that uses Swift as it's graphic renderer. ❗ It's the third version

null 3 Sep 13, 2022
Golden Axe (1989) game implemented in java using only standard libraries (Java 2D, Swing, AWT & Java Sound API)

Golden Axe (1989) game implemented in java using only standard libraries (Java 2D, Swing, AWT & Java Sound API), so no external libraries required. Video: https://youtu.be/uevIVLNhQqs

Leo 101 Jul 21, 2022