8000 GitHub - gonzos978/FXGL: Simple and easy to use Java 2D gaming library based on JavaFX 8
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

gonzos978/FXGL

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FXGL

Simple and easy to use Java 2D gaming library based on JavaFX 8

Usage

Download the latest .jar file under jar/ and add it to the build path in your IDE. That's it, you're all set!

Notes

FXGL is in early stages of development. Hence, the API and functionality are likely to change from version to version. So I wouldn't recommend building a full scale application if you want to be able to use latest versions of FXGL.

Changelog

FXGL 0.1.3 (latest) supports:

  • Full JavaFX Integration (FXGL is built on top of JavaFX 8)
  • JBox2D Physics Engine Integration (v.2.2.1.1, https://github.com/jbox2d/jbox2d)
  • Basic Game Loop
  • Basic Logging
  • Basic Performance Monitor
  • Entity Component System
  • Global and Scoped Event System
  • Input Bindings
  • Automated Asset Management (".png", ".jpg", ".wav", ".mp3", ".txt", custom bi 6492 nary formats)
  • Automated Collision Handling (also unified, physics collisions are hooked into FXGL)
  • Networking (both TCP and UDP)
  • AI Pathfinding (A star search)
  • Simple Particles
  • Quick Time Events (QTE)
  • Intro Video / Animation (also supports custom intro)
  • Other minor game dev features

Examples

Link - https://www.youtube.com/AlmasB0/videos
Videos marked "FXGL" will walk you through the basics

Use Case

FXGL is perfect for small to medium sized games and for beginner / intermediate programmers in JavaFX. For larger projects it may not be as suitable, whereas advanced programmers will probably want to work with JavaFX directly. If you have a use case that FXGL doesn't cover, drop me an email stating the use case and what you have already tried.

Directory Structure for FXGL Applications

This somewhat matches the Eclipse structure but should work with other IDEs (TODO: needs verification). This allows easy packaging and deployment, as all assets packaged into jar will continue loading with exactly the same code.

project directory (typically project name)
    src (source code directory)
        assets
            textures (image files ".png", ".jpg")
            audio (audio files ".wav")
            music (music files ".mp3")
            text (text files ".txt")
            data (binary data files with custom extensions)
        (your packages / code)

License

MIT, so you can do anything you want with the code. Most of the code is for teaching purposes, so it probably doesn't have much production value.

#Contact almaslvl@gmail.com, https://plus.google.com/+AlmasB0/about

About

Simple and easy to use Java 2D gaming library based on JavaFX 8

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%
0