Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I want to develop a 2D game for Android, but, I want to use Flash Platform's framework APIs, ex: Sprite, Shape, Graphics, Bitmap .. etc as I have already wrote my game in AS3 ..

Is there a 2D engine for Android that uses Flash Platform's framework APIs?

If not, does Unity use Flash Platform's framework APIs?

I know that I can Adobe AIR to port the game to android, but, I want it a native code based to avoid Adobe AIR player as a requirement ..

Any guidance?

share|improve this question
add comment

closed as off-topic by Byte56 Aug 25 '13 at 15:10

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions that are about "which tech to use" are outside the scope of the site. For more information, see this meta post" – Byte56
If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

up vote 0 down vote accepted

There is the brand new http://www.openfl.org/.

It uses the language Haxe which is based off of AS3 (the only difference I found is that constructors must be called new and not the class's name). It's great because it compiles to Android, iOS, blackberry, flash, html5, windows, max, and linux. :D

When it compiled to Android it converts the Haxe files to C++ and then uses the NDK to bind everything together. It is HIGHLY optimized so the speed of Haxe generated code is very comparable to code written by hand.

A few popular flash game engines have been ported over as well. eg. (HaxePunk port of FlashPunk and haxe-flixel port of flixel).

For windows the best IDE for it is flashdevelop hands down. For linux it's vim with some plugins and I'm not sure for mac (sorry)

The website for the haxe language is here http://haxe.org/

share|improve this answer
    
As for openfl, dose it use flashplatform names? like sprite, addChild, Bitmap .. etc? –  simo Aug 25 '13 at 13:56
    
Wow, I just found that it implements original flash name packages, that's just a relief! –  simo Aug 25 '13 at 14:02
    
What exactly is the relationship between OpenFL and NME? –  ashes999 Aug 25 '13 at 14:22
1  
@ashes999 if you look at the blog on openfl.org there is a video and he explains it in detail there. Basically NME was a low level library for graphics in haxe. Basically OpenFL is a more professional and organize evolution of NME. For the most part it's the same, but now the team behind it is more organized. They will be rolling out more updates and adding more features so that one day OpenFL will replace flash all together... hopefully. –  thecodethinker Aug 25 '13 at 14:58
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.