Game universal iOS with only a staging?

Hi guys

I am currently working on a game universal ios for iphone and ipad.

I have a set of graphics set to 1024 x 768 and another set of graphics to 960 x 640. I use the device features to detect what kind of device I am on and then dynamically load graphics during execution.

My problem is that the scene is always defined in 1024 x 768, so demand will automatically reduce the entire scene when it runs on the iphone. This means that it will reduce the graphics in 960 x 640 appropriate sizes and leave some extra space.

I tried turning on no_scale and align to the left and all the different stage.scale settings with no luck.

I really wish I could just decide how the scene is great when running in a single file. Is this possible? I do not understand how someone would create a game universal ios with this configuration. Am I missing something?

I've heard people to add additional content that extends beyond the edges for a single device and would be visible on the other. This approach would not work for me, however, because most of my UI elements is located at the edge of the screen.

Any help would be appreciated.

The iPad and iPhone are different proportions, so you can have a fixed image with user interface elements on all four sides that there is a difference on one or the other device. If you have only the controls at the top and bottom, you may have a step in 1024 x 768 with additional content on the left and right of the stage. If you have just controls to the bottom of the left and right, you may have a step of 960 x 640 with a content on the top and bottom of the scene.

Now, if you have different graphics for the layout of the controls on all four sides, then you could do or of what above, but you need to think carefully about the size of these graphics, it is not obvious. For example, if you go with a scene of 1024 x 760 and additional content on the left and right for the iPhone, then your graphics of the iPhone would be size to 1152 x 768. At this size they would work perfectly for 960 x 640, and 480 x 320 screens.

In all the above cases, you would not set the scale of the scene or alignment, the default values are what you want.

For what it's worth, 1024 x 768 and additional content on the left and on the right are the best option if you want to support Android too, because the iPhone and almost all Android screens are wider than this ratio, there is no device that is narrower than the iPad.

Tags: Adobe AIR

