overlord5 Wrote:kissofthehell Wrote:So whats teh difference to AS3? I think i read something about increased performance i think?
The main difference is classes, they can help us make the code more organized, and because we can refer to objects as an instance of an class instead of the bulky random object we have now, we can skip a lot of checks
Thats it! But of course this is only one of the features!
- Flash CC onwards doesnt support AS2 anymore. Also, Flash CS6, CC and higher can output for other formats (AIR, HTML5...) and then I can even convert to Unity (someday in a far future)...
- Due to the latest versions of Flash IDE, compile times can be as low as 5 minutes!! (so it saves my time and resources!) In AS2, we must use Flash CS6 and earlier, which can compile the game in 50 minutes or more!!
- AS3 is faster than AS2 in almost ALL circunstances, and uses less memory.
- I can change the current game framerate, making Peach get fucked faster or slower, for example.
- A more 'true' OO approach (I can code everything in classes). Although AS2 also supported classes, it wasnt so 'native' and it used tons of 'prototypes', '_' notations (like _root and _global) and many workarounds.
- Third Party classes in AS3 are much more common and updated. So I can quickly add a new camera component, or a FPS benchmark (like 'Show Profile' menu when you right click in the game), I can make 'bubble' effects in music, I can add more synchronized songs (or part of a song tune like DRUMS), I can alter pitch, tempo and other variables.
- More security options, and I can even make the game work only if ran from a given website (I wont need this anyway).
- XML and other 'load/save file' support (natively).
- New methods like currentLabel, that helps me to figure out which current frame the game is playing (like a given scene state).
overlord5 Wrote:The fact that any bug fixing can be done in the current model astonishes me)
Its the practice! I am already 'blessed up' with 'AS2 tricks' since the my medieval era (2011).
overlord5 Wrote:The initial conversion is very direct meaning that the initial version in AS3 will not have much of an impact compared to the current version in AS2
In regard to GAME FEATURES and Graphics, it will be THE SAME. But we may notice a performance boost (or perhaps a bit faster), and fewer bugs. Also, I'll be updating the game much more (due to less time required to compile the game).
overlord5 Wrote:but with time it will be re-writen more intune with the AS3 standard which should give a significant performance boost
Yes. I hope so
![Wink ;)](./images/smilies/icon_e_wink.gif)
overlord5 Wrote:it won't be as fast as if we convert to unity but it should be worth it, and if we do a unity conversion it will be alot easier from AS3 then AS2
Perhaps a plan for 2017?
![Wink ;)](./images/smilies/icon_e_wink.gif)