All Projects → TheDudeFromCI → WraithEngine

TheDudeFromCI / WraithEngine

Licence: Apache-2.0 license
A free, open source, Java game engine library built on top of LWJGL. Designed to act as a use-exactly-what-you-need, no-assumptions framework, WraithEngine is versatile enough to act as a library within other tools or projects, or a full fledged standalone game engine.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to WraithEngine

SFE-Engine
A real time renderer based on Vulkan(LWJGL).
Stars: ✭ 20 (-57.45%)
Mutual labels:  engine, lwjgl3
bitty
Bitty Engine - An itty bitty 2D game engine, with built-in editors, programmable in Lua.
Stars: ✭ 86 (+82.98%)
Mutual labels:  engine, indiedev
Lambdahack
Haskell game engine library for roguelike dungeon crawlers; please offer feedback, e.g., after trying out the sample game with the web frontend at
Stars: ✭ 439 (+834.04%)
Mutual labels:  engine, indiedev
awesome-indie
Resources for independent developers to make money
Stars: ✭ 7,991 (+16902.13%)
Mutual labels:  indiedev
Nexus
🖼️ Actionscript 3, GPU accelerated 2D game engine using Stage3D
Stars: ✭ 12 (-74.47%)
Mutual labels:  engine
FabChess
UCI compliant chess engine written in Rust
Stars: ✭ 27 (-42.55%)
Mutual labels:  engine
RockBottom
A 2D-sidescrolling resource collection game - Now open sourced!
Stars: ✭ 16 (-65.96%)
Mutual labels:  lwjgl3
PlantsVsZombies
My own clone of Plants Vs. Zombies game using Java/Swing
Stars: ✭ 46 (-2.13%)
Mutual labels:  java-game
jprol
Yet another Java based Prolog engine
Stars: ✭ 25 (-46.81%)
Mutual labels:  engine
Quake2
Quake 2 modification with new renderer and many other unique features.
Stars: ✭ 31 (-34.04%)
Mutual labels:  engine
Scylla
The Simplistic Information Gathering Engine | Find Advanced Information on a Username, Website, Phone Number, etc.
Stars: ✭ 424 (+802.13%)
Mutual labels:  engine
Ockero
Ockero: Kotlin OpenGl Game Engine
Stars: ✭ 67 (+42.55%)
Mutual labels:  lwjgl3
rage1
RAGE1: Retro Adventure Game Engine, release 1
Stars: ✭ 16 (-65.96%)
Mutual labels:  engine
SpinyGUI
(WIP) Java OpenGL GUI library. Created for using with latest LWJGL (LWJGL 3).
Stars: ✭ 21 (-55.32%)
Mutual labels:  lwjgl3
napalm-logs
Cross-vendor normalisation for network syslog messages, following the OpenConfig and IETF YANG models
Stars: ✭ 131 (+178.72%)
Mutual labels:  engine
enigma-go
Go library for consuming Qlik's Associative Engine.
Stars: ✭ 36 (-23.4%)
Mutual labels:  engine
bonita-engine
Deploy, execute, manage process-based applications made with Bonita studio or through Engine APIs
Stars: ✭ 123 (+161.7%)
Mutual labels:  engine
VoxelEngine
Custom voxel engine written in C++ and OpenGL
Stars: ✭ 44 (-6.38%)
Mutual labels:  engine
Cardinal-EMS
Aircraft engine management system using Qt.
Stars: ✭ 20 (-57.45%)
Mutual labels:  engine
dry
Dry is a new template engine and language, and is a superset of Shopify's Liquid, with first-class support for advanced inheritance features, and more. From the creators of Enquirer, Assemble, Remarkable, and Micromatch.
Stars: ✭ 66 (+40.43%)
Mutual labels:  engine

WraithEngine

WraithEngine is a free, open-source, Java-based game engine built on top of LWJGL. It is designed to use high-level API for creating games quickly and easily. It is designed to allow users to be able to browse and modify the engine to fit their needs, and only apply components which are relevant for their projects.

Actions Status Quality Gate Status Bugs Coverage Maintainability Rating Technical Debt BCH compliance


Java Version

Starting with build 27, Java 13 is now the targeted version being used to compile the project. (Previously version 8.)

Screenshots

Getting Started

WraithEngine primarily uses Maven for package management, but for users who wish to use their own package management system, the jar file and dependencies can be found in the releases tab.

Setting Up Maven

If your project uses a Maven workflow, the following dependency should be added to your pom.xml file:

<dependency>
    <groupId>net.whg</groupId>
    <artifactId>wraithengine</artifactId>
    <version>BUILD_NUMBER</version>
</dependency>

