As some of you may already know I have embarked on an epic quest to create an animated frame. Thanks to the help of the community I now have the power ( but not neccessarily the ability) to encode the frames using the AnimateTexCoords () function. I will be the first to admit that my grasp of lua is tenous to say the least. Not wanting to cause myself hours of irritating attempts to plug in values and hope for the best I come to you noble encoders.
I'll start with something simple the basis of the function.
function AnimateTexCoords(texture, textureWidth, textureHeight, frameWidth, frameHeight, numFrames, elapsed, throttle)
this is the part that you expose my lack of skills...
texture is texture name, texture width and height are just that in pixels, the same going for frame, numframes is the number of frames, and elapsed is the time that it takes to run the animation, but what is throttle? that is the question that utterly vexes me.
hopefully I at least got the first part right if not feel free to correct me
thanks again community and I will be sure to credit everyone who helps with code in the final release.