opening scene is a company logo scene ( loads and plays fine ) goes to next scene
opens splash scene ( everything fine ) goes to next scene
opens title/menu scene ( still fine ) I’ve only added one button so far to show the instructions but its not changing anything when i click it. if i click again it says the popup is already open. I’ve tried changing it to a changeScene instead which it transitions but leaves me with a blank screen
this is a code to load the popup when you tap on the button
[blockcode]
function ldIns()
transition.cancel( trans1 )
transition.cancel( trans2 )
director:openPopUp( “insPage1”, openPage2 )
end
function openPage2()
director:openPopUp( “insPage2” )
end
[/blockcode]
this is my code for the first instruction page
[blockcode]
module(…, package.seeall)
– j strahan –
– Instructions screen –
– © 2011 –
function new()
local pg1, spriteSheet
local localGroup = display.newGroup()
spriteSheet = grabber.grabSheet( “insCode” )
pg1 = spriteSheet:grabSprite( “insPage1” )
localGroup:insert( pg1 )
return localGroup
end
[/blockcode]
also my logo scene and splash scene will not be seen again until you quit the game and restart it, do i need to remove these scenes to free memory or is that handled by director [import]uid: 7911 topic_id: 12279 reply_id: 312279[/import]