Using box2d flash as3 engine for iphone apps

Hi
have any body tried box2d flash as3 libraries working with flsh cs5 iphone apps.? when i compile app it give many errors, using flash player 9 give one error b2fixture undefined type error. any body developing physics base games as3 for iphone please share any good as3 physics base game engine.
Thanks

If you are targeting all iDevices I strongly suggest to forget about the Box2D. There is absolutely no way you can get (almost) any kind of physics simulation running smoothly with 1st and 2nd generation iDevices with current version of Packager for iPhone.
And it really is graphics that is the problem more than anything else. Forget about caching Sprites or MovieClips. Actually don't use MovieClips and Sprites at all, it's just too slow. Instead start extending Bitmap class with your own animation system (swapping BitmapData) and mouse handling (hitTestPoint), there's plenty of examples.
And then if you write really really optimized code you can get one fluently moving and animated sprite object running on your iPhone or iPhone 3G (with out doing anything else than just moving and animating that one object). More than one (animated and/or moving) object causes serious performance problems. You don't notice this as linear slowing in FPS (which would still be kind of ok), but it's more like skipping frames every now and then. This looks and feels really disturbing and makes designing of games pretty hard...Using GPU mode doesn't make any difference.
But to answer the question, I'm pretty convinced that you can get (simple) Box2D simulation running smoothly on iPhone if you:
1. Target only 3rd generation iDevices and above
2. Use only Bitmaps as graphics
3. Do rotations with pre-rendered frames (or don't use rotation at all)
4. Optimize Box2D and your code thoroughly
Just for **** and giggles I think I try to get some kind of physics simulation running on 3G too...
By the way, comparing performance of 1st generation iPhone to HTC Desire (I happen to own both too) is like comparing C-64 to my shiny new Phenom II X6 rig. If you just look at the specs:
HTC Desire:
1 GH ARM v7
AMD Z430 GPU
576 Mb DRAM
iPhone 3G:
ARM 1176JZ(F)-S (underclocked to 412 MHz)
PowerVR MBX Lite 3D
128 Mb DRAM

Similar Messages

  • Problems With FaceBook For IPhone App

    am having problems with the FaceBook for IPhone app. I can only comment in the notifications or newsfeed tabs, and the comment buttons don't work when I attempt to comment directly on a friend's status. The app also has repeatedly crashed. The latest mess is that I'm not even able to view my profile, messages, etc. Uninstalling and reinstalling seems to be only a temporary fix. I have complained to the developers to no avail with each update. I'm running IOS 4.3.3 and My IPhone model is AT&T service 32GB black. I'm using Voice Over.

    Have you tried deleting and re-installing the app?
    facebook provides support for the facebook apps it makes. Have you contacted them?
    http://www.facebook.com/iphone

  • Is flash player available for iphone?

    is flash player available for iphone orelse adobe and apple working on it?

    Flash player for iPhone is conspicuously absent. Apple doesn’t and probably won’t even support Adobe’s Flash plugin because Apple charges that Flash uses up computing and battery resources too quickly and that it’s unstable, which leads it to cause computer crashes which Apple doesn’t want as a part of the iPhone experience.

  • Is mac mini 2010 good enough for iphone app development?

    I'm planning to get a Mac Mini 2010, with 4GB of ram instead of the default basic 2GB. I'm getting it to do iphone app development. Is this computer going to be sufficient? Are there any caveats I should be aware of?
    Thanks!

    Hi
    I got exactly that setup for exactly that purpose... even the 4GB upgrade Even without the ram upgrade it should still be fine for iPhone app development. I've not run into any problems with mine.
    I got my ram upgrade because I want to run Windows inside MacOS using virtualization software - that kinda thing requires lots of ram.
    You might want to wait two days though before you buy. Apple has an event on Wednesday (October 20th) and it looks like there will be a lot of focus on Mac, possibly some hardware upgrades and a new version of MacOS.
    Regards
    Eon

  • App Store says update available for iPhone app. Try to install and get the message "the item you are trying to buy is no longer available" for three apps in a row.

    App Store says update available for iPhone app. Try to install and get the message "the item you are trying to buy is no longer available" for three apps in a row. Even when I go to the specific app and press Update, the update begins to install then aborts with this error message.iPhone 3GS running iOS 5.1.1. Also very long delay typing each keystroke in this message.

    That error message is usually indicative of a problem with the App Store. If you look through the forums, you'll see that a number of people are experiencing the problem. Try again tomorrow.

  • Using adobe flash player 8 for ps3 browser

    using adobe flash player 8 for ps3 browser. when i go on  the website adobe flash player 8  says its already downloaded but wont open video player

    Flash Player 8?
    That's at least eight years out of date. Flash was still a Macromedia product at version 8.

  • Flash Media Server for iPhone

    Hi,
    I am developing an app for iPhone/iPad. The client wants to show some realtime data in the app. Something like a chat application, where even if users don't do anything (flash uses no event), they can see what other users are doing in realtime.
    I went through adobe site to see Flash media Server for mobile device. But I am confused on which version of the server should suit the type of app I am developing.
    Thanks,
    Salim

    I'm more or less in the same boat. I've got the admin console
    up. I am able to run the vodtest application locally pointing the
    video file to rtmp://localhost/vod/sample.flv or using the server
    name instead of localhost as in rtmp://mclmedia/vod/sample.flv
    I can also load the html and swf file to my xp machine that
    has access to the server via our internal network. (DNS isn't
    configured yet) But the connectionFailed message appears when I try
    to call the videos using rtmp://mclmedia/vod/sample.flv

  • Recommendations For Iphone Apps!

    Hello,
    Can I get some recommendations for  some apps I can use for my iphone.
    Thanks!

    You can Google a term such as "essential iPhone apps" or "must-have iPhone apps" and you will get lots of results. People vary as far as which apps they like the best. I also check out the App Store on a regular basis to see what the Top 100 apps are. If a lot of people are downloading an app, it makes me curious about it, and I'm more likely to check it out.
    Happy app hunting!

  • Flash CC optimizing for iphone 5: How to remove black bars

    iOS test app i created in Flash CC is installed and functioning fine on my iPhone 5.
    However, the app is optimized for the 640x960 screen and not the 640x1136 iPhone 5 sceen.
    I'm only testing on the device, not uploading to the app store.
    Can someone please point me in the direction of the correct code to optimze for iPhone 5 for device testing only?
    THX!

    This is really a loaded question. There's no simple answer and multiple strategies.
    One strategy is the bleeding edge method. In that, you set the stage to scale NO_BORDER and exceed the stage in all directions with your artwork. That way it scales in aspect ratio to the device size but the images that bleed outside the edges of the stage will fill the black bar area. You then focus all your controls towards a designated 'safe area' for the device and assume the extra space may or may not be seen.
    The harder but better method is NO_SCALE where you program like an Android device. You program your app so it detects the devices resolution and position all elements based on the available area. That means everything is constantly calculated based on available space, so it's a ton of extra coding, but it puts you in a very good port position for Android.
    Bottom line, there is no magic bullet or Staples "Easy Button" to make your app work perfectly on all the (now) fragmented resolutions of iPhones/iPads.

  • Will flash be available for iphone?

    I'm workin on html5 (edge+dreamweaver) and it still got problems, if flash will be available for iphone we can continue our way with flash?

    Hello,
    Flash allows you deliver applications for iOS by prepackaging Flash content and applications in to AIR. You can also take advantage of the Toolkit for CreateJS publish your Flash designs and assets in to HTML5. See this for more information:
    http://helpx.adobe.com/flash/using/whats-new-cs6.html
    Regards,
    Suhas Yogin

  • How i use my network at home for iphone dy usb

    how i use network at home for iphone by USB

    Look for documentation on setting up a SOCKS Proxy for Linux. Installation on the Mac is almost identical. Here's a good place to start.
    <http://www.linux.org/apps/all/Daemons/Proxy.html>

  • Where do I store and download for IPhone Apps and Computer Apps?

    I'm feeling like a dinosaur in not understanding how to download and store apps for my iphone and those that I may DEMO or buy for my computer.
    For instance I have started syncing the iPhone to the MacBookPro so that this is easy when I am traveling. Now the MacBookPro is in the shop and I'd like to d/l an app for the iPhone. Can I do this on the MacPro which I am using now? If so, do I go directly to the Mac App Store do I open some App program on my MacPro? Do I have to d/l this app from my phone or MacBookPro only? I don't get this.
    Also, I called in for Aperture support the other day and didn't have any info on this software that I bought. I guess I downloaded a demo from some Mac Computer App store and then paid for the App after running the Demo? Then this information is stored somewhere different from having downloaded the Software directly without a demo or from another site or from some app on my MacPro?
    Something of a newbie here so any straightening out on how this works now and (perhaps) how it may work differently in IOS 5 or Lion would be really wonderful.
    Thanks.

    The iphone will sync with one computer at a time.  If you sync to another, then the current contetn will be erased and reaplaqced with content from the new computer.
    "If so, do I go directly to the Mac App Store do I open some App program on my MacPro? "
    The Mac app  store has NOTHING at all to do with iphone.  it is for buyong apps for your computer ONLY, NOT iphone.
    You can download apps from the itunes app store on your iphone or on your computer.  Your choice.
    iPhone User Guide (For iOS 5.0 Software)

  • Should I use the same Adobe ID for multiple apps in the same publication?

    I've been sifting through documentation on building apps for the Amazon AppStore and Google Play variants of Android for a few days and came across something I'm not too clear on.
    Here's a clip from the documentation page outlining the publishing process for Android devices:
    You cannot use the same Adobe ID to create multiple viewer apps. Create a different Adobe ID for each app. When signing in to publish folios, use the appropriate Adobe ID.
    The reason I am confused is because I thought renditions were used to send certain content to one set of devices (iPads, for example) and another set of content elsewehre.
    We currently pubish for the iPad and do so at iPad 1 resolution.  Would we add yet another Adobe ID to the mix when creating our Android apps? That sounds like a lot of logging in and out during the production and publishing process.
    Thanks for any insight,
    Steven

    Hey Steven,
    You can certainly use the same adobe Id and make renditions for two different App's ( one for android and IOS and so on )
    The point that you are referring to means that if you have two different App's in the App store with separate content than use different Id's...

  • Saving for iPhone app

    Hi, I'm new to Illustrator and am trying it out for an iPhone game I'm working on. I've got a couple problems actually. The 1st problem I'm having is finding a way to choose my center point so that when I rotate the object in the game, it rotates around this chosen center point. I believe this has more to do with my paths and less to do with saving. By the time I'm done creating my image, even if I rotate it using the transform tool, it's off center. How can I set a permanent center point or even crop/expand to a chosen center point?
    Also, any tips on optimal settings for the saved images? I'm using PNG-8 but there always seems to be a little bit of white behind the image, around the stroke. I'm saving for web/devices and have tried a few different combinations of settings.  The image size is 40x40. Thanks for any input.

    By the time I'm done creating my image, even if I rotate it using the transform tool, it's off center. How can I set a permanent center point or even crop/expand to a chosen center point?
    Only symbols have persistent registration points. for anything else, you need to create an empty square around your otehr art and group it, so you get coinsistent trasnsforms. That's assuming of course, your artwork was properly aligned in the first place. Your otehr issues more or less stem from the fact, that you are not working pixel-precise, i.e. your edges do not fall into discrete pixel rows, causing them to be antialaised, whiuch in turn triggers transparency issues. Make good use of the pixel grid for such fiddly work.
    Mylenium

  • How do I change the password that connects my Outlook for iPhone app with my Exchange server?

    I changed my domain password so I needed to change it on my iPhone Outlook app. I have looked everywhere I can think of, in the settings and everywhere else, and cannot find anything that will allow me to change the password. I had to uninstall and re-install.
    This seems ridiculous to me. 
    Corey Carmickle

    Hi,
    Since this forum is for general questions and feedback related to Outlook for Windows, I'd recommend you post your question to the Office for iPhone forum:
    http://answers.microsoft.com/en-us/office/forum/office_mobile-outlook-os_device_iphone?tab=Threads
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    I would very much like to get "the most qualified pool of respondents". However, in the link you supplied there is NO place to ask a question. There was someone who asked a similar question and the response was from a Microsoft Support Engineer pointing
    him to yet another place "for better suggestions". This site is setup like some gigantic maze where when you can't answer a simple question like; Where can I change my domain password in the new Outlook App for iPhones? You pass us around until you
    figure it out, or we give up, delete the app and start feeling like not everyone over at Microsoft has a brain. I apologize for the frustration level, but when I do this kind of thing for a living and it becomes this difficult, I can't imagine what most of
    Microsoft's endusers feel. 'Thank you for your understanding.'
    Corey Carmickle

Maybe you are looking for