GithubHelp home page GithubHelp logo

raeleus / gdx-backends Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mrstahlfelge/gdx-backends

0.0 1.0 0.0 1003.97 MB

Backends for libGDX, easy to build

License: Apache License 2.0

Java 67.39% Shell 0.05% CSS 1.70% CMake 0.44% HTML 7.80% C 21.55% C++ 0.94% Makefile 0.03% Objective-C 0.08% GLSL 0.01%

gdx-backends's Introduction

Backends for libGDX, easy to build

Since we have no regular libGDX releases anymore, it is a problem to fix or extend backend behaviour that can't be overriden. While there's always a way to work around bugs in the core project, this is often not possible in the backends.

This is where this repo comes in.

If you need to change build-in behaviour, but don't manage to get the complete libGDX repo to build, don't want to build your very own version or don't want to use snapshot versions, this repo is what you need. Check my own additions to see what else is changed.

How to build

  • Clone this repo
  • Checkout the revision you need (next paragraph)
  • Type gradlew install
  • Change your project's backend dependency to the one you wish

How to use as a dependency

In case you don't want to change something here yourself, but just want to use some of the additions, you can also use a Jitpack dependency. Don't forget to add Jitpack as a repo to your project:

allprojects {
    repositories {
	    ...
	    maven { url 'https://jitpack.io' }
    }
}

For use with libGDX 1.9.10 core

1.910.0

Checkout branch release/1.910.0 to use this version, or use the following dependencies for GWT:

   implementation 'com.github.MrStahlfelge.gdx-backends:gdx-backend-gwt:1.910.0'

Own additions

  • GWT: Switched to WebAudio, fixes sounds for mobiles too. Original PR by @barkholt. See current PR for more information.
  • GWT: Faster bootstrap process by lazy loading assets. See current PR for more information.
  • GWT: Fixed density problems on mobile with new config setting. See current PR

1.910.1

Checkout branch master to use this version, or use the following dependencies for GWT:

  implementation 'com.github.MrStahlfelge.gdx-backends:gdx-backend-gwt:master-SNAPSHOT'

Own additions:

  • GWT: Fix for getPeriphalAvailable reporting accelerometer present on desktop. Pending PR
  • GWT: Pulled feature policy implementation by @SimonIT. Pending PR
  • GWT: GWT preferences NPE fix by @SimonIT. Pending PR

Future work

GWT

  • Move resizable browser window support into the backend, no template hazzle any more
  • Electron extensions

For use with libGDX 1.9.8 core

1.98.0

This is exactly like libGDX 1.9.8. The backends in this version can be used only with libGDX 1.9.8.

Checkout branch release/1.98.0 to use this version.

1.98.1

Checkout branch release/1.98.1 to use this version, or use the following dependencies for iOS or GWT:

 implementation 'com.github.MrStahlfelge.gdx-backends:gdx-backend-gwt:1.98.1'
 implementation 'com.github.MrStahlfelge.gdx-backends:gdx-backend-robovm:1.98.1'

Can be used with libGDX 1.9.9 and 1.9.8.

This is mainly targeted towards replacing the original GWT and iOS backends for libGDX 1.9.8 if you need one of the following improvements:

Downgraded from libGDX 1.9.9

  • Android, GWT, iOS: Added all fixes from 1.9.9 (check the commit history)
  • iOS/GWT: Added support for pressure from 1.9.9 with one caveat: isPeriphalAvailable will report false for Pressure.
  • iOS: Added configuration options for iPhone X (hideHomeIndicator, screenEdgesDeferringSystemGestures) from 1.9.9
  • iOS: New devices added

Downgraded from libGDX 1.9.10

  • Android, GWT, iOS: Added all fixes from 1.9.10-SNAPSHOT as of 05/31/19 (check the commit history)
  • iOS: Compatible with RoboVM 2.3.6 and this with iOS 12
  • iOS: New devices added
  • GWT: Use the real clipboard
  • GWT: Change logging to JavaScript console
  • GWT: Unimplemented HttpResponse operations throw exceptions instead of returning null. See PR.
  • GWT: Accelerometer support See PR by @SimonIT
  • iOS: allowIpod defaults to true
  • iOS: Possibility to add new devices without changing the backend. See PR.
  • GWT: Preload logo and progress bar style adjustable. See PR.
  • iOS: Make UIViewController customizable. See current PR.

Own additions

  • GWT: Switched to WebAudio, fixes sounds for mobiles too. Original PR by @barkholt. See current PR for more information.
  • GWT: Faster bootstrap process by lazy loading assets. See current PR for more information.
  • GWT: Fixed density problems on mobile with new config setting. See current PR

gdx-backends's People

Contributors

acoppes avatar anserran avatar badlogic avatar code-disaster avatar cypherdare avatar darkyenus avatar davebaol avatar dsaltares avatar hneuer avatar intrigus avatar johnnyapol avatar jrenner avatar kotcrab avatar manuelbua avatar mgsx-dev avatar mobidevelop avatar mrstahlfelge avatar nathansweet avatar noblemaster avatar nooone avatar obigu avatar realitix avatar robertmassaioli avatar semtiko avatar simonit avatar stbachmann avatar tom-ski avatar ttencate avatar vmilea avatar xoppa avatar

Watchers

 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.