Hi everyone.
I am building a little game with some levels, and i am using popUp (director) to change the scene to the score menu.
Simple Example.
If the bird contact with the water, it will go to the score menu, using popUp, it is really simple.
Practice example:
This code is inside of a runtime
if BirdsCollide == true then
-- Load GlobalValues
local GlobalValues = ice:loadBox ( "GlobalValues" )
local Time = GlobalValues:retrieve( "Time" )
director:openPopUp( "score" )
end
and i am using the ice library to save the time, to show inside of the score popUp, and then on the popUp i have a button to play again, and it will not restart all the level, just close the popUp and you can play again, but every time that i do it, it will increase the memory some like 0.3883 to 0.39, and will increate the same values each time that i play and go to the score and then go back to the game, will increasing every time.
I deleted the ice library to test if it is the problem, and it is a little but not the total. i used others popUps and dont have any problem, but with this part i am having some problems
Anyone can help? [import]uid: 26056 topic_id: 23129 reply_id: 323129[/import]