Similar Questions

  • Why my MBP retina nine come with only 100 GB against 120 GB as shown. (He says 20 GB has been used, but I just bought the laptop) is enough space of 100 GB. I'm not a gamer or anything like that. Just need the computer for College

    Why my MBP retina nine come with only 100 GB against 120 GB as shown. (He says 20 GB has been used, but I just bought the laptop) is enough space of 100 GB. I'm not a gamer or anything like that. Just need the computer for College

    How to report the storage capacity - Support Apple OS X and iOS

    If you bought the Apple MBP, you have 14 days to swap for a most appropriate mac.

    If bought from a different dealer, you will need to contact them about the Exchange / return policy.

  • Plugin de Cordova for Universal Windows with reminder of repeated successes

    I am trying to add support for Windows universal platform for the plugin following (BluetoothSerial). This plugin reads the data sent by the bluetooth to Serial Port devices. As you can see from this code, I am very close to the goal, but looks like I'm not able to find a solution to my problem.

    Let me give you a basic understanding of what made the plugin: initially, the application calls the connect method, so a writer and a reader are initialized, and the playback loop is started. If the application calls the subscribe method, this means waiting for the plugin to send back data every time the specified delimiter character is found in the incoming data.

    At the moment the subscribeCallback is executed only the first time, but it seems it is deleted shortly after. Looking at the Android/iOS code, it was possible to set the property setKeepCallbackAsBool KeepCallback (or something similar) in the PluginResult object. Unfortunately I could not find something similar for Windows universal. The only bit of information I could find came from this article:


    The API proxy exec Cordova comes success and error callbacks as the first and the second parameter. On other platforms, we can choose to call the recall successful several times, but on Windows, you can only call the once successful recall. We worked around this in passing the callback as an extra parameter function and using that as the success callback in cases where we knew that several calls is assumed (as in the case of event listeners).


    So far, however, I wasn0 ' t able to implement this work around.

    Do you have any suggestions?

    kerrishotts, thank you for taking the time to look at this problem, I was able to make sense of the quote I posted in the first post.

    I write this in the hope that it will be useful to someone else. By default Cordova cannot call the recall successful more than once. On other platforms (Android, iOS), it is possible to force Cordova parameter to true setKeepCallbackAsBool (or KeepCallback) property of the PluginResult object. When you develop a plugin for universal Windows (using javascript), there is no PluginResult object. The solution is to pass the callback as an additional parameter. Let me put a code to explain.

    It is a piece of code without the workaround of the myPluginFolder/www/myPlugin.js file

    Subscribe: function (success, failure, delimiter) {}

    Cordova.exec (success, failure, "BluetoothSerial", "subscribe", [delimiter]);

    }

    And it's the related piece of the code of the myPluginFolder/src/windows/MyPlugin.js file

    Subscribe: function (success, failure, args) {}

    Delimiter = args [0];

    subscribeCallback = success;

    }

    In this case the subscribeCallback will be executed only once. Now, let me put the code of the workaround:

    It is a piece of code in the file myPluginFolder/www/myPlugin.js

    Subscribe: function (success, failure, delimiter) {}

    Cordova.exec (success, failure, "BluetoothSerial", "subscribe", [, delimiter]);

    }

    Note how I placed the recall of success also in the matrix arguments. And it's the related piece of the code of the myPluginFolder/src/windows/MyPlugin.js file

    Subscribe: function (success, failure, args) {}

    Delimiter = args [0];

    subscribeCallback = args [1];

    }

    With this workaround, I can finally call the subscribeCallback as many times as I need.

  • Best practices for the universal iOS app? SWF or SWC?

    Hello

    I'm trying to draw a box for my property which helps keep memory low load at run time for an application universal iOS and ran across the following article about the swc files.

    http://www.flashrealtime.com/compiling-big-air-SWF-to-iOS/

    However, it is not clear how this method would be beneficial from a point of view of memory. The files don't always loaded in execution?

    Or should I look at the swf files with code deleted and marked from the main swf in the ipa? (sounds like more work!)

    Please help educate a noob!

    Thank you!

    Some files may get loaded during execution even if you use swcs (video, xml, etc.), but the content that has traditionally been loaded as a swf should be compiled in your main swf.  This is not because it is more efficient, it's just to get around restrictive TOS of Apple memory.  So rather than load a module.swf in your application, you instantiate class of the module.swf document the same way you instancierait any other class, and instead of unloading it when you want to free the memory that you need on a null all references to that object (and all the objects that it created) cannot be reclaimed by garbage collection.

  • A Mac mini, purchased in the UNITED Arab Emirates can be used in the USA with only change the power cord?

    A Mac mini, purchased in the UNITED Arab Emirates can be used in the USA with only change the power cord?

    Yes.

    http://www.Apple.com/Mac-mini/specs/

    the voltage may vary from 100-240 V AC.

  • If you buy a mini iPad 2 with only WiFi - can you add later cell?

    If you buy a mini iPad 2 with only WiFi - can you add later cell?

    No, they are different models.

  • I have an iMac 3.06 GHz with only 4 GB of memory.  During last two weeks, whDurin the past two weeks, when I click on 'Edit', it does not hold the menu drop down.    Need my Mac 'cleansing' and how do I get rid of unnecessary files?

    I have an iMac 3.06 GHz with only 4 GB of memory.  During the last two weeks, when working with documents, buttons on the desktop did not have in the drop down menus.    How can I get rid of unnecessary files and wipe the hard drive?

    Drop down menus stay open at other times? Have you tried another mouse? More information please write an effective communities of Apple support question

  • Is it normal for a Macbook Pro operate at a temperature of more than 60 degrees celsius with only the navigation? Left side warms also many...

    My Macbook Pro Late 2011 very hot especially on the left side. Temperature exceeds the 60 degrees celsius, with only the navigation. Is this a normal behavior? Fans operate at a SPEED of 2000 more or less. I would like the experts to guide...

    From what you say, it seems that your MacBook fans work as usual (and unfortunately), and 60ºC is a good temperature for a MacBook Pro, so I don't think that there is nothing wrong with your Mac. Note that the temperature may also depend on what websites visit you and complete what they use. for example, Java and Flash Player increases CPU utilization and the battery, and this, temperature.

    In addition, note that your MacBook Pro is made of aluminum, and it can quickly become hot even if you don't do any heavy task. This does not mean that there is nothing wrong with it

  • Sometimes a web page is displayed with only text and no picures. It is not always the same site and is not always the case. If I'm going to explore for the same website that always works

    Sometimes a web page is displayed with only text and no picures. It is not always the same site and is not always the case. If I'm going to explore for the same website that always works

    Hello

    Also try a Ctrl + F5 refresh. This allows to bring the content of the page again.

  • HP 6600: why can I not print with only black when I have only black cartridge in hp 6600 as hp 4500'?

    and he always says that color cartridges are leaking so I had to make one more only accepts black and I can not print with only black.

    How can I print with only black when I have the only black in the printer.

    Why only black does not work with the color cartridges.

    What is the error message you see with the color cartridges installed?

    HP and other printer manufacturers have technology another printer for different needs.  For ink jet printers:

      • Some have integrated into the ink cartridges print heads.  These printers can print generally with one or more of the colors completely empty, or even with color or black cartridges (but not both) removed. 5665 envy is an example.
      • Other printers have separate replaceable printheads and inks.  An example would be the printer Officejet Pro 8610.  In these printers print head can be replaced if they are damaged by running the printhead with colors off.  Some of these printers allow printing with a color, the other will not.  If the printer is run without ink in one or several colours, the printer may be damaged, but the user may be able to recover without having to send to the printer for the service.
      • Other printers have permanent print heads.  To run only those without little ink in all colours would risk causing damage to the print head because of clogs, air ingested in the printhead or grilled printhead resistances of shooting. The Officejet 6600 is an example of this type of printer. For printers with fixed print heads that could require the service to get the printer to print properly again when the ink is finally replaced.

    The document described here how the ink is used.  The document is written for inkjet printers HP the same principles apply to printers inkjet from other manufacturers.

    If you do ever print color laser printer would probably be a better choice.  If you occasionally print color but especially black a HPI printer as those in the first category above can be a good choice.

  • How will I know if my games is compatible with Windows 7?

    How will I know if my games is compatible with Windows 7?

    You can check the compatibility of software and hardware on the way to the Windows 7 Compatibility Center. You can also get information on thousands of software and devices and receive feedback from users. Visit the compatibility to http://www.microsoft.com/windows/compatibility/windows-7/ Center

  • How is it when I try to open one of my favorte often visited Web sites I get a blank page with only the word 'false' in the upper left?

    How is it when I try to open one of my favorte often visited Web sites I get a blank page with only the word 'false' in the upper left?

    This just started happening the last two days.  I tried to add the url to my list to activate in Internet Options, also to accept the list for windows firewall. I rebooted and restored.

    It is annoying when I can't access Web sites on my PC.  There is no control parenting, nor is it a reason to be since I'm 57 years old, single, live alone and have no children, and not to mention that this isn't a single adult site. This is an auction site.  The same thing happens on a site of sports too.

    Hello

    Thank you for writing to Microsoft Communities.

    I understand how it could be frustrating when things do not work as expected. Please, I beg you, don't worry I'll try my best to resolve the issue.

    1. what operating system is installed on the computer?

    2. what version of Internet Explore do you use?

    3 have there been recent changes to the computer before the show?

    Please go ahead and follow the steps mentioned and later a update on the State of the question.

    Method 1: Start Internet explorer with the mode without modules and check.

    Click Start, all programs, accessories, System Tools, and click Internet Explorer (No Add-ons).

    If the problem does not persist in Internet Explorer (No Add-ons), then it is one of the Add-ons at the origin of this problem. Please follow the steps below to locate the problem the weak module:

    a. restart IE normally.

    b. click on tools.

    c. click on Manage Add-ons.

    d. disable add-ons by clicking on them one at a time to highlight and then click Disable.

    e. reactivate modules one by one and check with what add-on, you get this error message.

    f. turn off the add-on at the origin of the problem.

    For your reference: http://Windows.Microsoft.com/en-us/Windows7/Internet-Explorer-Add-ons-frequently-asked-questions

    (For Windows Vista)

    Method 2: How to optimize Internet Explorer:

    http://support.Microsoft.com/kb/936213/no

    Important: Reset Internet Explorer to its default configuration. This step will disable also any add-ons, plug-ins or toolbars that are installed. Although this solution is fast, it also means that, if you want to use one of these modules in the future, they must be reinstalled.

    Follow these recommended steps and after if you still experience the problem.

  • Why is compatible windows 7 with Medal of honor alied assualt and assualt pacifc and airborne, but not with Medal of Honor 10eanniversaire Bundle. and have xp and windows 7 can I play and keep the games on xp with windows 7 is installed

    Why is compatible windows 7 with Medal of honor alied assualt and assualt pacifc and airborne, but not with Medal of Honor 10eanniversaire Bundle. and have xp and windows 7 can I play and keep the games on xp with windows 7 is installed

    Hello
    Welcome to the Microsoft answers site.
     
    By design, the game is not compatible with windows7.
     
    You can also check with the manufacturer of game for any version upgrade of this game, which could be compatible with windows7.

    Yes, if you have the dual operating system on your computer, you can play and record games on xp, start the computer in Xp and you can play the game.

    I also invite you to visit this link to learn more about running the old programs/games in xp or vista compatibility mode.

    Here is the link:
    http://Windows.Microsoft.com/en-us/Windows7/make-older-programs-run-in-this-version-of-Windows

    Let us know if you have any questions.

    Thank you and best regards,
    Azam - Microsoft technical support.

  • I deleted all the games that come with Windows XP including Solitaire. How can I get that back?

    I deleted all the games that come with Windows XP including Solitaire.  How can I get that back?

    Hi andypily1,

    Welcome to the Microsoft Answers community.

    Try the steps one by one and check below.

    STEP 1:
    How do I add or remove games in Windows XP
    http://support.Microsoft.com/kb/307768
     

    STEP 2:

    In most cases if the games are deleted from the computer files will remain on the computer.

    I suggest that you are looking for game files in the system32 folder.

    Later, click on Start menu click on run and type c:\\windows\system32 in the following search of the window for the file of games like free cell. If you get the files in the system32 folder then copy the file to c:\\program files\start menu\ later in the game folder.

    STEP 3:
    If fails it above steps, try a system restore to the point when the game was available on the computer.
     
    See the link below to learn how to perform the system restore.

    How to restore Windows XP to a previous state
    http://support.Microsoft.com/kb/306084

    Hope this information is useful.
    Let me know if it worked.
     
    Thank you, and in what concerns:
    Umesh P - Microsoft Support

  • PHP: The partition on my solitaire game that come with the computer has a prefix of Php.How can I get rid of php?

    The partition on my solitaire game that come with the computer (but not on the same computer system of woman) has a prefix of Php.

    How can I get rid of the php?

    Hi pichick,

    1. what operating system is installed on your computer?

    2. when the question is is produced?

    3. you remember to make changes to your computer before the problem?

    4. are you referring to the solitaire game that is already installed in your operating system, the solitaire online game or the game of solitaire that is downloaded from the Internet?

    In the meantime, follow these methods.

    Method 1:

    Step 1:

    I suggest you Uninstall and reinstall the game and check (if referring to downloaded the game)

    Note: Specific measures for Windows 7 and Vista

    Step 2:

    If you are referring to the solitary of the Games Explorer, you can disable the feature, restart the computer and then turn on the game and check its features.
     
    a. click the Start button, select Control Panel, click programs and then click turn on turn Windows features on or off.

    If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    b. develop the Games folder, clear the check box next to solitaire to turn a Windows feature (game) off

    c. click OK.
     
    That repeat steps but next time make sure that the box next to solitaire.
     
    Turn on or off Windows features
    http://Windows.Microsoft.com/en-us/Windows7/turn-Windows-features-on-or-off

    Note: Specific measures for Windows 7 and Vista

    Method 2:

    If the issue took place recently, you can perform a System Restore to the point that it was working fine.

    Note: Specific measures for Windows 7

    Aziz Nadeem - Microsoft Support

    [If this post was helpful, please click the button "Vote as helpful" (green triangle). If it can help solve your problem, click on the button 'Propose as answer' or 'mark as answer '. [By proposing / marking a post as answer or useful you help others find the answer more quickly.]

Maybe you are looking for