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:1565 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
相关文章
Push Support for Iphone application
Ansca Corona video tutorials at the Ansca youTube channel
Newbie Question
Keep video player from quitting
AdMob in the Android developer portal
Sprite tearing when using newSpriteMultiSet with a 20 frame and a 9 frame sequence
Stars vs Circles
how to use media.camera?
Game is SLOW when touch and holding screen
move on touch event
Ansca Corona video tutorials at the Ansca youTube channel
Newbie Question
Keep video player from quitting
AdMob in the Android developer portal
Sprite tearing when using newSpriteMultiSet with a 20 frame and a 9 frame sequence
Stars vs Circles
how to use media.camera?
Game is SLOW when touch and holding screen
move on touch event
corona forums © 2003-2011