A Flash Developer Resource Site

Page 2 of 2 FirstFirst 12
Results 21 to 24 of 24

Thread: [as3] Sprites, sprite sheets, animations, displays

  1. #21
    Developer
    Join Date
    Apr 2007
    Location
    UK
    Posts
    324
    A very nice and detailed post. I was going to post something similar on my new blog (but nowhere near as detailed or useful). Im sure that will be very helpful to many a Flash game developer

  2. #22
    Senior Member tonypa's Avatar
    Join Date
    Jul 2001
    Location
    Estonia
    Posts
    8,223
    For the purpose of pure speed OOP is bad. Accessing local variable is always faster then accessing public variable in some other class. And of course accessing variable in other class through method (or set method) is up to 10 times slower then using public variable in that class.

    Note: 10 times slower when comparing Number, 2.5-3 times slower for Array.

  3. #23
    SaphuA SaphuA's Avatar
    Join Date
    Oct 2002
    Location
    The Netherlands
    Posts
    2,182
    That's quite odd actualy, since it should only return a refference.

    But speed isn't realy what we're aiming for. I'm looking for a general way to simplify development of games in AS3.

  4. #24
    Senior Member tonypa's Avatar
    Join Date
    Jul 2001
    Location
    Estonia
    Posts
    8,223
    I was mentioning speed because the thread had once again turned into speed testing. Game engine that is easy to use, understand and expand commonly means it is not fastest.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center