Skip to content

Repair active-particle accounting and current installation examples - #10

Open
jaime-jmebot wants to merge 1 commit into
JavaSaBr:masterfrom
jaime-jmebot:library-quality-check-20261014
Open

jaime-jmebot wants to merge 1 commit into
JavaSaBr:masterfrom
jaime-jmebot:library-quality-check-20261014

Conversation

@jaime-jmebot

Copy link
Copy Markdown

Problems

ParticleData.reset() decrements the emitter's active count even when the particle is already inactive. The current source starts at -1 and miscounts subsequent emissions. The README also retains the old Bintray repository, Gradle's removed compile configuration and a Maven dependency declared as a POM instead of a JAR.

Changes

Only notify the emitter when resetting a previously active particle. Add a count regression. Replace the installation examples with the verified 3.0.2 JitPack release and explicitly select jME 3.2.4-stable to avoid the published POM's unavailable 3.2.0-stable coordinate.

Validation

Current upstream: 2b953299754a853038c3e1885de35128d3353f07

  • Original current source fails the initial-zero count assertion with actual -1
  • Patched source passes construction, inactive resize, emission, clear, repeated clear, re-emission and active resize assertions
  • Current 3.0.2 published artifact resolves and its actual particles activate/retire with the corrected installation block; its public-count defect remains visible until a patched release
  • Commands: ./gradle.sh -p projects/tonegodemitter-source run; ./gradle.sh -p projects/tonegodemitter-readme-current run
  • Tested with Temurin 8u504 and jME 3.2.4-stable; git diff --check passes

The source test is focused and CPU-only. The historical native Gradle suite and GPU rendering were not run. Maven coordinates/XML were reviewed; no separate Maven build is claimed.

This automated PR is part of the jMonkeyEngine community library quality check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant