3 Replies Latest reply on Nov 12, 2016 8:46 AM by Colin Holgate

    AS3 or HTML5 for game making with Animate CC




      I want to start game with Animate CC . I'm 2D professional hand drawing animator and I want make my own games in Animate CC .

      I'm almost familiar with AS3 but I heard Chrome drop SWF and I'm really disappointment for it. I want advice :


      Did you recommend I complete switch to HTML5 and Javascript for my games or stay in AS3 for advantages Android and iOS export and of course Stage 3D  ?

        • 1. Re: AS3 or HTML5 for game making with Animate CC
          kglad Adobe Community Professional & MVP

          it depends on your target and what you're trying to accomplish.


          as3/swf is much more powerful and consistent from browser to browser than javascript/html5.


          and as3/air is much more powerful and consistent than browser-based games.


          otoh, if you want to target browser based mobiles, javascript/html5 is you only reasonable option.


          and chrome supports flash player, Enable Flash Player for Chrome

          1 person found this helpful
          • 2. Re: AS3 or HTML5 for game making with Animate CC
            mehrdad155 Level 1

            My target is make easy 2D games for Android , iOS , Desktop and web . Which one have more future and support ? AS3 or Javascript ?

            • 3. Re: AS3 or HTML5 for game making with Animate CC
              Colin Holgate MVP & Adobe Community Professional

              If you're using Adobe Animate you would want to use AS3 for Android and iOS apps, it wouldn't make sense to do it in Javascript and then play the game inside a web view, inside an AIR app. I have had to do that, and it's full of difficulties. For desktop apps you  would also use AS3, in an AIR app. For desktop web you would want to use AS3 and require the Flash Plugin, which most browsers have built in (Chrome, IE, Edge), and ones that don't (Safari and Firefox mainly) can have the plugin installed, if it isn't already.


              If you must have the game work in a browser on mobile, then you have no choice but to use Javascript. You have to give up on some graphical abilities, and also you wouldn't be able to reuse much of your AS3 object oriented code, so it would be a rewrite of the code of the game.


              The least amount of work to make a game in AS3 and Javascript formats at the same time would be to program the game in a non-OOP way, with ActionScript in the timeline, and doing as much as you can using graphics, that don't use any of the special abilities you only get with AS3 documents. Then you ought to be able to go through each script and adjust it to work for Javascript.


              A better approach would be to make the best game you can in AS3, for the mobile and desktop apps, and desktop web, and then reuse as many graphics as possible, but rewrite the code in Javascript, to make a dumbed down version of the game for mobile browsers.


              It's the same team that keeps both ActionScript and Javascript improvements coming along, so they both should have the same amount of future support.

              1 person found this helpful