Search the Community
Showing results for tags 'java'.
-
I'm playing in the Java runtime implementation of spriter to make my own (that I will post here when done) to better fit my needs and I'm running accross a weird issue. When updating the animation, it seems to check if the time of the mainline key is bigger than the time of the timeline key. This does not make much sense to me since the mainline key is created automatically when making any timeline key on spriter. Using the editor, I can't seem to be able to "de-sync" a timeline key from it's mainline key. Is there a point to doing that ? Backward compatibility or to support corrupted XMLs ? I don't really care was what the original author's intention, I just want to know if I can safely drop it. Reference: https://github.com/Trixt0r/spriter/blob/master/src/main/java/com/brashmonkey/spriter/Animation.java Line 118 Thanks
- 2 replies
-
- implementation
- java
- (and 4 more)
-
Hey everyone! Normally I wouldn't post on the forums for a problem, but I've been trying to figure this out for quite a while with no dice. I've been trying to render the Grey Guy using Trixt0r's Java-Spriter library with the Java2D method, but for some reason, the head and his hair aren't wanting to be rendered correctly.(That black blob on his chest is the 'hair') They just won't stay in the right positions. I really don't know what to do. Could there be a bug in the library code, or did I just mess up somewhere (most likely)? Does anyone know what could cause this? I'm fairly sure I duplicated the code from the examples exactly, so I won't post the code unless I really need to. Hopefully someone can help me, progress on my game has been halted while I try to figure this out. :) Here's the Spriter project+files if you want to inspect them: http://filz.us/2ztZ Note: I did PM Trixt0r about this a few days ago and haven't gotten any response, so I'm hoping the community can help me out.