The performance is really low..any suggestion?
I developed a plane shooting game with only using hitTestObject method for collision detection, but the FPS only got 5 around while I can get maximum FPS to 30 on my PC.
Are there some optimization tips for Flash Lite 4? I only found tips for Flash Lite 3 or older.
See here for the collision Detection : http://wiki.forum.nokia.com/index.ph..._in_Flash_Lite
The Flash related documents are available here : http://www.forum.nokia.com/Develop/W...on/Flash.xhtml
I also found it very low, testing quickbox2d with just two boxes got around 3 PFS
is there anyway of having physics in Flash Lite 4 ?
sorry for incomplete info... teste on a Nokia E7... fruit ninja runs amazing, a simple SWF using quickbox2d with 2 boxes almost froze the machine
Well! The simple reason which i can tell in one go is that the Fruit Ninja uses GPU of N8 via OpenGL ES which is also known as hardware acceleration but Flash Lite 4 doesn't provide any hardware acceleration in Symbian^3 and thus Box2D works slow at Flash Lite 4. One more thing which i observed in FL 4 (and previous versions) is that if you want to play a sound each time u hit an object or a background music then FPS go down. My best advice in this case is that constantly test your content in phone and do optimization by looking at the results.
The N8 3D hardware graphics acceleration (via OpenGL ES) is probably not that useful for 2D vector graphics like what Flash does. There would have to be 2D hardware acceleration (OpenVG) + a Flash implementation that knows how to use it.
So in conclusion we still can't make Flash games for the N8 right now. except for boring games I guess old C++ and Java are still the way to go for gaming in Symbian^3. It's a pity since Flash is so much evolved right now (think Molehill for example - uses GPU) and the developer community is so huge. thank you
for those who don't know, with Flash Molehill API one can easily make a game like Fruit Ninja, 3D hardware acceleration and all that. Need for Speed? No problem
imagine the whole Flash community making such glorious games for Symbian^3..... The development time is much quicker than C++
Molehill APIs are great but currently, they are not available for any smartphone out there and there plan is :
Source: http://labs.adobe.com/technologies/f...ehill.html#faqWill 3D be supported in mobile versions of Flash Player too? When?
Yes, we expect the 3D APIs to be available on mobile platforms, such as Android and Linux Mobile. We expect to work with partners through the Open Screen Project to enable 3D in Flash Player and AIR on devices.
So, it would be great if we have hardware acceleration out there for Flash Lite 4 on Symbian^3 devices prior to the molehill 3D APIs.