A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [AS3] Tweener for game loops?

  1. #1
    Member
    Join Date
    Jan 2009
    Location
    Texas
    Posts
    75

    [AS3] Tweener for game loops?

    I just found Tweener at google (yah...my world has been rocked) and I'm wondering, is this thing useable in game loops or is it faster to just update your own properties in your code loops?

    But for interface stuff...wow.

  2. #2
    Senior Member
    Join Date
    Jan 2008
    Location
    UK
    Posts
    269
    Shouldn't be a problem used in-game. I imagine the class just does basic numerical work, which as3 handles pretty well, so I don't honestly think you'll notice any loss in performance by using it. I've used far more complex mathematical classes (box2d, pv3d for example) which just fly along! Any potential bottlenecks in performance usually revolve around rendering ... which Flash is obviouly not that great at due to the lack of hardware acceleration.

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