Coder Social home page Coder Social logo

fastj's Introduction

FastJ Logo

Windows Build Status Ubuntu Build Status Mac OS Build Status

Javadoc Maven Central jitpack.io SonarCloud Code Coverage

What is FastJ?

FastJ is an open-source, Java-based 2D game engine and framework. Originally named the FastJ Engine, it aims to provide an easy-to-use, 2D game-making library.

Disclaimer

This project is still under heavy development. There is a very good chance bugs are still prevalent and untracked, as the engine is not fully covered by unit tests. Documentation is readily available, but may change over time. If you would like to help out, all help is appreciated!

Projected Feature List

Feature Description Support
2D Rendering Rendering of 2D Polygons, Models, Lighting
Scene System Scene-based Rendering, Scene Switching
Scriptable Behaviors Control game object states through behaviors.
Desktop Support Full Compatibility on Windows, Linux, and macOS.
Audio Engine Play sounds of several different formats at any given time.
Image Support Image rendering, transformations, and sprite animation.
Animation Support Interpolation and tweening framework.
UI System Flexible UI system to replace the need for Swing UI.
FastJ Model Creator Create & Export 2D Models quickly and easily.
FastJ Editor View, Run, Build, and Export FastJ games from an editor.
Web Support Compile FastJ games to run in a browser.

✅ is complete and satisfactory.

✔ is implemented and usable, but is missing certain features.

⭕ is in progress.

❌ is not yet implemented.

Adding FastJ to a Project

This library can be found in the following places:

Adding the Dependency

When adding the dependency, make sure to replace [latest version here] with the actual version (you'll find this in the jitpack.io or Maven Central link up above). The current latest version is 1.5.0.

A few common dependencies are provided below:

  • Gradle
    • Groovy:
      repositories.maven {
          url('https://jitpack.io')
      }
      
      dependencies.implementation('com.github.fastjengine:FastJ:[latest version here]')
    • Kotlin:
      repositories.maven {
          setUrl("https://jitpack.io")
      }
      
      dependencies.implementation("com.github.fastjengine:FastJ:[latest version here]")
  • Maven
    <repository>
      <id>jitpack.io</id>
      <url>https://jitpack.io</url>
    </repository>
    
    <dependency>
      <groupId>com.github.fastjengine</groupId>
      <artifactId>FastJ</artifactId>
      <version>[latest version here]</version>
    </dependency>

Learning FastJ

There are many different ways to learn FastJ -- namely the API documentation, the examples, and the tutorials on the main website.

Template Projects

Check out these template projects for FastJ! They're the fastest way to jump right into using FastJ.

Tutorials

FastJ provides article tutorials on its website to accommodate as many types of developers as possible. From beginners to experts, the website tutorials are written to give enough information to satisfy anyone willing to learn!

Code Examples

Explore FastJ's code examples to see the different ways FastJ can be used, and all of its features. These come with in-example explanations and easy plug-and-playability to give you the best chance at understanding how FastJ works.

API Documentation

Check out FastJ's documentation to get a better understanding of the code FastJ provides to improve your game-making experience.

Contributing to FastJ

Plan on contributing to the repository? Great! Be sure to read over the contribution guidelines, and read on to discover how to get started.

Building FastJ

You'll need a few things in order to work on the repository:

  • Git
  • Java 11
  • (optional, but highly recommended!) A decent understanding of how to use Gradle. Installation of Gradle is not required -- the project supplies the Gradle tools already.
    • For reference, this project currently makes use of Gradle 7.1.1.

Once you have what you need, follow these simple steps:

  • Clone the FastJ repository.
    git clone https://github.com/fastjengine/FastJ.git
  • Ensure that the FastJ project works on your device.
    ./gradlew check
    Having trouble using gradlew? Read this.

License

This repository is licensed under the MIT License.

fastj's People

Contributors

lucasstarsz avatar infiniteloopgamedev avatar yeffian avatar xchgeax avatar aurumbyte avatar tomlin7 avatar mellobacon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.