I'm working with a sprite sheet that is 417 pixels tall, has 6 frames and thus each frame is 69.5 pixels tall.
When I or my audio designer run the game, it runs fine. When our artist runs the game, he gets a runtime error that indicates the frame height is 70 (not 69.5, which is how it's listed in code and he does have the right code).
For some reason, his set up seems to be rounding up the height from 69.5 to 70. My guess is since his setup is rounding the height up, this throws off all the math of cutting up the sprite sheet into 6 equal frames, thus resulting in the error.
He is running a Windows machine while the audio designer and I are both running on Macs. Could this be related to the issue?
In the meantime, I'm just going to adjust the sprite sheet to be 420 pixels so the frames can be 70 pixels tall and we thus avoid the rounding issue. But, I'd really like to understand more about what's going on.
Below is a snippet of the code we are all using: