Giter Site home page Giter Site logo

gdx-dragome-backend's Introduction

Libgdx Dragome Backend

This backend use DragomeSDK to generate libgdx games to javascript. A alternative to gwt backend.

  • Its fast to compile ¹
  • Easy to use
  • Lightweight ²
  • Use bytecodes and not source code
  • ProGuard ready Shrink/Obfuscate ³
  • Reflection ready

¹: It can take seconds to compile when using proguard shrink + obfuscation.

²: All in one jar is about 16mb and includes Dragome Backend, Proguard and DragomeSDK.

³: Shrink remove unused classes and Obfuscate makes your class/methods smaller and harder to mess with it.

Quick Setup:

//######## Root build.gradle

repositories {
  mavenLocal()
  mavenCentral()
  maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
  maven { url "https://oss.sonatype.org/content/repositories/releases/" }
}

project(":dragome") {
    apply plugin: "java"

    dependencies {
        compile project(":core")
        compile "com.github.xpenatan:gdx-backend-dragome:1.0.0-ALL-SNAPSHOT"
    }
}

//######## Dragome Project build.gradle

apply plugin: 'org.akhikhl.gretty'

sourceCompatibility = 1.8

gretty {
  extraResourceBase 'webapp'
}

sourceSets.main.java.srcDirs = ["src"]

buildscript {
  repositories {
    jcenter()
  }

  dependencies {
    classpath 'org.akhikhl.gretty:gretty:+'
  }
}

Running:

gradlew :dragome:jettyRun

Current demos:

Go to Wiki for more information.

#Example

gdx-dragome-backend's People

Contributors

fpetrola avatar nicolaichuk avatar nosix avatar xpenatan 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.