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?
Label: corona android iphone ipad building error inmobi problem display screen View image tableView failed object physics touch button game lua config event listener |
director transitions on android don't work
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!
well, it's working fine in the simulator...
i use this for transition:
1 2 3 4 5 | function changeScene(e) if(e.phase == "ended") then TextCandy.CleanUp() director:changeScene(e.target.scene, "fade") end |
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.
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:
1 2 3 4 5 6 7 8 9 | 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 |
I have similar problem. Everything works on simulator and iOS device, but most transitions fail in Android (HTC Aria).
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
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
How is everyone doing with Inneractive Ads?
Url schemes
Apple revenue payouts
Play a remote MP3?
Will there be a Corona christmas special offer?
SpacePenguin - 48 hour Rapture Sale!
¿Alguien se anima a traducir la documentación oficial?
Class Question
Need Help with example calling a website to read the DB to return the data