I'm trying to get some cloud images to scroll across the screen and reset when they go off-screen, starting the whole animation again. I have four cloud images that I want to float gently across.
Any help?
Label: corona android iphone ipad building error inmobi problem display screen View image tableView failed object physics touch button game lua config event listener |
Looping animation
@stephen,
check for the cloud if it has gone off the screen by using
where N is the cloud number that you want to check for
1 2 3 4 5 6 | cloudN:setReferencePoint(display.TopRightReferencePoint) local xPoint = cloudN.x if x<=0 then cloudN:setReferencePoint(display.TopLeftReferencePoint) cloudN.x = _W end |
views:1249 update:2011/10/22 17:28:16
热门文章
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
相关文章
PHP/SQL Corona Developer needed
Chicken or egg?
Forming a LLC Company Questions
Who's responsibility is it?
How to put more than one build at a time on my iPhone?
Fast App Switching
Fill the spaces
minimum iOS version of 4.3 to work?
Downloading multiple images at once?
Creating user accounts and passwords in a Corona app
Chicken or egg?
Forming a LLC Company Questions
Who's responsibility is it?
How to put more than one build at a time on my iPhone?
Fast App Switching
Fill the spaces
minimum iOS version of 4.3 to work?
Downloading multiple images at once?
Creating user accounts and passwords in a Corona app
corona forums © 2003-2011