* #7651: add default value loading for tiles with a class
* #7651: add test for tile with a nested class
* #7651: add test for object with a class
* make renderMapLayer public
* Apply formatter
---------
Co-authored-by: GitHub Action <action@github.com>
If -PRELEASE is supplied to Gradle, the maven-publish plugin is used to produce all artifacts in libgdx/build/staging-deply
JReleaser is then instructed to upload these to Central Portal and initiate verification and publishing.
To release snapshots `./gradlew clean publish`
To release a release, assuming you have GPG info in ~/.gradle/gradle.properties setup, `./gradlew clean publish -PRELEASE`
this works out of the box with our GitHub workflows as well
Sorry, kids.
Removed getSnapshotRepositoryUrl as release builds now go through JReleaser, which expects the release repo to talk Central Portal API. You can still configure the snapshot repo url via SNAPSHOT_REPOSITORY_URL
This is a WIP to make GH Actions snapshots deployment work. THE OSSRH_USERNAME and OSSRH_PASSWORD secrets have been updated with tokens from Central Portal.
* BufferFormat is created using provided configuration instead of hardcoded values
* Apply formatter
---------
Co-authored-by: GitHub Action <action@github.com>
- Changed the default alpha channel bits from 0 to 8 in the Android backend.
- This resolves rendering issues with textures and masks that require alpha blending.
- Ensures consistent behavior between Android and desktop backends.
* When setText is called in TextField, the iOS delegate is not notified that there are characters in the text field. Adding an initial character to invisible delegate to accept backspaces.
* Adding metalANGLE changes.
---------
Co-authored-by: obigu <1794492+obigu@users.noreply.github.com>
* Set correct minumum Android SDK version
* Upgrade to Gradle 8.12.1
* Upgrade AGP to 8.7.3
* Revert "Upgrade to Gradle 8.12.1"
This reverts commit 4b914d0fed63c4d905328171e15bbdca5e0d6ef9.
* Initial changes for Issue #7427.
Add Support Text Map Objects.
Added TextMapObjects to the TiledMapObjectLoadingTest.java
* Changes to the TextMapObject to include and return the libGDX Align constants for convenience.
* Apply formatter
* Refactored the TextMapObject to be similar to other map objects. Now contains a rectangle representing its own object bounds. Also decided to revert the Align changes since it's not 1 to 1 with the Align.class. User should be responsible for how they use the object data.
* Apply formatter
* Updated newly added BaseTmjMapLoader to handle TextMapObjects.
Updated .tmj test map and test to show TextMapObjects. Same as tmx object test
* Rebased and replaced Todo: Comment note with newly added tiledColorToLibGDXColor() method.
* Cleaned up code after rebase from newly merged PointMapObject class.
TiledMapObjectLoading tests, now test every object we support.
Added line to CHANGES File.
* Apply formatter
---------
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Tomski <tomwojciechowski@asidik.com>
* Added functionality to the TiledMapPacker to support image layers.
Modified AtlasTmxMapLoader to not crash when handling imagelayers.
* Added .tmj parsing for TiledMapPacker.
Added AtlasTmjMapLoader
Changed check in getImage() AtlasResolver
* Cleaned up and added comments referring to .tmj files.
Added a task to build a runnable for the tiledmappacker in the build.gradle
* Added new map file with image layers for atlas packing test.
Added processed map to tiled-atlas-processed folder.
Modified TiledMapAtlasAssetManagerTest to toggle between both test maps.
* Apply formatter
* Added support for loading maps which use custom classes but allowing a new command line argument to pass in the path to the tiled project file
Changed how command line parameters are passed in. I cleaned it up a bit to allow for more flexibility with the command line arguments. It was kind of broken originally. The options only worked properly if an output folder parameter was added.
* Apply formatter
* Changes to TiledMapPackerTest:
Fixed incorrect paths.
Added additional parameter options to support updates to the TiledMapPacker.
There are now up to 4 different maps that can be generated after running TiledMapPackerTest. To show off more variety of map times the TiledMapPacker can process.
Changes to TiledMapPackerTestRender:
Fixed incorrect path.
A user can choose to test up to 4 different tiled maps that are generated in the deleteMe folder by changing an enum.
Updated maps that are available in the tiled-atlas-processed folder.
These maps are always viewable through the newly added TiledMapJsonAtlasAssetManagerTest and the original TiledMapAtlasAssetManagerTest.
Changes to TiledMapPacker:
Removed using UUID to generate unique image names. Now we simply use a System.nanoTime() unique id counter.
* Apply formatter
* Added Support for Packing a map when using a tileset made up of a "Collection of Images"
Fixed image layers not showing up because they were in a group layer.
* Apply formatter
* Updated BaseTmjMapLoader to change a private method to protected to Match the BaseTmxMapLoader. Needed the ability to override this method anyway.
Added support for animations when using Collection of Image Tilesets.
Added new test map which shows off collection of image tileset as with animations.
Added a flag to ignore processing of tilesets which use a collection of images, if the user may have some reason to do.
Added a new overloaded processInputDir() method meant for external use.
Updated Test's with the new map.
* Apply formatter
* Cleaned up a few comments/typos
* Apply formatter
---------
Co-authored-by: GitHub Action <action@github.com>
This is the type of PR that is hard to test in isolation because third-party backends may need to be able to handle it, and they don't have tests in this repo. I think MOE and TeaVM at least should handle it, though.
Using the number of regions is insufficient, eg for an incremental FreeType font the cache pageVertices.length < font.regions.size until glyphs are added to the cache (addToCache calls setPageCount).
* Had to put them in gdx/src, else Eclipse complains (despite it first working for days). Was unable to use "external annotations" to get Eclipse to find the annotations in test source.
* Used standard naming, but javadoc to explain the non-usage and no @Documented. Package private and @Deprecated deter usage in code.