Skip to content

Commit

Permalink
Add Texture (Un)Packer Only.
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyettinger committed Jul 23, 2024
1 parent 148a83b commit 1bd0776
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/gdx/liftoff/Listing.java
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ public static ArrayList<Language> chooseLanguages(Collection<String> names) {
new TantrumRegExodus(),
new TantrumDigital(),
new TantrumJdkgdxds(),
new TexturePackerOnly(),
new TextureUnpackerOnly(),

new SquidLibUtil(),
new SquidLib(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1647,6 +1647,40 @@ class GameJoltApi : ThirdPartyExtension() {
}
}

/**
* LWJGL3-compatible version of the TexturePacker from gdx-tools.
* @author Tommy Ettinger
*/
@Extension
class TexturePackerOnly : ThirdPartyExtension() {
override val id = "texturePackerOnly"
override val defaultVersion = "1.12.1.0"
override val url = "https://github.com/tommyettinger/libgdx-texturepacker"
override val group = "com.github.tommyettinger"
override val name = "libgdx-texturepacker"

override fun initiateDependencies(project: Project) {
addDependency(project, Core.ID, "com.github.tommyettinger:libgdx-texturepacker")
}
}

/**
* LWJGL3-compatible version of the TextureUnpacker from gdx-tools.
* @author Tommy Ettinger
*/
@Extension
class TextureUnpackerOnly : ThirdPartyExtension() {
override val id = "textureUnpackerOnly"
override val defaultVersion = "1.12.1.0"
override val url = "https://github.com/tommyettinger/libgdx-texturepacker"
override val group = "com.github.tommyettinger"
override val name = "libgdx-textureunpacker"

override fun initiateDependencies(project: Project) {
addDependency(project, Core.ID, "com.github.tommyettinger:libgdx-textureunpacker")
}
}

//
// /**
// * An immediate-mode GUI library (LWJGL3-only!) that can be an alternative to scene2d.ui.
Expand Down
4 changes: 4 additions & 0 deletions src/main/resources/i18n/nls.properties
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ tantrumRegExodus=Tantrum RegExodus
tantrumDigital=Tantrum Digital
tantrumJdkgdxds=Tantrum JDKGDXDS
tantrumLibgdx=Tantrum libGDX
texturePackerOnly=Texture Packer Only
textureUnpackerOnly=Texture Unpacker Only
universalTween=Universal Tween

issues=https://github.com/libgdx/gdx-liftoff/issues
Expand Down Expand Up @@ -448,6 +450,8 @@ tantrumRegExodusTip=Fury support for RegExodus' types.
tantrumDigitalTip=Fury support for digital's types.
tantrumJdkgdxdsTip=Fury support for jdkgdxds' types.
tantrumLibgdxTip=Fury support for libGDX' types.
texturePackerOnlyTip=LWJGL3-compatible libGDX texture packer.
textureUnpackerOnlyTip=LWJGL3-compatible libGDX texture unpacker.
universalTweenTip=Smoothly transition be-"tween" almost anything.

templates=Templates
Expand Down
6 changes: 6 additions & 0 deletions src/main/resources/ui-data/nls.properties
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ tantrumRegExodus=Tantrum RegExodus
tantrumDigital=Tantrum Digital
tantrumJdkgdxds=Tantrum JDKGDXDS
tantrumLibgdx=Tantrum libGDX
texturePackerOnly=Texture Packer Only
textureUnpackerOnly=Texture Unpacker Only
universalTween=Universal Tween

issues=https://github.com/libgdx/gdx-liftoff/issues
Expand Down Expand Up @@ -464,6 +466,8 @@ tantrumRegExodusTip=Fury support for RegExodus' types.
tantrumDigitalTip=Fury support for digital's types.
tantrumJdkgdxdsTip=Fury support for jdkgdxds' types.
tantrumLibgdxTip=Fury support for libGDX types.
texturePackerOnlyTip=LWJGL3-compatible libGDX texture packer.
textureUnpackerOnlyTip=LWJGL3-compatible libGDX texture unpacker.
universalTweenTip=Smoothly transition be-"tween" almost anything.

anim8Terms=animate,tommy ettinger,tettinger,gif,png,apng
Expand Down Expand Up @@ -591,6 +595,8 @@ tantrumLibgdxTerms=tommy ettinger,tettinger,fury,serialization
tantrumRegExodusTerms=tommy ettinger,tettinger,fury,serialization
tenPatchTerms=scene2d,ui,nine patch,9patch,9-patch,image,raeleus,ray3k,raymond buckley
textratypistTerms=scene2d,ui,typinglabel,animated,animation,widget,tommy ettinger,tettinger,styles,effects,text
texturePackerOnlyTerms=atlas,texturepacker,lwjgl3,compatible,tommy ettinger,tettinger
textureUnpackerOnlyTerms=atlas,texturepacker,textureunpacker,lwjgl3,compatible,tommy ettinger,tettinger
tinyVGTerms=scene2d,vector,image,lyze
tuningForkTerms=lwjgl3,audio,hangman
typingLabelTerms=scene2d,ui,animated,animation,widget,rafa skoberg,effects,text
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/ui-data/urls.properties
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ tantrumLibgdxUrl=https://github.com/tommyettinger/tantrum
tantrumRegExodusUrl=https://github.com/tommyettinger/tantrum
tenPatchUrl=https://github.com/raeleus/TenPatch
textratypistUrl=https://github.com/tommyettinger/textratypist
texturePackerOnlyUrl=https://github.com/tommyettinger/libgdx-texturepacker
textureUnpackerOnlyUrl=https://github.com/tommyettinger/libgdx-texturepacker
tinyVGUrl=https://github.com/lyze237/gdx-TinyVG
tuningForkUrl=https://github.com/Hangman/TuningFork
typingLabelUrl=https://github.com/rafaskb/typing-label
Expand Down

0 comments on commit 1bd0776

Please sign in to comment.