Could anyone give an example or a code that set the mode automatically ...
thanks
Label: corona android iphone ipad building error inmobi problem display screen View image tableView failed object physics touch button game lua config event listener |
Is there any way to set the landscape screen mode, use code or function?
Hi fernando,
here is how I would do it:
http://developer.anscamobile.com/forum/2010/04/29/orientation-change-touch-coordinate-modification
Hi,
thanks!
By the way, you can set the default orientation for your app using the new build.settings file in Corona 2.0. Be advised 2.0 is still in BETA.
Here's an example of what you would put in your build.settings file.
1 2 3 4 5 6 7 8 9 | -- build.settings settings = { orientation = { default = "landscapeRight", }, } |
This file cause massive slow down on Android. Is there some other effective way to rotate the screen?
views:1707 update:2011/9/21 9:18:04
热门文章
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
相关文章
Ball and Basket Ball Hoop
native alert and director
Add Physics to a rounded edge?
display.save saving black (blank) jpeg
Do text entry fields still sit on top of everything else or is there a way to put stuff on top of them?
Ads structure
Simple 3D Transforms
Who's going to GDC Europe?
nitpick feature request: tab on 'elseif'
Problem with load many large images
native alert and director
Add Physics to a rounded edge?
display.save saving black (blank) jpeg
Do text entry fields still sit on top of everything else or is there a way to put stuff on top of them?
Ads structure
Simple 3D Transforms
Who's going to GDC Europe?
nitpick feature request: tab on 'elseif'
Problem with load many large images
corona forums © 2003-2011