Giter Site home page Giter Site logo

abeginnerflm / fxglgames Goto Github PK

View Code? Open in Web Editor NEW

This project forked from almasb/fxglgames

0.0 0.0 0.0 176.52 MB

This repo contains sample games built with FXGL

Home Page: http://almasb.github.io/FXGLGames/

License: MIT License

Shell 0.07% Java 95.21% Kotlin 4.47% CSS 0.25% kvlang 0.01%

fxglgames's Introduction

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)

fxglgames's People

Contributors

almasb avatar chengenzhao avatar shylexx avatar mbains avatar wuzirui avatar jdevfullstack 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.