spriteColorRect = { x = -1, y = -1 } don't work :)))
Label: corona android iphone ipad building error inmobi problem display screen View image tableView failed object physics touch button game lua config event listener |
newSpriteSheetFromData don't work with spriteColorRect values x or y equal -1
It wouldn't make sense for spriteColorRect to have negative values. spriteColorRect defines where in your bitmap you have visible pixels for a given frame. So, spriteColorRect x and y values must be greater than or equal to 0.
Otherwise, what you're suggesting is for the frame to have pixels outside of itself which would be an error in how the spritesheet was packed. If anything, newSpriteSheetFromData should assert an error.
heh all values smaller then -1 works good
Well there's definitely a bug somewehre, but your spriteColorRect coords should be greater than or equal to 0.
http://developer.anscamobile.com/forum/2010/10/18/spritesheet-data-file-explained
views:1774 update:2011/10/11 22:13:38
热门文章
GameCenter LeaderBoards and Achievements Enabled Through OpenFeint
send message and call to a person
Forum: Report Spam + PM
[INSTALL_PARSE_FAILED_NO_CERTIFICATES]
[SOLVED] Director ERROR: Failed to execute new( params ) function on 'screen1'
Too many (200) local variables
Corona SVG Level Builder released. Drag and drop physics level editor with Inkscape and SVG.
Small bug in Collectible Items example
Pivot Joints and apparent elasticity
Can't make removeSelf() delayed
send message and call to a person
Forum: Report Spam + PM
[INSTALL_PARSE_FAILED_NO_CERTIFICATES]
[SOLVED] Director ERROR: Failed to execute new( params ) function on 'screen1'
Too many (200) local variables
Corona SVG Level Builder released. Drag and drop physics level editor with Inkscape and SVG.
Small bug in Collectible Items example
Pivot Joints and apparent elasticity
Can't make removeSelf() delayed
相关文章
Last minute checks to ensure game not rejected
Webpopup crashing
Looking for an Advanced Programmer.
Why have two SDK versions? (one for subscriber and one for non-subscriber)
Two physics questions: Pausing and multiple sources.
If object is touching another object then arguement
Birdsong Quiz / Vogelstimmenquiz
New space-themed game: - Galaxy Hop - on the App Store. PROMO CODES!
UIApplicationExitsOnSuspend - Android Equivalent
Difference between system.getTimer and event.time?
Webpopup crashing
Looking for an Advanced Programmer.
Why have two SDK versions? (one for subscriber and one for non-subscriber)
Two physics questions: Pausing and multiple sources.
If object is touching another object then arguement
Birdsong Quiz / Vogelstimmenquiz
New space-themed game: - Galaxy Hop - on the App Store. PROMO CODES!
UIApplicationExitsOnSuspend - Android Equivalent
Difference between system.getTimer and event.time?
corona forums © 2003-2011