On build 746 all my sprites show fine. On this build 759 sprites from the spritesheets are off, I see only part of the sprite animating on the screen. This happens on the Windows Corona Simulator and on my android phone. I’ll go back to build 746 until the issue is resolved. Just giving you guys a head up. [import]uid: 38820 topic_id: 22756 reply_id: 322756[/import]
I see this in the release notes:
“Rewritten sprite implementation (still under development, but initial checkin)”
So I’m guessing this might be a bug… anyway, I’ll wait with upgrading until I here some positive feedbacks. [import]uid: 80469 topic_id: 22756 reply_id: 90787[/import]
We’re getting the same problem as well, the sprites are completely screwed up and make the game unplayable. Built it for Android. [import]uid: 87279 topic_id: 22756 reply_id: 90810[/import]
Also experiencing this issue but besides that this build(759) looks great so far. [import]uid: 1884 topic_id: 22756 reply_id: 90815[/import]
Additionally, I’m experiencing some issues with some embossed text objects. Also, the stroke on my rectangle objects seems to cross through the rectangle rather than along the horizontal sides (makes an X through the rectangle). Both of these observations are new in 759.
It seems like this is just a transitional build but let me know if I should file a full report. Overall though, looks like good stuff! [import]uid: 87138 topic_id: 22756 reply_id: 90819[/import]
Hey Glenn,
Can you please file a bug report and include a test case that shows the issue? Would be a big help.
Thanks,
Peach [import]uid: 52491 topic_id: 22756 reply_id: 90927[/import]
Hi Peach. I filed a bug report the case #12590 with a test case showing the issue. [import]uid: 38820 topic_id: 22756 reply_id: 90940[/import]
Just came across this bug too. In build 760
The sample code Jungle scene works fine.
I believe the bug happens when the sprite sizes and sheets aren’t of a power of 2. (8,16,32,64,128,256,512 etc)
Certainly if you resize the greenman.png in jungle scene to 400x400 and change the frame size to 100x100 it no longer works.
My quick fix has been upscaling the spritesheets (in the drawing package) to a size of power of 2. This may also be a longer term better solution as graphics cards apparently prefer it.
[import]uid: 107098 topic_id: 22756 reply_id: 90979[/import]
Steve you’re right.
I guess I should fix some of my sprite sheets anyway. Ugh… [import]uid: 38820 topic_id: 22756 reply_id: 91004[/import]
Heh, at the beginning I was surprised with information about sprite engine error in build 759. Everything works fine for me. Then I remembered my old problems with Android builds and sprites which had other than “power of two” size. Since then all my sprite files are power of 2 size [import]uid: 12704 topic_id: 22756 reply_id: 91021[/import]
Thanks for extra info and bug # - will pass all this along to the rest of the team [import]uid: 52491 topic_id: 22756 reply_id: 91051[/import]
I’ve noticed that this build and sprite re-write has affected all my sprites, including anything implemented by TextCandy, so I assume it’s a pretty big change.
Looking forward to the upcoming API/docs update. If there is a Carlos coffee fund to get that cranking, let us know!
p.s. just to note specifically, that all of the sprite issues affect 759 through the latest build (as of today), 761. Looks like there is already a solution (power of 2) however if that’s a new requirement going forward, it would be good to know. [import]uid: 49447 topic_id: 22756 reply_id: 91446[/import]
Same to me - none of my sprites is power of 2 so all my sprites appear corrupted (builds 759-761). [import]uid: 10666 topic_id: 22756 reply_id: 91517[/import]
Just weighing in here - yes, my sprites are all busted which was disheartening moment this week. Glad it wasn’t just me with this problem! [import]uid: 97023 topic_id: 22756 reply_id: 91537[/import]
Mine are by power of two but I am having big problems with other stuff created with levelHelper. I do hope that this is related to bugs. For example transition.to with big images looks like crap.
Joakim [import]uid: 81188 topic_id: 22756 reply_id: 91564[/import]
updated and all my sprite sheets are not working omg game is almost finished i hate sprite sheets;) [import]uid: 86417 topic_id: 22756 reply_id: 91567[/import]
I edited all my sprites and sprite sheets to powers of 2 now everything is back to normal [import]uid: 38820 topic_id: 22756 reply_id: 91574[/import]
Behold the answer to powers of 2 and sprite sheets
http://blog.anscamobile.com/2012/03/image-sheets-image-groups-and-sprites/#.T1aAL29chGI.twitter [import]uid: 38820 topic_id: 22756 reply_id: 91579[/import]
sry but i don’t want to resize my images. i have more than 350. [import]uid: 86417 topic_id: 22756 reply_id: 91591[/import]
Glenn, thanks for posting that link.
As has been stated above at present sheet dimensions must be power of 2 in daily build 759+ [import]uid: 52491 topic_id: 22756 reply_id: 91649[/import]