MIT License

项目介绍

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

仓库全名
AlmasB/FXGLGames
开源许可证
MIT License
Star 数
892
Fork 数
340
未关闭 Issue
17

README 摘要

This repo contains sample games built with FXGL Game Library. Each game focuses on one or two aspects of FXGL, e.g. Drop focuses on bare minimums, Pac-man focuses on AI, etc. Checkout this commit for Java 8 code for all projects (FXGL 0.5.4). All projects will eventually be upgraded to Java 11 code (FXGL 11.0+). Run Build for Mobile Follow latest instructions from client-samples. A relevant extract is copied below…

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

常见问题

FXGLGames 用什么语言开发?

主要使用 Java 编写,采用 MIT License 许可证,目前有 892 个 Star。

FXGLGames 可以免费商用吗?

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

如何获取 FXGLGames 的源码?

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

FXGLGames 最近还在维护吗?

仓库最近一次更新为 6月30日,当前有 17 个未关闭 Issue;Star 数为 892,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

This repo contains sample games built with FXGL

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

语言占比

CSS
Java
Kotlin
Shell
kvlang

Release

  • 1.02020年11月26日

README

This repo contains sample games built with FXGL Game Library. Each game focuses on one or two aspects of FXGL, e.g. Drop focuses on bare minimums, Pac-man focuses on AI, etc.

Checkout this commit for Java 8 code for all projects (FXGL 0.5.4). All projects will eventually be upgraded to Java 11 code (FXGL 11.0+).

Run

cd PROJECT_NAME
mvn javafx:run

Build for Mobile

Follow latest instructions from client-samples. A relevant extract is copied below.

For example, to build Breakout for Android (can only build from Linux):

  1. Download GraalVM zip: graalvm-ce-java11-linux-amd64-20.2.0.tar.gz

  2. Set GRAALVM_HOME and JAVA_HOME environment variables to the GraalVM installation directory. For example:

export GRAALVM_HOME=/opt/graalvm-ce-java11-20.2.0
export JAVA_HOME=$GRAALVM_HOME
cd Breakout
mvn clean client:build
mvn client:package

// connect your Android device and allow it installation over USB

mvn client:install

You can now run the game from Android, or you can run with logging from Linux: mvn client:run.

Contribute

These game demos are constantly upgraded, so feel free to fork and add something of your own.

Projects by difficulty

Beginner

Intermediate

Advanced

Community

You are very welcome to contribute to any of these games, or link to your own games. List of community developed games / demos: (Please add links below)

评论

暂无评论