when i test my game on my HTC desire, there is no transition between scenes, the image freeze for the time of the transition, and the new one appears immediatly. Is this a common problem? [import]uid: 44010 topic_id: 8931 reply_id: 308931[/import]
Wow that’s interesting. I’m using director for my app and transitions are working fine on my Droid X. I used to have that problem though! Cross check your code with the sample project included with director and see if you have the same code he does.
Good luck! [import]uid: 20687 topic_id: 8931 reply_id: 32652[/import]
well, it’s working fine in the simulator…
i use this for transition:
[lua]function changeScene(e)
if(e.phase == “ended”) then
TextCandy.CleanUp()
director:changeScene(e.target.scene, “fade”)
end[/lua] [import]uid: 44010 topic_id: 8931 reply_id: 32655[/import]
For me the transitions don’t work in simulator, and don’t work in iPod/iPhone. I’m using director 1.2 and a simple director:changeScene(“newScene”, “fade”). I have tried other transitions and get nothing. [import]uid: 6732 topic_id: 8931 reply_id: 33957[/import]
Are you sure you are setting up the new scene / module correctly?
At the top of the module you must have:
module(..., package.seeall)
and it must also contain a new() function that returns the module’s display group to work.
Eg at its most basic, a module should look roughly like this:
[code]module(…, package.seeall)
local localGroup = display.newGroup()
– Here you should insert your scene background image, buttons etc, just remeber you MUST add all these to the localGroup
function new()
return localGroup
end[/code] [import]uid: 46639 topic_id: 8931 reply_id: 34415[/import]
I have similar problem. Everything works on simulator and iOS device, but most transitions fail in Android (HTC Aria). [import]uid: 19297 topic_id: 8931 reply_id: 34422[/import]
I have found my problem.
I have downloaded a modified version of director class. When I get the official version the transtions work.
Thank you [import]uid: 6732 topic_id: 8931 reply_id: 34481[/import]