Replace BUILD_NUMBER with the build number you wish to use, in the format build*#. Or,build_3 to use build 3, for example.

As WraithEngine uses the Github Package Repository, you must also add this repository to your project in order to access WraithEngine. This can be done by modifying your Maven settings.xml file. This file is a Maven user settings file, which tells Maven useful tips such as what servers to check to resolve dependencies, and account information for logging in to those servers to access them. This file is found at USER_HOME_FOLDER/.m2/settings.xml.

For individuals using Linux, this is usually: /home/USERNAME/.m2/settings.xml
For individuals using Windows, this is usually: C:\Users\USERNAME\.m2\settings.xml
For individuals using Mac, this is usually: /Users/USERNAME/.m2/settings.xml

If you're using a custom workflow, you can also create a separate settings.xml file specific to your current project. Simply use the --settings PATH/TO/SETTINGS flag when calling Maven commands to use a custom settings file.

If the file does not exist, create it. After creating it, you want to add the following repositories and server tags. You should modify your file to look like this. (See profiles and servers) This basically tells Maven where to look for the WraithEngine package at. Due to how Github is set up, you also must have a Github API token created to allow you to download packages remotely, even though they're open source. This can be seen below in the <servers> tag.

<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
                      http://maven.apache.org/xsd/settings-1.0.0.xsd">

  <activeProfiles>
    <activeProfile>github</activeProfile>
  </activeProfiles>

  <profiles>
    <profile>
      <id>github</id>
      <repositories>
        <repository>
          <id>central</id>
          <url>https://repo1.maven.org/maven2</url>
          <releases><enabled>true</enabled></releases>
          <snapshots><enabled>false</enabled></snapshots>
        </repository>

        <repository>
          <id>github</id>
          <name>GitHub wraithengine Apache Maven Packages</name>
          <url>https://maven.pkg.github.com/wraithengine/WraithEngine</url>
        </repository>
      </repositories>
    </profile>
  </profiles>

  <servers>
    <server>
      <id>github</id>
      <username>USERNAME</username>
      <password>API_TOKEN</password>
    </server>
  </servers>
</settings>

Replace USERNAME with your Github username in all lowercase letters. Replace API_TOKEN with your Github API token.

If you're unsure how to create a Github API token, go into your user settings, and select Developer settings. Select Personal Access Tokens, and generate a new token that specific to the device you are working on. Make sure to give it the "read:packages" flag.

Note: Keep this token secret! This is a basically a password which allows software to access your account. This should be kept a secret! If your API token is ever compromised, delete it and create a new token.

Jar Download

If your currently workflow does not use Maven, all builds, starting from build 14, can be found in the releases menu about. The libraries which WraithEngine relies on can be found next to the release zip.

Building From Source

Requires Maven

You can build the project from source by simple cloning the project and running:

  • mvn -DskipTests dependency:copy-dependencies package

in the project directory. The WraithEngine jar file can be found in the target folder. All of the dependencies for it will automatically be downloaded into the target/dependency folder.

Project Demos

Requires Maven

Various demos for WraithEngine can be found within the Demos folder, showing off some of the various features of WraithEngine, as well as how they are used. If you'd like to run these projects yourself, you can clone the project, then run the following command from within the project directory:

  • mvn -DskipTests dependency:copy-dependencies install
  • mvn -f Demos/pom.xml dependency:copy-dependencies package

For Unix / Mac:

  • java -cp "Demos/target/*:Demos/target/dependency/*" DEMO_NAME

For Windows:

  • java -cp "Demos/target/*;Demos/target/dependency/*" DEMO_NAME

where DEMO_NAME is the name of the demo you wish to run, including the path. (I.e graphics.SpinningCubeDemo to run the spinning cube demo.)

Contributing

WraithEngine is open-source and community-driven. All contributions are welcome and highly encouraged! If you see an area of the project which is lacking, feel free to open an issue or submit a pull request. If you want to help but aren't sure where to start:

  • Test Coverage

    Extra tests are always awesome! They help prevent potential bugs and improve the stability of areas of the project which might have been overlooked in the past. If you think of some important tests which weren't originally added, feel free to submit them.

  • Documentation

    Sometimes documentation is poorly worded or doesn't properly explain what's going on. If you think of a better way of explaining something, or just generally tweaking the grammar and formatting, go for it.

  • Bug Fixes

    This is a pretty straight forward one. Bugs happen, and they suck, a lot. But if you have some time to squash a few of them, the community would greatly appreciate it!

  • Features and Enhancements

    These are the really big ones, for the brave. If you see a crucial feature on the todo list, that's really taking far too long to be implemented, feel free to get the ball rolling. It keeps things moving and ensures that the most important features actually make it into the project.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].