MIT License

项目介绍

AlmasB/FXGL 是一个托管在 GitHub 上的开源项目,主要使用 Kotlin 编写,采用 MIT License 许可证,目前获得 4.9k 个 Star、711 次 Fork。

仓库全名
AlmasB/FXGL
开源许可证
MIT License
Star 数
4.9k
Fork 数
711
未关闭 Issue
145

README 摘要

Languages   English   简体中文   Русский About JavaFX Game Development Framework Why FXGL? No installation or setup is required "Out of the box": Java 8-25, Win/Mac/Linux/Android 8+/iOS 11.0+/Web Simple and clean API, higher level than other engines Superset of JavaFX: no need to learn new UI API Real-world game development techniques: Entity-Component, interpolated animations, particles,…

完整内容见 GitHub 原始 README 或本页 。

常见问题

FXGL 用什么语言开发?

主要使用 Kotlin 编写,采用 MIT License 许可证,目前有 4.9k 个 Star。

FXGL 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 FXGL 的源码?

可以直接克隆仓库:git clone https://github.com/AlmasB/FXGL.git,默认分支为 dev;安装与运行步骤见仓库 README。

FXGL 最近还在维护吗?

仓库最近一次更新为 3 周前,当前有 145 个未关闭 Issue;Star 数为 4.9k,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Java / JavaFX / Kotlin Game Library (Engine)

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

语言占比

C++
CSS
HTML
Java
JavaScript
Kotlin
kvlang

Release

  • 252月6日
  • 21.12024年3月27日
  • 212023年12月28日
  • 17.32023年3月30日
  • 17.22022年8月21日

README

promo

Languages

  English

  简体中文

  Русский

About

JavaFX Game Development Framework

Maven Central Build Status codecov sponsor JFXCentral

Why FXGL?

  • No installation or setup is required
  • “Out of the box”: Java 8-25, Win/Mac/Linux/Android 8+/iOS 11.0+/Web
  • Simple and clean API, higher level than other engines
  • Superset of JavaFX: no need to learn new UI API
  • Real-world game development techniques: Entity-Component, interpolated animations, particles, and many more
  • Games are easily packaged into a single executable .jar, or native images

Good for:

  • Any 2D game (side-scroller / platformer / arcade / RPG)
  • Any business application with complex UI controls / animations
  • Experimental 3D
  • Hobby / academic / commercial projects
  • Teaching / learning / improving game development skills
  • Fast prototyping of app ideas

Minimal Example

public class BasicGameApp extends GameApplication {

    @Override
    protected void initSettings(GameSettings settings) {
        settings.setWidth(800);
        settings.setHeight(600);
        settings.setTitle("Basic Game App");
    }

    public static void main(String[] args) {
        launch(args);
    }
}

Getting Started

For a quick dive into code, see standalone basic examples.

Otherwise, see:

Maven

  • Maven template project if you use Java and/or Kotlin
<dependency>
    <groupId>com.github.almasb</groupId>
    <artifactId>fxgl</artifactId>
    <version>25</version>
</dependency>

Gradle

  • Gradle template project if you use Java and/or Kotlin

Please refer to the template if there are any errors.

repositories {
    jcenter()
}

dependencies {
    compile 'com.github.almasb:fxgl:25'
}

Modularity

If you wish to develop a modular application, here’s a complete example of your module-info.java:

open module app.name {
    requires com.almasb.fxgl.all;
}

Uber jar

Download the latest uber jar from Releases

Community

  • University of Brighton, UK
  • University of Nottingham, UK
  • Georgia Institute of Technology, USA
  • kidOYO, USA
  • Walton High School, USA
  • Conant High School, USA
  • Zealand Institute of Business and Technology, Denmark
  • Federal Institute of Education, Science and Technology of Rio Grande do Sul, Brazil
  • FHNW School of Engineering / Computer Science, Switzerland
  • Johann-Andreas-Schmeller-Gymnasium Nabburg, Germany

If your institution wants to use or is using FXGL, add a note via GitHub Discussions to be added to the list.

Community tutorials:

Community projects (identified using fxgl topic):

If you’d like your project featured here, just add a note via GitHub Discussions.

Development Team

A description of roles is given in the Contribution Guide.

Maintainers (Collaborators):

Coordinators:

Testers:

Contribution & Support

If you want to build FXGL from the source code or want to contribute, please see the Contribution Guide (including non-code). FXGL is fully modular, so new contributors do not need to understand the entire codebase, only the module to which the contribution is made. Contributions will be reviewed in accordance with the Code of Conduct.

You can support the FXGL development or show interest by simply starring the repo or becoming a sponsor.

Sponsors

Users:

  • @Marsl10
  • @SergeMerzliakov
  • @mbains
  • @sabit86
  • @hendrikebbers
  • @ImperaEtConquer
  • @thejeed
  • @chikega

Companies:

  • @karakun

Contact

评论

暂无评论