Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when converting to keyframes #5

Open
LuukvanEck opened this issue May 25, 2024 · 1 comment
Open

Crash when converting to keyframes #5

LuukvanEck opened this issue May 25, 2024 · 1 comment

Comments

@LuukvanEck
Copy link

  1. Open star rod sprite editor
  2. Go to WUA
  3. Open Fatomb https://github.com/abys-games/wish-upon-abyss/tree/94-fat-omb/assets/wua/sprite/npc/FatOmb
  4. Try to convert to keyframes
Exception in thread "main" app.StarRodException: Cannot invoke "game.sprite.editor.animators.KeyframeAnimator$Keyframe.setImage(java.util.Queue)" because "curKf" is null
        at game.sprite.editor.animators.KeyframeAnimator.generate(KeyframeAnimator.java:247)
        at game.sprite.SpriteComponent.convertToKeyframes(SpriteComponent.java:397)
        at game.sprite.Sprite.convertToKeyframes(Sprite.java:520)
        at game.sprite.editor.SpriteEditor.lambda$20(SpriteEditor.java:1060)
        at game.map.editor.common.BaseEditor.lambda$3(BaseEditor.java:232)
        at org.lwjgl.opengl.awt.AWTGLCanvas.runInContext(AWTGLCanvas.java:94)
        at game.map.editor.GLEditor.runInContext(GLEditor.java:22)
        at game.map.editor.common.BaseEditor.launch(BaseEditor.java:230)
        at game.sprite.editor.SpriteEditor.main(SpriteEditor.java:214)
@LuukvanEck
Copy link
Author

I wanted to add that whenever I try to duplicate an animation, it just creates an empty animation. I have no idea what is going wrong with this specific enemy.

		<Animation name="IdleH (copy)">
			<Component name="torso" xyz="11,7,0">
			</Component>
			<Component name="fuse" xyz="11,89,-2">
			</Component>
			<Component name="frontfoot" xyz="15,-6,1">
			</Component>
			<Component name="backfoot" xyz="-23,-6,-2">
			</Component>
			<Component name="hat" xyz="-1,54,0">
			</Component>
			<Component name="eyes" xyz="-11,35,0">
			</Component>
			<Component name="parent_t_f" xyz="0,0,0">
			</Component>
		</Animation>

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

No branches or pull requests

1 participant