If I'm using FXLibary effects and custom effects, do I need to run FXLibary.CleanUp() and Particles.CleanUp()? Or is that redundant?
Label: corona android iphone ipad building error inmobi problem display screen View image tableView failed object physics touch button game lua config event listener |
CleanUp functions
I always call the Particles.CleanUp() when the game ends and I believe you will need to call that because it does not seem to get cleaned by the standard cleaning functions you might have.
I do
1 2 3 | Particles.ClearParticles() Particles.CleanUp() CleanOtherStuff() |
Dotnaught, if you are using the FXLibrary, you should call both CleanUp's. The FXLibrary's CleanUp function just removes the sounds and preloaded particles images used by the FXLibrary, whilst Particles.CleanUp gets rid of all particles, particle types and emitters that have been created. The identical naming of both functions may be a bit confusing, but there is no relationship between them.
views:1566 update:2011/10/14 9:11:21
热门文章
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
相关文章
Screen flashing on scene change
Question about porting
How can i do a flip page animation ?
-BUG - CORONA - FOR EACH not working correctly
Double Screen Loading
problem with collision in storyboard.api
Lime Viewer in the App Store
Creating univerasal graphics, your opinion!
function clean(event)
Playing with textures and masks
Question about porting
How can i do a flip page animation ?
-BUG - CORONA - FOR EACH not working correctly
Double Screen Loading
problem with collision in storyboard.api
Lime Viewer in the App Store
Creating univerasal graphics, your opinion!
function clean(event)
Playing with textures and masks
corona forums © 2003-2011