Hi,
In my game, the green leaves and pink particles become green and pink squares. How can I fix that?
I've sent the files via email.
Thanks
Seite 1 von 1
jayn
2 months ago
- jayn
- Beiträge: 56
Nate
Do the spine-libgdx examples work?
I don't use Kotlin, so sending a Kotlin code doesn't help much. What does this do?
I don't use Kotlin, so sending a Kotlin code doesn't help much. What does this do?
animationState = AnimationState(animationStateData).apply {
setAnimation(0, animationName, loop)
}
setAnimation(0, animationName, loop)
}
2 months ago
-
Nate - Beiträge: 11845
jayn
I guess the spine-libgdx examples should work, I tried it awhile ago.Nate hat geschrieben:Do the spine-libgdx examples work?
I don't use Kotlin, so sending a Kotlin code doesn't help much. What does this do?animationState = AnimationState(animationStateData).apply {
setAnimation(0, animationName, loop)
}
It creates AnimationState object and then set animation. Same as animationState.setAnimation()
I also have a tree animation with leaves falling down, but this one is working fine without issues. Do you want me to send this project as well?
2 months ago
- jayn
- Beiträge: 56
Nate
Ah OK, AnimationState has an
If the examples work but your code doesn't, then there is a difference with your code. The next step would be to replace an example's assets with yours. You can also run Skeleton Viewer and see if it renders your skeleton and atlas. If it does, then the runtime is working correctly for your specific assets.
apply
method, I though maybe it overrides it or something.If the examples work but your code doesn't, then there is a difference with your code. The next step would be to replace an example's assets with yours. You can also run Skeleton Viewer and see if it renders your skeleton and atlas. If it does, then the runtime is working correctly for your specific assets.
2 months ago
-
Nate - Beiträge: 11845
jayn
I found the issue, the scaling in export was at 0.1 instead of 1. I didn't notice because the sunlight and shadow didn't look that blurry even at low scale.
2 months ago
- jayn
- Beiträge: 56
Nate
Aha, glad you found it!
2 months ago
-
Nate - Beiträge: 11845
Mark topic unread
• Seite 1 von 1
Zurück zu Runtimes
- Alle Zeiten sind UTC