Dynamic Texture Atlas by Epul

582 views
411 views

Published on

Published in: Education, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
582
On SlideShare
0
From Embeds
0
Number of Embeds
47
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Dynamic Texture Atlas by Epul

  1. 1. @agatestudio Dynamic Texture (Atlas) M Saepul Knight Agate Studio
  2. 2. Dynamic Texture Atlas M Saepul Ramdani
  3. 3. Overview • About: Creating texture atlas from existing flash’s MovieClip • How it works • Usage • Demo
  4. 4. How it works MovieClip [Loop] children Draw bitmapdata Get Bound XML Bitmap TextureAtlas
  5. 5. Important • Every display object should be named
  6. 6. Usage • DynamicAtlas. fromMovieClipContainer(Sprite, scale, padding, preserveColor, checkBounds); • Sprite: MovieClip Instance • scale : assets scaling • padding : the amount of pixel between image • preserveColor : A Flag which indicates if the color transforms should be captured or not • checkBounds : A Flag used to scan the clip prior the rasterization in order to get the bounds of the entire MovieClip
  7. 7. Demo
  8. 8. That’s all, yay • Any question?

×