Fun with code (since 2006)

PlayScript, AS3 on steroids, powered by Mono


04.05.13 Posted in Actionscript 3 by

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.



19 Responses to “PlayScript, AS3 on steroids, powered by Mono”

  1. Mehmet says:

    Please increase your blog font-size

  2. zuzzu says:

    Wow, that’s awesome! Thanks for sharing!

  3. Thibault Imbert says:

    Hi Mehmet,

    Done! ;)

    Thibault

  4. Pulkit says:

    Which mobile OS can be targeted?

  5. Mick says:

    Please change the your blog background-color to purple.

    Thanks,
    Mickael

  6. Gil Amran says:

    Sounds like NME to me.

  7. Thibault Imbert says:

    Aha Mick, done.

    Thibault

  8. Thibault Imbert says:

    Hi Pulkit,

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

    Thibault

  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.

  10. Thibault Imbert says:

    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.

    Thibault

  11. Earl Sima says:

    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.

  12. chakas3 says:

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

  13. tristratos says:

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

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

    http://techcrunch.com/2013/04/24/flash-takes-another-step-towards-death-as-unity-drops-support/

  14. Can Playscript export easily to browser?

  15. xator says:

    OpenFL, AS3 on steroids, powered by Haxe!

  16. Radu says:

    LOVE FLASH!

  17. Senthil Kumaran says:

    When Adobe going to release Web Virtual Machine?

  18. Kevin Newman says:

    The playscript git repos have been taken down for some reason. Any idea why that might be?

Leave a Reply

Open Sort Options

Sort comments by:
  • * Applied after refresh

ByteArray.org
Fun with code since 2006.