arrays/lists with animsprite
Posted: Sun Apr 23, 2006 10:38 pm
I am using the animsprite lib for my animation (kicks ass by the way), its saving me lots of time but I want to load my sprites a little more dynamically. As far as I know the only way to create animsprites is to use unique variable names
What I'm trying to acheive is something more like
I'm running into syntax errors with a few really simple tests using the above methods. Does any one want to share the correct way of doing this?
Thanks
Code: Select all
CreateAnimSprite(Name.AnimSprite, 1, 75, 75)
Code: Select all
CreateAnimSprite(Array(1).AnimSprite, 1, 75, 75)
Or
CreateAnimSprite(List()\ID.AnimSprite, 1, 75, 75)
Thanks