This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Frame Sequence

 
Koh Khai Huat
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
i would like to find out how u all impelement setFrameSequence ???
please provide me with a example thank you

regards,
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well without actual code I can basically explain.

To create a sequence your image file is a wide rectangle. So if you image by itself is 20x20 and you have 5 frames, the final image would be 20x100. Then you just refer to the leftmost image as the 0 base of the "Array" then you create an array with 5 elements indexed 0-4 and you put in the 5 elements in the order you want your sequence. {0,3,2,4,1} as an example.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic