A collection of custom Scene2D widgets and utilities for libGDX.
Stripe is a companion to Skin Composer, the renowned UI Skin editor and visual layout utility. This library provides new Scene2D widgets, the capability of loading FreeType fonts from JSON, and the Scene Composer Stage Builder. Please see the wiki for documentation.
Typical of most libGDX projects, Stripe requires the Gradle setup to be included your project.
Add the following to your root build.gradle:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Add the dependency to your core project:
dependencies {
...
implementation 'com.github.raeleus.stripe:stripe:2.0.0'
}
Add the dependency to your html project of your root build.gradle if you want HTML5/GWT support:
project(":html") {
apply plugin: "gwt"
apply plugin: "war"
dependencies {
...
implementation 'com.github.raeleus.stripe:stripe:2.0.0:sources'
}
}
Add the following inherits line to your GdxDefinition.gwt.xml in the html project:
<inherits name="com.ray3k.stripe" />
PopColorPicker has been moved into a separate project to allow users to use the core Stripe Widgets without forcing them to import the TenPatchDrawable class and TextraTypist.
Add the following to your root build.gradle:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Add the dependency to your core project:
dependencies {
...
implementation 'com.github.raeleus.stripe:colorpicker:2.0.0'
}
Add the dependency to your html project of your root build.gradle if you want HTML5/GWT support:
project(":html") {
apply plugin: "gwt"
apply plugin: "war"
dependencies {
...
implementation 'com.github.raeleus.stripe:colorpicker:2.0.0:sources'
implementation "com.github.tommyettinger:textratypist:0.8.0:sources"
implementation "com.github.tommyettinger:regexodus:0.1.13:sources"
}
}
Add the following inherits line to your GdxDefinition.gwt.xml in the html project:
<inherits name="com.ray3k.stripe" />
FreeTypeSkin has been moved into a separate project to allow users to use the Stripe Widgets without forcing them to import the GDX FreeType classes.
Add the following to your root build.gradle:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Add the dependency to your core project:
dependencies {
...
implementation 'com.github.raeleus.stripe:freetype:2.0.0'
}
Ensure that you have FreeType implemented in your project. Please refer to the libGDX wiki.
Add the dependency to your html project of your root build.gradle if you want HTML5/GWT support:
project(":html") {
apply plugin: "gwt"
apply plugin: "war"
dependencies {
...
implementation 'com.github.raeleus.stripe:freetype:2.0.0:sources'
}
}
Add the following inherits line to your GdxDefinition.gwt.xml in the html project:
<inherits name="com.ray3k.stripe" />
Then follow the instructions to activate gdx-freetype-gwt.
Stripe meets a variety of needs, so its implementation is dependent on what utilities you plan to use. Please refer to the wiki:
Stripe Widgets
FreeType Skin Loader
Scene Composer Stage Builder