Problems with spritesheet frame cut #1531
Closed
paulocoutinhox
started this conversation in
General
Replies: 1 comment 1 reply
-
It may be easier to generate a PLIST file to go with it, and load that in instead. Otherwise, refer to the PLIST implementation to see how it sets up the sprite frames in order to figure out what you're missing in your code. There is also a simpler JSON sprite sheet example in the cpp-tests project (search for |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have a small problem here:
https://github.com/paulocoutinhox/axmol-bomb-test
Im try cut the spritesheet in 4 frames of 78,64.
But i don't know why, it is cutting wrong as you can see on screenshot:
Main code:
https://github.com/paulocoutinhox/axmol-bomb-test/blob/main/Source/MainScene.cpp#L5-L32
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions