The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.

How complicated is ActionScript?

DrezDrez Registered User regular
I wasn't sure if I should post here or H/A but...well, I'll try here.

I'm thinking of learning ActionScript. I'm not what you would call a savvy animator, but I have a decent programming background (I know how to write loop-the-loops and pointer at people and I'm being facetious but I'm a decent programmer really).

I'm also a fairly quick study. I know it's hard to quantify without really knowing me, but how long might it take to learn robust game-oriented programming with ActionScript from scratch? How complex/daunting of a language is it?

My goal is to help someone else turn their idea for a turn-based game into a flash-oriented one. Logic isn't really a big deal but I have zero experience with programming graphics and whatnot.

Switch: SW-7690-2320-9238Steam/PSN/Xbox: Drezdar
Drez on

Posts

  • shadydentistshadydentist Registered User regular
    edited April 2010
    Not very. Actionscript obeys most programming language conventions. If you know java, its not too hard of a switch. Everything in flash is labeled as an object, with the class functions already available to you.

    shadydentist on
    Steam & GT
    steam_sig.png
    GT: Tanky the Tank
    Black: 1377 6749 7425
  • DrezDrez Registered User regular
    edited April 2010
    Not very. Actionscript obeys most programming language conventions. If you know java, its not too hard of a switch. Everything in flash is labeled as an object, with the class functions already available to you.

    Cool. I'm semi-familiar with Java's syntax, but it's not much different from other OOP. How animation savvy must I be? basically this would be a turn-based game so I'm assuming it would be less difficult than something that's real-time action based, right?

    Drez on
    Switch: SW-7690-2320-9238Steam/PSN/Xbox: Drezdar
  • shadydentistshadydentist Registered User regular
    edited April 2010
    What do you mean by animation savvy? The nice thing about Flash is that animation is handled separately from from the code, but is frame-controllable by the code.

    shadydentist on
    Steam & GT
    steam_sig.png
    GT: Tanky the Tank
    Black: 1377 6749 7425
  • JasconiusJasconius sword criminal mad onlineRegistered User regular
    edited April 2010
    If you are asking these questions then you have a lot of work ahead of you.

    "Complicated" is relative, and when you say robust I think about seriously designed object oriented app design which is... pretty hard, even for a good programmer just working by himself.

    You'd be surprised how complicated programming can get.

    The thing about Actionscript is that it's extremely easy to get basic animation functionality, and this fools a lot of people into thinking that they are good with it. As a result, there are a lot of AS programmers in the world who write slow as shit software that ends up not performing that well when scales up to game-sized code.

    In terms of animation savvy... it depends entirely on what type of animations. There are two basic ways of doing animation in Flash. You can either make MovieClips and keyframe your animations, then control the display of the clip programatically, of you can literally program animation which is harder but, if done properly, easier to maintain (not very good for sprite animation though).

    As far as AS3 in general... it is more complicated than javascript but far less complicated than java.

    Jasconius on
    this is a discord of mostly PA people interested in fighting games: https://discord.gg/DZWa97d5rz

    we also talk about other random shit and clown upon each other
  • ಠ_ರೃಠ_ರೃ __BANNED USERS regular
    edited April 2010
    Also if this is just a quick one off thing, great.

    But recognize Flash is dying, and learning ActionScript now would be a waste of time for the most part. In a few years, we will be speaking of Flash in past tense only.

    ಠ_ರೃ on
  • DigDug2000DigDug2000 Registered User regular
    edited April 2010
    ಠ_ರೃ wrote: »
    Also if this is just a quick one off thing, great.

    But recognize Flash is dying, and learning ActionScript now would be a waste of time for the most part. In a few years, we will be speaking of Flash in past tense only.
    Except its being replaced by... ECMAScript which is... ActionScript without a few special events, objects, etc. Most of which could be replicated if you found the right Javascript toolkit (or wrote your own).

    DigDug2000 on
  • JasconiusJasconius sword criminal mad onlineRegistered User regular
    edited April 2010
    ಠ_ರೃ wrote: »
    Also if this is just a quick one off thing, great.

    But recognize Flash is dying, and learning ActionScript now would be a waste of time for the most part. In a few years, we will be speaking of Flash in past tense only.

    Ignore this person because he has no idea what he is talking about.

    1) Because it will be around much longer than 3 years in some form by any number of means that he hasn't even begun to consider

    2) Actionscript 3 is based on language standards that echo or exist within several other languages, thus, learning it will translate well to other things including Javascript.

    Jasconius on
    this is a discord of mostly PA people interested in fighting games: https://discord.gg/DZWa97d5rz

    we also talk about other random shit and clown upon each other
  • ಠ_ರೃಠ_ರೃ __BANNED USERS regular
    edited April 2010
    Ignore the above two posters.

    If you want to be more futureproof, go for Javascript. JavaScript isn't some simple little script language, it's a full and powerful programming language and you will be surprised with what it can do.

    JavaScript pretty much is ECMAScript, implemented by Mozilla.

    You could learn Actionscript and then translate to Javascript, but personally I suggest skipping the middle step and going straight for Javascript. Flash will certainly not be around more than 3 years.

    ಠ_ರೃ on
  • JasconiusJasconius sword criminal mad onlineRegistered User regular
    edited April 2010
    Billion dollar corporation Adobe evaporates banner technology overnight

    Jailed forumer singularly predicts downfall, hailed as hero

    Jasconius on
    this is a discord of mostly PA people interested in fighting games: https://discord.gg/DZWa97d5rz

    we also talk about other random shit and clown upon each other
  • ಠ_ರೃಠ_ರೃ __BANNED USERS regular
    edited April 2010
    see with a little ambition just what we can become here

    ಠ_ರೃ on
  • Apothe0sisApothe0sis Have you ever questioned the nature of your reality? Registered User regular
    edited April 2010
    I don't think it likely that Flash is dying. Flash, qua Flash, MAYBE, given that there are a whole range of competing and better integrated and feature complete technologies on the way (from HTML5 to the true coming of age of JS alternatives). But Adobe is pretty comprehensively expanding AS in as open a way that an company so stuck in the old ways knows how.

    It would be GOOD if it was standardised and opened up to be an implementation of javascript with extra libraries or something but it's going to be around for a while in some form or other.

    Apothe0sis on
  • Alistair HuttonAlistair Hutton Dr EdinburghRegistered User regular
    edited April 2010
    Apothe0sis wrote: »

    It would be GOOD if it was standardised and opened up to be an implementation of javascript with extra libraries or something but it's going to be around for a while in some form or other.

    That possibility disappeared when ECMAScript 4.0 was shot down by various self-interested parties.

    Alistair Hutton on
    I have a thoughtful and infrequently updated blog about games http://whatithinkaboutwhenithinkaboutgames.wordpress.com/

    I made a game, it has penguins in it. It's pay what you like on Gumroad.

    Currently Ebaying Nothing at all but I might do in the future.
  • JasconiusJasconius sword criminal mad onlineRegistered User regular
    edited April 2010
    AS3 and JS will never be merged. I wouldn't want that anyway.

    Just because the syntax is the same says nothing about the internals.

    Now, AS2 could stand a chance at that.. they have much more in common, including the proliferation of dynamic objects. But Adobe doesn't want to perpetuate AS2, so far as I can tell.

    Jasconius on
    this is a discord of mostly PA people interested in fighting games: https://discord.gg/DZWa97d5rz

    we also talk about other random shit and clown upon each other
Sign In or Register to comment.