Quote:
Originally posted by Tyhm
...um. Okay. With my way, one could do the orbiting-moon problem with one line. With your way, it requires hiding and showing two seperate images - because you can't change an image's index, but you can change an image's layer.
|
You can change an image's index easily. Throw all the images into arrays containing the info about their location, image source and virtual layer, then sort them according to that layer and throw them onto the screen. It's not like it's complicated scripting. It'd be a little faster hardcoded, sure, but how often would you need to do something like this? Removing the inbuilt y-order sorting would more than make up for the speed hit in most cases.
Quote:
|
They can both be done my way
|
And, as I explained above, they can both be done Falados' way. His is just a little more efficient. And heck, if somebody can't script a simple system like the one I described above then they have no business calling themselves scripters.