renaun Posted September 13, 2013 Share Posted September 13, 2013 For those times you have existing ActionScript code and want to try it on WebGL. Currently works best with Starling based games. Here is a demo:http://renaun.com/html5/randoristarlingtest/hero.html Summary is using Randori Compiler, KontikiJS, and Starling you can take your games to WebGL / HTML5. Its basically like a TypeScript type workflow but in ActionScript. KontikiJS – https://github.com/renaun/KontikiJSRandori Compiler (my fork) – https://github.com/renaun/randori-compilerRandori SDK – https://github.com/RandoriAS/randori-sdkStarling-Framework (my fork with minor changes) – https://github.com/renaun/Starling-FrameworkHungryHero AS3 Sample Code – https://github.com/renaun/RandoriExamples/tree/master/HungryHeroJS More info here:http://renaun.com/blog/2013/09/cross-compiling-your-actionscript-starling-games-to-webgl-and-javascript/ In theory if you have AS3 game frameworks you could conceivably create JavaScript versions with this process. All outputted code is very readable and easy to edit. Since its compiled if you have all source it will only compile what you need, then with closure and min you get a pretty compact JS version of your game and framework code. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.