The case for integrated, native physics in the Flash Runtime

Hello everyone,
As hopefully many of you know, a community based feature request page was created a few months back (Feature request for Flash and Air - uplist) and we've had a number of great ideas added and voted on.  In an attempt to better understand the individual requests, we thought we'd start threads on particular subjects to allow us to ask questions and get community feedback.  These posts should not be taken as a commitment to a particular feature (or lack of commitment to any other feature.)  I can't stress this enough.   I don't want anyone to think that we're ignoring other requests or to assume that because we're asking about something, they can expect to see this done in a future release.  We simply want to better understand the request so that we can reduce the number of assumptions on our part.
To start, let's we've got a few questions regarding the request for "Integrated (native) physics" which currently has 142 votes.
When talking about physics, are you interested in a 2D or 3D physics engine?
Can you list native engines that demonstrate the features you want the Flash runtime to implement natively?
For instance, if you're interested in Box2D functionality, have you tried http://www.box2dflash.org?
Is there a huge performance gap between the native and ActionScript implementations of Box2D?
Are you looking for solutions for desktop or mobile?
Thanks,
Chris

I'm all for the addition of a native physics system, based on Box2D, that gives us native speed.
But, I'd also like to suggest that you make sure that you are committed to polishing and improving the new API's, and not leave them stranded at v 1.0.
For example, GameInput API is rife with bugs, and there seems to be no interest or pro-activeness on the part of Adobe to fix them. Zeh Fernando has put in a ton of work in standardizing the GameInput API, and he has been quite vocal about the issues, and as far as I know, no one from Adobe seems to care at all.
Here's a link to his gitHub repo, where he lists current issues with the API:
zeh/key-action-binder · GitHub
know that Flash's GameInput API is still severely ridden with bugs. You may run into some of them. Here's some more information.
Supported devices are not detected properly when added or removed (Bug #3709110): no workaround
Using GameInput add Timer overhead every second in Windows (Bug #3660823): no workaround
GameInput devices simply stop working when running on Android/OUYA: need to initialize things in the first frame of SWF (fixed in AIR 13.0.0.36/Flash Player 13.0.0.130?)
Quick button presses may not be properly detected on Macs (Bug #3702039): no workaround (need to test sampling rate changes and if button activation can always be assumed from the up event)
In addition to those, I have run into a major bug on nVidia Shield, creating huge lag in inputs. The bug is nearly 12mths old, and is very severe:
Bug#3673122 - Shield controller massive lag
I'd love to see the AIR team being much more pro-active about bug fixing. It seems to be like pulling teeth sometimes to actually get something fixed. I would think that the team, after putting in a big effort to implement GameInput in the first place, would be extremely pro-active in seeking out feedback and fixing the bugs in the first 3-6mths since release, to harden the API, but instead no one seems to care, and the onus is all on us to "file a bug report and vote", which seems code for "might get fixed, one day, maybe"
We love AIR so much because of it's consistency, but new API's need to be as consistent as old ones, and need constant iteration and improvement as well. I know it's flashier to add a new bullet point to the marketing check list, but consistency and reliability are much more important in this chaotic and fragmented landscape.
/2 cents

Similar Messages

  • Anyone following the Flash vs. HTML5 debate

    Hey everyone. I have been developing systems in Flex3/4 and AS3 for two and a half fantastic years now.
    Flex and AS3 have been an absolute pleasure to work with. True OOP support, creating subcomponents a piece of cake, great development tools, 
    cross browser compatibility, seamless integration with J2EE server components, great support forums, fantastic eco system.  Making things visually pleasing and interesting, while being very usable, reusable (from an OO perspective)  in any other language is just not possible at this time. I could go on and on. 
    Lately I have read debates about HTML5 vs. The Flash Runtime.
    My response. You're kidding me right. There is nothing to compare here. HTML5 and JavaScript. I would much rather swallow my tongue than code anything in either HTML, or JS. I had the unfortunate experience with a project coding in HTML and JS a few years ago. My stomach hasn't been right since. In all fairness to the HTML/JS hackers out there. Sure if you're developing web pages or a web site. Then sure, the HTML,CSS,JS thing will do you good. 
    However. Serious web applications that present scientific data, and retrieve that data from a DB Server, like for instance, the stuff I'm working on. Need a web UI that can present that information in a creative and imaginative way.
    As well as the ability to make the code modular, OO, and use best practice patterns like IOC,DI, as well as, integrate, easily with a backend J2EE service.  The natural choice here is Flex/AS.
    So what if the flash runtime environment burns a lot of compute cycles on your desktop.  Are you kidding. Irrelevant. Steve Jobs is the last guy that should be criticizing that aspect of Flash. Ever heard of a product
    called NeXT. This was one of Steve Jobs visions that tanked. Why. This was a clear case of the software being too advanced for the hardware, at the time to handle. So. You critics that blast flash in that context. Just shut up. The hardware will catch up. It always does. Ever heard of Moore's Law. 
    Anyways. I'm tired of hearing the bashing of the Flash runtime. Sometimes I think developers follow the masses, just for, well, being one of the herd. 

    Having fought this battle at work for way too long, I can tell you that it mostly boils down to ideology.
    Our product was originally a in house Java library that generated AJAX components. After it became unmaintainable (only 5 guys trying to create a product and maintain the library) I started looking into Flex. Flex did everything we were trying to do with AJAX and then some but there were those who fought me tooth and nail to go the HTML5 route.
    They threw everything and the kitchen sink at me trying to dissuade management from going the Flex route. They would dig up ancient problems with the flash player, you name it. Steve Job's statements about Flash didn't help either. What won them over (or finally made them shut up) was the fact that there were no good HTML5 dev environments like there is for Flex.
    What seemed to drive them was partially not percieving Flex as being open source and partially actionscript was new and unknown to them. Like the saying goes: If you have a hammer everything looks like a nail.
    HTML5, Javascript and AJAX have their place. But if you want to write actual applicaitons Flex is the way to go.

  • [svn:fx-trunk] 11933: Addressing an edge case for TileList where at times the listItems array doesn 't accurately reflect a fully realized set of item renderers.

    Revision: 11933
    Revision: 11933
    Author:   [email protected]
    Date:     2009-11-18 06:55:18 -0800 (Wed, 18 Nov 2009)
    Log Message:
    Addressing an edge case for TileList where at times the listItems array doesn't accurately reflect a fully realized set of item renderers.  This can occur when the TileList row/col creation routine bails out early when it believes it has no further need to create renderers due to current height of the list itself.
    QE notes:  None
    Doc notes: None
    Bugs: SDK-24169
    Reviewer: Alex
    Tests run: List, TileList, HorizontalList, DataGrid
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24169
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as

    Due to a copy/paste glitch, some necessary spaces have inadvertently been removed.  If I could fix this, I would.

  • I'm trying to change my phone case, i have the bumper that screws in if i goto the apple store will they unscrew the case for me?

    I have the bumper case that screws in so it doesn't fall apart, but i want to take it off. Will the apple store unscrew the case for me? or would i have to go to At&T to have them screw it off?

    Hey,
    I can confirm what xtremecaron has said, Apple will defo not remove the bumper for you. Best bet is to try different screwdrivers.

  • I want to buy a hard case for my macbook pro, but I don't know what year it is. When I use the serial number to try and find out, all it says is, "~VIN,MacBook Pro (15-inch Glossy)". When I type that into amazon for a case it gives me nothing!

    I want to buy a hard case for my macbook pro, but I don't know what year it is. When I use the serial number to try and find out, all it says is, "~VIN,MacBook Pro (15-inch Glossy)". When I type that into amazon for a case it gives me nothing!

    Hi T,
    Either of these will give you the info you seek:
    http://www.appleserialnumberinfo.com/Desktop/index.php
    http://www.chipmunk.nl/klantenservice/applemodel.html

  • How can I use the same event case for different controls dynamically

    OS: Linux 2.6.24-1-686 #1 SMP Sat Apr 19 00:37:55 UTC 2008 i686 GNU/Linux
    LabVIEW: Version 8.2
    I have a lot of (about 50) controls (numeric, boolean) on my front panel. If a "Value Change" event will be fired by any of them the same event case shall be executed. As I do not want to add all 50 controls to the same event case manually I am looking for a way to do it at run time. Additionally the VI is still under contruction, i.e. controls will be added and removed.
    Thanks for any help here.
    Regards,
    Johannes
    Solved!
    Go to Solution.

    Hi Johannes,
    collect all your control references (you can use the FP property for it) and create a user event. Connect this user event to your event structure. Now you have one event case for all your controls. See the attached picture.
    Mike
    Attachments:
    Unbenannt1.PNG ‏11 KB

  • Looking for a decent high quality case for the Omni10 Omni 10

    For anyone looking for the best case for the Omni 10 then this fits perfectly and is the best match for this tablet currently
    http://targus.com/uk/product_details.asp?sku=THZ200EU
    In the UK, where I live, it is available from John Lewis

    It appears that the Targus case has a cutout that would allow you to charge the device with the cover closed. The HP case doesn't allow for that.
    I wrote a review here on the HP case. I wouldn't recommend it. I should also note that the HP store personnel chose not to make my review public...seems there's some selective editing going on there which means I will never trust any reviews on that site.
    You can search here for my whole review, but basically the HP case has a couple of problems.
    1. It's very heavy for a case.
    2. The holes don't line up particularly well with things like the camera (no matter how many times you adjust the tablet and tighten loosent the velcro closure.
    3. The aforementioned charging issue.
    4. You can't have any cables plugged into the device while in Stand mode (probably also an issue with the Targus).

  • Looking for a leather case for the ipod Touch 4G

    Hello everyone,
    I'm looking for a real *GENUINE LEATHER* case for the iPod Touch 4G, preferably one that has a belt clip.
    I just wasted $34 on the new Belkin "genuine leather case with belt clip" only to find out it smelled like rubber and felt nothing like what real leather would feel/smell like. Totally disappointed in Belkin advertising their cases as genuine leather when in fact they are made of cheap synthetic leather.

    You can right click your video file, go to "Get Info", and select the Video tab and change the file type to Movie, TV Show, or Music Video, and then once that video is synced to the iPod it will be sorted into the proper location.
    You can also create playlists of your video content. That would be the easiest/best way to get your genre classification system going.

  • Need help locating a wallet case for an Xperia T2 Ultra Smartphone that has a slot on the side for the mini-usb

    I realize this board is for Xperia tablets, but I don't see a board for Xperia Smartphones.  I do hope someone here can help. I have a Sony Xperia T2 Ultra smartphone.  I love the phone, but I purchased a case for it not realizing that the case doesn't have a slot on the side for the mini-usb connector, which means that I have to charge the phone with the case open.
    I called Sony accessories, and they don't seem to make a case with a slot on the side.  They have a very nice case, but again, it doesn't have the correct opening for the charger and you have to charge the phone with the case open.
    I have also searched several websites for such a case with no luck.
    Does anyone here know where I can find a wallet-style case for the Sony Xperia T2 Ultra with a magnetic closure (or some way of securing the case closed) that will actually allow me to charge the phone while the case is closed?  Please let me know.

    This is the only "question" I could extract out of your confusing post:
    "I want to know if it even can be done in Flash or would we need to use something else like PHP or Javascript?"
    It can`t be done in Flash alone you need php.
    With the experience level you already admitted to, I strongly advise to stay away from such a project, you will save you and our customer a lot of headaches, no offense.

  • What are the Infotypes required for integrating Payroll for Latin America?

    Hi,
    Can anyone tell me the Country Specific Infotypes for Implementing Payroll for Latin America? Also Please let me know the Infotypes required for integrating FI & CO modules with Payroll.

    Hi,
    Can anyone tell me the Country Specific Infotypes for Implementing Payroll for Latin America? Also Please let me know the Infotypes required for integrating FI & CO modules with Payroll. Also I need to implement the Payroll for Latin America including ESS and MSS. How do I Integrate?
    Regards,
    Kavitha

  • Could any one please help me to select the best case for my iPhone 6plus gold?

    HI All!
    Could someone please tell me which is the best case for my new iPhone 6 plus gold. I do not want to lose the beauty of the gold back finish of my 6 plus.
    THanks and Regards
    Aneesh

    Hello, I just bought the same phone and didn't want a hard case so I ordered this case from Amaon.
    ZVE® Full-body Protection Case,iPhone 6 Plus Case, [iphone6 plus wallet Case] Apple iPhone 6 Plus Case 5.5 Inch [Slim] Leather Wallet Cover with S
    Sold by: Zwallet

  • Should i get the sleeve or the case for my macbook air 13 inch. I work under air conditioned room most of the time. I also store my macbook air in an air conditioned room 24/7.

    I am a college student but I don't really bring my Mac with me all time. I have read that room temperature affects the macbook air and that it needs an optimum temperature. Some sites suggested sleeves as opposed to cases for room with cold temperature. What do you guys think since I use and store my macbook in a cold room. Thanks!!

    Hey kesh888,
    Thanks for the question. After reviewing your post, it sounds like you have a question about the operating temperature of a MacBook Air. I would recommend that you read this article, it may be able to help you resolve or isolate the issue.
    Mac notebooks: Operating temperature
    The location you are using your notebook should be within these ranges: 
    Operating temperature: 50° to 95° F (10° to 35° C)
    Thanks for using Apple Support Communities.
    Have a nice day,
    Mario

  • Kindly refer to Case Id No. 525700065 in India.I have talked to various people on my case for more than 5 hours ( Total talk time) The people give various different answers and aim really fed up now. What do i do? Many apple phone users are especially fed

    Kindly refer to Case Id No. 525700065 in India.I have talked to various people on my case for more than 5 hours ( Total talk time) The people give various different answers and aim really fed up now. What do i do?
    Many apple phone users are especially fed up with RSGI Communication , Erandwana, Pune, Maharashtra, India.
    Their service report No. 36679.
    Allthough Mr Punit ( Technical Dept. Apple.) had requested RSGI to chance the device, still RSGI said they do not have the device ( I phone 5, white ,16GB) in stock.
    Today when we contacted them they said they won't be able to replace OR order to Apple unless and until we do not keep the device with them for 3 days.
    Mr Deepak of Technical Dept Apple was contacted who's telephonic Transript as proof is available with us.

    Who exactly are you addressing your screed to
    There are  no Apple Staff on this forum ,it is User to User

  • I look for integrated in the legend bloc of diaporama, a widget such as "Accordion" for, with a click, or passing with mouse, open a new legend for each photo. I tried with "Accordion" of Muse, it does not work. I tried copy/paste, mais no result. The wid

    Question.
    I look for integrated in the legend bloc of diaporama, a widget such as "Accordion" for, with a click, or passing with mouse, open a new legend for each photo. I tried with "Accordion" of Muse, it does not work. I tried copy/paste, mais no result. The widget disappear in bloc legend. disparaître. Have you one solution?
    Thank you,
    Loïc

    Accordion or Tabbed panel should to it, with click and open container.
    Please provide site url where this does not work, also if you can provide an example where we can see the exact action then it would help us.
    Thanks,
    Sanjit

  • Where can I buy a case for the iphone 3g 16gb

    Where can I buy a case for the iphone 3g 16gb?

    YOU ARE KIDDING ME!!!
    do u know sth called INTERNET & SEARCH ENGINS??? they been on for some time now and they help a lot!!!
    do u want us to buy u the case and give it to you?? and show u how to put ur device on it??

Maybe you are looking for

  • Is there a way to delete songs or edit the rating directly on the iPad?

    Hi, I hear my music mainly using my (new) iPad. Since I want to remove songs that I don't like and rate my best songs, I am looking for a way to do that directly on the iPad (not on iTunes on the PC or Mac and syncronizing after). I did not find a wa

  • Why is iTunesU running very slow on Windows 7?

    iTunesU is running very slowly on machines using Windows 7 and iTunes 10. It works fine on Windows XP withe iTunes 10. Why is it slow in iTunes 10 and Windows 7?

  • Is it possible to turn off the infrared emitter without closing the sensor

    Hi, The Kinect v1 SDK had a function ForceInfraredEmitterOff(), which could be called to turn off the infrared emitter without having to close the Kinect. This was very useful for applications using multiple Kinects as it provided an easy way of prev

  • Microsoft window pops up when opening itunes

    when I open iTunes i get this message do u want to scan and fix (name of playlist)- (F:)? there might be a problem with some files on this device or disk. This can happen if you remove the device or disc before all files have been written to it. Scan

  • User having problems in printing Grv's

    Hi People I've got one user that's having problems with printing Grv's, the Grv prints half the page and this is only happening to her. I've cheked her profile and everything is setup correctly ... What do I need to do to fix this . Thanks Sibusiso