All Projects → squins → gdx-backend-bytecoder

squins / gdx-backend-bytecoder

Licence: Apache-2.0 license
Libgdx Kotlin app with Bytecoder

Programming Languages

kotlin
9241 projects
java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to gdx-backend-bytecoder

libgdx-transitions
libgdx screen transitions/fading
Stars: ✭ 43 (+79.17%)
Mutual labels:  libgdx
bialjam17
💫 The game that won the BialJam'17 event
Stars: ✭ 55 (+129.17%)
Mutual labels:  libgdx
gdx-deploy-sample
Sample Gradle configurations for LibGDX for preparing and deploying release builds
Stars: ✭ 28 (+16.67%)
Mutual labels:  libgdx
Koru
A 2D multiplayer sandbox game.
Stars: ✭ 78 (+225%)
Mutual labels:  libgdx
gdx-gameanalytics
Gameanalytics.com client implementation for libGDX
Stars: ✭ 28 (+16.67%)
Mutual labels:  libgdx
WurfelEngineSDK
Isometric game engine. Open world, block/voxel based and sprite rendering.
Stars: ✭ 96 (+300%)
Mutual labels:  libgdx
EasyStage
A stage profile tool for libgdx
Stars: ✭ 17 (-29.17%)
Mutual labels:  libgdx
gdx-gltf
GLTF 2.0 3D format support and PBR shader implementation for LibGDX
Stars: ✭ 156 (+550%)
Mutual labels:  libgdx
GDX-lazy-font
auto self-generate BitmapFont for libgdx 1.5.0 +
Stars: ✭ 26 (+8.33%)
Mutual labels:  libgdx
gdx-freetype-gwt
Freetype for gwt
Stars: ✭ 41 (+70.83%)
Mutual labels:  libgdx
tripeaks-gdx
A simple tri peaks solitaire game using libGDX.
Stars: ✭ 45 (+87.5%)
Mutual labels:  libgdx
pixelwheels
A top-down retro racing game for PC (Linux, macOS, Windows) and Android.
Stars: ✭ 315 (+1212.5%)
Mutual labels:  libgdx
pathfinding
Java pathfinding framework.
Stars: ✭ 94 (+291.67%)
Mutual labels:  libgdx
ForgE
Simple clone of RPG maker using LibGdx
Stars: ✭ 17 (-29.17%)
Mutual labels:  libgdx
libgdx-screenmanager
A screen manager for libgdx supporting transitions
Stars: ✭ 69 (+187.5%)
Mutual labels:  libgdx
DoubleHelix
A live wallpaper and daydream for Android featuring stylized glassy-looking DNA structures
Stars: ✭ 86 (+258.33%)
Mutual labels:  libgdx
gdx-sqlite
A cross-platform extension for database handling in Libgdx
Stars: ✭ 61 (+154.17%)
Mutual labels:  libgdx
odb-arktrail
Artemis-ODB + LibGDX game
Stars: ✭ 16 (-33.33%)
Mutual labels:  libgdx
myxy
用libGDX开发的梦幻西游
Stars: ✭ 24 (+0%)
Mutual labels:  libgdx
omo
Kotlin port with changes and improvements for omo originally by ForeignGuyMike
Stars: ✭ 22 (-8.33%)
Mutual labels:  libgdx

LibGDX Bytecoder backend

Support any libgdx project with any JVM language (Kotlin, Groovy, Scala) on the web!

We have a working demo available, and are working hard to make it work for most libGDX apps out of the box!

Current build status: Status Status Status

Table of Contents

About The Project

We are making a libGDX backend to run any libgdx app (whether written in Java or another JVM language) on the web using WebAssembly or JavaScript.
Bytecoder transpiles byte code to wasm32 or js.

The status is that a simple libgdx app now can run on the web! See our demo.

Built With

Testing JavaScript APIs

We are testing JavaScript apis in the web-demo project. Audio and Webgl are now ready, in future things like keyboard, mouse interaction when we implement them in Libgdx.

Having a dedicated project to test those apis, makes the Bytecoder backend implementation just dedicated to porting the JS calls to Kotlin.

Getting Started

To get a local copy up and running follow these simple steps.

Installation

Clone the repo

git clone https://github.com/squins/gdx-backend-bytecoder.git

Libgdx sample app (gradle)

The sample app contains all libgdx features that have been port. JAR files are provided to Bytecoder maven project using local Maven repo.

Steps to build:

cd libgdx-sample-app
./gradlew publishToMavenLocal

Which backend to use

The sample app supports js and wasm.

This can be set in the properties of the gdx-backend-bytecoder-example pom:

<bytecoder-mavenplugin.backend>

with 1 of these properties: js or wasm_llvm, default on js.

Gdx-backend-bytecoder project (root path)

Build project

mvn clean install -DskipTests

Run the sample app

Start a webserver in target/bytecoder. We assume port 8096 is used. Content type for .wasm files must be application/wasm and for .js files, text/javascript.

Go to http://localhost:8096

Click the 'Play' button to start the app. When you press it, you will see a red square and hear some music. This comes from the libGDX game written in Kotlin.

Contact

Squins info: Squins

Project Link: Github

Demo link: Demo

Acknowledgements

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].