All Projects → raeleus → TenPatch

raeleus / TenPatch

Licence: MIT License
An alternative to libGDX's 9patch implementation.

Programming Languages

java
68154 projects - #9 most used programming language

Labels

Projects that are alternatives of or similar to TenPatch

SpaceProject
A top-down 2D, procedurally generated space exploration and shooter game using libGDX. Kinda like Asteroids, only a little bigger.
Stars: ✭ 28 (-20%)
Mutual labels:  libgdx
xgbc
Game Boy emulator written in Kotlin using libGDX
Stars: ✭ 44 (+25.71%)
Mutual labels:  libgdx
uracer-kotd
A GLES2 top-down racer, built on top of libgdx and Box2D.
Stars: ✭ 95 (+171.43%)
Mutual labels:  libgdx
ShapeOfThingsThatWere
strategy game based on hex map and discoveries
Stars: ✭ 23 (-34.29%)
Mutual labels:  libgdx
gdx-controllers
A libGDX cross platform game controllers extension
Stars: ✭ 39 (+11.43%)
Mutual labels:  libgdx
xibalba
A Mayan roguelike
Stars: ✭ 50 (+42.86%)
Mutual labels:  libgdx
Particle-Park
A LibGDX particles showcase.
Stars: ✭ 46 (+31.43%)
Mutual labels:  libgdx
typing-label
A libGDX Label that appears as if it was being typed in real time.
Stars: ✭ 121 (+245.71%)
Mutual labels:  libgdx
jumpdontdie
Source code for the Android game developed on my YouTube tutorial. Made using libGDX, Scene2D, Box2D.
Stars: ✭ 45 (+28.57%)
Mutual labels:  libgdx
libgdx-template
🎮 Starter project for libGDX. Perfect for Game Jams.
Stars: ✭ 18 (-48.57%)
Mutual labels:  libgdx
HyperLap2D
A powerful, platform-independent, visual editor for complex 2D worlds and scenes.
Stars: ✭ 226 (+545.71%)
Mutual labels:  libgdx
LunarGdx
A networking library for LibGDX utilizing Netty allowing easy creation of multiplayer games.
Stars: ✭ 23 (-34.29%)
Mutual labels:  libgdx
gdx-controllerutils
Controller Utilities for libGDX
Stars: ✭ 48 (+37.14%)
Mutual labels:  libgdx
cocos2d-java
cocos2d java api base libgdx
Stars: ✭ 15 (-57.14%)
Mutual labels:  libgdx
helloargdx
Investigating using ARCore preview with LibGDX. See https://medium.com/@wilkinsonclay/investigating-arcore-with-libgdx-f69b83764118 for more info
Stars: ✭ 50 (+42.86%)
Mutual labels:  libgdx
miniscript
A scripting library for Java-based games
Stars: ✭ 33 (-5.71%)
Mutual labels:  libgdx
YarnGdx
YarnGdx is a Libgdx Library for interactive dialogue in games! This is a port of [YarnSpinner](https://github.com/thesecretlab/YarnSpinner) by thesecretlab
Stars: ✭ 25 (-28.57%)
Mutual labels:  libgdx
Panorama360
Projekt przejściowy do projektu Magisterskiego. Android, LibGDX, OpenCV, Camera, SurfaceView, stitching, panorama, sphere, gyroscope
Stars: ✭ 52 (+48.57%)
Mutual labels:  libgdx
Entitas-Java
Entity Component System (ECS) in Java 8
Stars: ✭ 37 (+5.71%)
Mutual labels:  libgdx
gdx-fireapp
libGDX Firebase API
Stars: ✭ 57 (+62.86%)
Mutual labels:  libgdx

README

TenPatch

Version 5.2.2

This project is an alternative to libGDX's 9patch implementation. It has the following features:

  • Multiple stretch regions as seen with Android's implementation.
  • An option for tiling stretch regions.
  • Tiling offsets to achieve the appearance of a moving background.
  • Tintable.
  • Gradients.
  • Animated images.
  • Can be shrunk to size 0 without the artificats as seen in libGDX's 9patch.
  • Loading via skin JSON.
  • An editor via Skin Composer.

How to Use

Add the following to your root build.gradle:

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

Add the dependency to the core project:

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


    dependencies {
        ...
        compile 'com.github.raeleus.TenPatch:tenpatch:5.2.2'
    }
}

For HTML5/GWT support, add the dependency to the html project:

project(":html") {
    apply plugin: "gwt"
    apply plugin: "war"


    dependencies {
        ...
        compile 'com.github.raeleus.TenPatch:tenpatch:5.2.2:sources'
    }
}

And add the following line to the GdxDefinition.gwt.xml file in the HTML project:

<inherits name="com.ray3k.tenpatch.tenpatch"/>

Please see the examples in the demo project. To create and edit your own Ten Patches, see the documentation in Skin Composer.

Contact

License

MIT License

Copyright (c) 2021 Raymond Buckley

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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].