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:1776 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
相关文章
Helper functions etc
Delay Screen Change
iPad/iPhone to Mac app
Dynamic Image Resolution for Sprite Sheets?
daily build
Getting rid of the stutter between launch image and app start
App not scaling the same on Windows vs OSX
My experince trying to port Corona iPhone app to Android
Does SimpleTweet example work?
Changing an objects image during runtime
Delay Screen Change
iPad/iPhone to Mac app
Dynamic Image Resolution for Sprite Sheets?
daily build
Getting rid of the stutter between launch image and app start
App not scaling the same on Windows vs OSX
My experince trying to port Corona iPhone app to Android
Does SimpleTweet example work?
Changing an objects image during runtime
corona forums © 2003-2011