Devlog #2: Successfully got .ani hotspot value
To read the .ani file, I had to go through a lot of trouble. .ani files are binary files, which means a a weird amount of struggle regarding reading them. And it’s not as simple as reading a .cur file, since .ani files are dynamic in their number of bytes.
After fighting the internet for an ani-file parser, and a LOT of struggle with that ani-file library… being outdated… I went in and edited the issues with the ani-file library, still struggled to get it working… and gave up eventually.
I resorted to Gemini to help me debug the issue. Got it working finally! A little note: did have to fight the AI as well to get it to work… but here it is! Now I have hotspot values for both .cur and .ani cursors… and the hard part is done I believe. (I hope I didn’t jinx myself…)
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.