File tree Expand file tree Collapse file tree
adventure-editor/src/main/resources
blade-engine-spine-plugin
src/com/bladecoder/engine Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33All notable changes to this project will be documented in this file.
44This project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
55
6+ ## [ 4.3.2]
7+
8+ - Bugfix volume < 0.
9+ - Temp. fix for small font size on desktop.
10+ - Update to publish to the new maven central.
11+
612## [ 4.3.1]
713
814- Bugfix small font size.
Original file line number Diff line number Diff line change 11androidAPILevel =33
22androidGradlePluginVersion =8.1.0
33bladeInkVersion =1.1.2
4- libgdxVersion =1.12 .1
4+ libgdxVersion =1.13 .1
55roboVMVersion =2.3.20
6- version =4.3.1
6+ version =4.3.2
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ plugins {
66
77group = ' com.bladecoder.engine'
88
9- // java
109sourceCompatibility = 1.8
1110targetCompatibility= 1.8
1211[compileJava, compileTestJava]* . options* . encoding = ' UTF-8'
@@ -86,19 +85,20 @@ publishing {
8685 }
8786 repositories {
8887 maven {
89- def releasesRepoUrl = " https://oss. sonatype.org /service/local/staging/deploy/maven2/"
90- def snapshotsRepoUrl = " https://oss .sonatype.org/content/repositories/ snapshots/"
88+ def releasesRepoUrl = " https://ossrh-staging-api.central. sonatype.com /service/local/staging/deploy/maven2/"
89+ def snapshotsRepoUrl = " https://central .sonatype.com/repository/maven- snapshots/"
9190 url = version. endsWith(' SNAPSHOT' ) ? snapshotsRepoUrl : releasesRepoUrl
9291 credentials {
93- username findProperty( " sonatypeUsername " )
94- password findProperty( " sonatypePassword " )
92+ username project . hasProperty( ' NEXUS_USERNAME ' ) ? NEXUS_USERNAME : " $S ystem . env . NEXUS_USERNAME "
93+ password project . hasProperty( ' NEXUS_PASSWORD ' ) ? NEXUS_PASSWORD : " $S ystem . env . NEXUS_PASSWORD "
9594 }
9695 }
9796 }
9897}
9998
10099signing {
101100 if (! version. endsWith(' SNAPSHOT' )) {
101+ useGpgCmd()
102102 sign publishing. publications. mavenJava
103103 }
104104}
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ plugins {
66
77group = ' com.bladecoder.engine'
88
9- // java
109sourceCompatibility= 1.8
1110targetCompatibility= 1.8
1211
@@ -96,19 +95,20 @@ publishing {
9695 }
9796 repositories {
9897 maven {
99- def releasesRepoUrl = " https://oss. sonatype.org /service/local/staging/deploy/maven2/"
100- def snapshotsRepoUrl = " https://oss .sonatype.org/content/repositories/ snapshots/"
98+ def releasesRepoUrl = " https://ossrh-staging-api.central. sonatype.com /service/local/staging/deploy/maven2/"
99+ def snapshotsRepoUrl = " https://central .sonatype.com/repository/maven- snapshots/"
101100 url = version. endsWith(' SNAPSHOT' ) ? snapshotsRepoUrl : releasesRepoUrl
102101 credentials {
103- username findProperty( " sonatypeUsername " )
104- password findProperty( " sonatypePassword " )
102+ username project . hasProperty( ' NEXUS_USERNAME ' ) ? NEXUS_USERNAME : " $S ystem . env . NEXUS_USERNAME "
103+ password project . hasProperty( ' NEXUS_PASSWORD ' ) ? NEXUS_PASSWORD : " $S ystem . env . NEXUS_PASSWORD "
105104 }
106105 }
107106 }
108107}
109108
110109signing {
111110 if (! version. endsWith(' SNAPSHOT' )) {
111+ useGpgCmd()
112112 sign publishing. publications. mavenJava
113113 }
114114}
Original file line number Diff line number Diff line change @@ -129,6 +129,9 @@ private void loadTask() {
129129 }
130130
131131 public void setVolume (float volume ) {
132+ if (volume < 0f )
133+ volume = 0 ;
134+
132135 if (desc != null )
133136 desc .setVolume (volume );
134137
Original file line number Diff line number Diff line change 11package com .bladecoder .engine .util ;
22
3+ import com .badlogic .gdx .Application ;
34import com .badlogic .gdx .Gdx ;
45
56public class DPIUtils {
@@ -107,8 +108,10 @@ public static float getSpacing() {
107108// }
108109
109110 public static float getSizeMultiplier () {
110- float inches = pixelsToInches (Gdx .graphics .getWidth ());
111- float s = inches / 6f ;
111+ // FIX: In Wayland, the Gdx.graphics.getWidth() does not return the correct value in the first call.
112+ int width = Gdx .graphics .isFullscreen () && Gdx .app .getType () == Application .ApplicationType .Desktop ? Gdx .graphics .getDisplayMode ().width : Gdx .graphics .getWidth ();
113+ float inches = pixelsToInches (width );
114+ float s = inches / 6f ;
112115
113116 return Math .max (1.0f , s );
114117
Original file line number Diff line number Diff line change 1- version =4.3.1
2- libgdxVersion =1.12 .1
1+ version =4.3.2
2+ libgdxVersion =1.13 .1
33roboVMVersion =2.3.20
44androidAPILevel =33
55androidGradlePluginVersion =8.1.0
66bladeInkVersion =1.1.2
7- gdxControllersVersion =2.2.3
7+ gdxControllersVersion =2.2.4
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-8.4 -bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.14.3 -bin.zip
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
You can’t perform that action at this time.
0 commit comments