PlayScript, AS3 on steroids, powered by Mono

PlayScriptZynga released this week an open-source project called PlayScript, allowing ActionScript 3 developers to target mobile platforms leveraging the Mono runtime. For the context, Mono is an open-source implementation of the .NET runtime, with support for C#, F# and other languages. You want to develop or reuse a library developed with these languages? Like an AI library using beautiful F#? No problem. (F# anyone?)

Mono, allows you to target mobile platforms through static compilation of your code to native, for info, Mono is the runtime powering Unity and the Xamarin offering for application development.

Zynga created the appropriate bindings so that Stage3D can be used, which allows you to use libraries like Starling, Feathers with it and run your Stage3D code untouched, but don't expect to see the whole Flash runtime libraries to be there, but if you are a game developer, you should be all set. Also, by using PlayScript (AS3 on steroids) you can leverage additional types that the Mono runtime gives you that would also find in C#, like float, short, byte and more.

Cherry on top, Mono gives you access to multithreading, fast packaging times for mobile platforms, and native code integration. An experimental backend is also available to target JavaScript. But given that Mono relies on CIL behind the scenes, you could also probably hook that up with JSIL, another exciting project.

Anyway, go check it out. This is great stuff.

Comments (19)

  1. Mehmet wrote:

    Please increase your blog font-size

    Friday, April 5, 2013 at 11:09 pm #
  2. zuzzu wrote:

    Wow, that’s awesome! Thanks for sharing!

    Friday, April 5, 2013 at 11:19 pm #
  3. Thibault Imbert wrote:

    Hi Mehmet,

    Done! ;)


    Friday, April 5, 2013 at 11:27 pm #
  4. Pulkit wrote:

    Which mobile OS can be targeted?

    Saturday, April 6, 2013 at 2:59 am #
  5. Mick wrote:

    Please change the your blog background-color to purple.


    Saturday, April 6, 2013 at 3:26 pm #
  6. Gil Amran wrote:

    Sounds like NME to me.

    Saturday, April 6, 2013 at 4:49 pm #
  7. Thibault Imbert wrote:

    Aha Mick, done.


    Saturday, April 6, 2013 at 5:37 pm #
  8. Thibault Imbert wrote:

    Hi Pulkit,

    You can target pretty much everything. iOS, Android, Windows 8, and many consoles (Vita, Xbox, etc)


    Saturday, April 6, 2013 at 5:40 pm #
  9. With all the AIR doomsday talk of recent, this announcement by Zynga couldn’t have come at a better time. It definitely gives myself (primarily an as3 developer) confidence in my current approach. It is an unexpected gift from Zynga who has been under a lot of scrutiny lately. Well done to them.. maybe i’ll get a coffee mug.

    Thibault, good to see that you are still sharing as3 news with us thought you are now part of the html5 team.

    Sunday, April 7, 2013 at 3:29 am #
  10. Thibault Imbert wrote:

    Hi John,

    Sure, I think Zynga did a great job at this and a pretty cool move to open source it. I will follow the project’s progress with attention.


    Monday, April 8, 2013 at 10:56 am #
  11. Earl Sima wrote:

    So,somehow, using the Palyscript runtime, I can take advantage of some libraries from C#, and publish my project for mobile devices.
    Quite confuseing, Xamarian, Zynga, JSIL, all these are quite new for me.

    Thursday, April 18, 2013 at 7:26 pm #
  12. chakas3 wrote:

    Realy good news , did you do anything to help zynga to make this Language

    Friday, April 19, 2013 at 4:52 pm #
  13. tristratos wrote:

    Flash is dying and adobe just refused to take an act!

    Unity is off flash board and adobe should wonder what’s next…

    Wednesday, April 24, 2013 at 10:50 pm #
  14. Can Playscript export easily to browser?

    Thursday, April 25, 2013 at 9:53 pm #
  15. xator wrote:

    OpenFL, AS3 on steroids, powered by Haxe!

    Wednesday, June 26, 2013 at 9:33 pm #
  16. Radu wrote:


    Wednesday, July 10, 2013 at 1:32 am #
  17. Senthil Kumaran wrote:

    When Adobe going to release Web Virtual Machine?

    Friday, August 2, 2013 at 1:19 pm #
  18. The playscript git repos have been taken down for some reason. Any idea why that might be?

    Thursday, January 2, 2014 at 11:06 pm #
  19. radu wrote:

    Wednesday, March 26, 2014 at 5:50 pm #