Skip to content

Tokelon/tokTales

Repository files navigation

tokTales Engine

A neat game engine.

License: MIT Download tokTales Build

A cross-platform game engine written in Java.

Contents

About

The tokTales Engine is a personal project of mine that I've been working on in my free time for the past couple of years.
It's goal is to provide a framework for creating games and other graphical applications.

Disclaimer

Feel free to check out the samples and start working with the code, but keep in mind the following.

This project is currently in alpha.
It will contain bugs and all APIs are subject to change.

It is not feature complete.
The core structure has been implemented but a lot of functionality is still missing.

It is untested.
None of it has been tested in the wild.

The documentation needs additional work.
Not everything has Javadoc attached and the Wiki and Readme need to be expanded.

How to Use

This project is meant to be used as a framework that provides the structure for an application.
In addition, it handles common tasks and provides tools that assist in implementing functionality.
Finally, it fully supports extensibility by allowing you to hook into any part of it.

Getting Started

Installation

Add the package repository to your root project build.gradle.

allprojects {
    repositories {
        jcenter()
    }
}

Add the respective dependency to your subproject build.gradle.

Core

dependencies {
    implementation 'com.tokelon.toktales:tokTales-core-library:0.1.0'
}

Desktop

dependencies {
    implementation 'com.tokelon.toktales:tokTales-desktop-library:0.1.0'
}

Android

dependencies {
    implementation 'com.tokelon.toktales:tokTales-android-library:0.1.0'
}

Modules

The engine is divided into modules: Core, Desktop, Android, etc.
Each module contains one or more libraries: core-library and core-test in Core, desktop-library and desktop-test in Desktop, and so on.

The modules are built as a hierarchical structure in which platform libraries have dependencies on Core libraries, but never one platform on another. Meaning that, for example, you can use the Desktop libraries without ever getting involved with Android. But you can also develop for both and put the shared code into a core library.

There are also mixed modules like Tools, that contain libraries for more than one platform.

The full list of modules can be found here.

Building

The build system used is Gradle.

Prerequisites

  • An internet connection for downloading Gradle and project dependencies
  • Java Development Kit version 8 or higher for running Gradle
  • Android SDK when building Android projects

Building a project

To build a project, navigate into the project directory and use the Gradle Wrapper to execute the build task.
For example, to download and build the master project, run the following in a shell (Windows).

git clone https://github.com/Tokelon/tokTales.git
cd tokTales-master
.\gradlew build

Project structure

Each of the engine modules is configured as a Gradle root project and contains one or more subprojects (libraries).
In addition there is the master project, which includes all projects, and is used for developing and publishing, as well as other tooling purposes.

Documentation

Technologies

Below listed are some of the technologies used in this project.

An extensive list of technologies can be found here.

License

About

tokTales Engine :: A neat game engine.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages