First Poster
by Sean T. Boyette · in Torque X Platformer Kit · 06/20/2007 (4:06 pm) · 3 replies
LOVE THE KIT!
Thanks for all of the hard work.
With a question -
so one thing that I have noticed is that the images in the platform kit for animation are all the same size (dim wise for each cell) would adding an offset for each anim be the best approach in the component?
Thanks for all of the hard work.
With a question -
so one thing that I have noticed is that the images in the platform kit for animation are all the same size (dim wise for each cell) would adding an offset for each anim be the best approach in the component?
About the author
#2
06/22/2007 (2:10 pm)
@Sean - I'm not sure what you mean. Each cell doesn't have to be the same size across different animations (run vs idle or whatever) but for best performance and generally (to look good/not alias in weird ways) they should be. They do have to be the same x to y ratio and they should be centered the same, but there are ways engine-side to work around that if you're looking to optimize texturespace usage (namely, clipping empty borders and shifting tex coords... it's kinda complicated to implement and it's generally not worth it unless you have hundreds of different animations.. or your animation sheets ar getting huge).
#3
Sorry about the vagueness - I had some SpriteSheets getting huge (2048 is the limit right) and was wanting to maximize the spritesheets. So I was going to add a scale offset - but thought it would just be a pain to try to figure each one out.
Love the kit so far!
06/22/2007 (9:21 pm)
Thomas, Sorry about the vagueness - I had some SpriteSheets getting huge (2048 is the limit right) and was wanting to maximize the spritesheets. So I was going to add a scale offset - but thought it would just be a pain to try to figure each one out.
Love the kit so far!
Torque 3D Owner jydog
ExcellANT Adventures
An it looks good. Should be worth the wait.