by skydereign » Wed Apr 29, 2009 1:41 am
Well, not that I think of it, the idea I had to implement using the actual actor is essentially the same thing, the only difference is that using the actual actor would be even harder to understand. Using the actual actor would just add more things to do, as you need to sort zdepth properly. To add the features you want (more than 8, using the actor, replacing blanks/used items, and other), you would have to use an array of sorts to organize them. The use of animpos in my demos is the same thing as using the actor, but instead of creating a sort function and other, you just use numbers within the array. Let me try to explain my code to you, I believe I can make it easy enough to understand. I will be expounding upon not my most recent demo, as you probably don't want to get into structs and wrappers. If after I explain, you still don't get it, I can make the example you want, but I doubt you'd understand the more complex version.