Author Topic: Using atlases for sprite animations  (Read 2799 times)

Spike

  • Guest
Using atlases for sprite animations
« on: November 03, 2012, 01:57:33 PM »
I'm looking for a new GUI system to use in my projects. NGUI looks pretty sweet. I'm just wondering, would I be able to use the atlases for my sprite animations. For example, in my projects I use alot of non-gui game sprites in my scene. Ranging from billboarding and sometimes character animations. My sprites use atlases created by another package. Would I be able to use NGUI's atlases for my sprites? They're basically a plane which plays an animation based on sprites provided in an atlas. I understand NGUI is a GUI system, but is what I'm asking possible? Would I have to write my own non-gui Sprite Animation class? Thanks.
« Last Edit: November 03, 2012, 02:02:52 PM by Spike »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Using atlases for sprite animations
« Reply #1 on: November 03, 2012, 04:02:12 PM »
NGUI has basic sprite animation via UISpriteAnimation class. If you wanted to, you could fairly easily use NGUI to create a more intricate system to suit your needs.