Rojekti
30-09-2007, 11:18 AM
I'll do my best explaining this with my skill of english...
If I do like this;
Draw(sky);
Draw(duck);
Draw(car);
... it should draw sky first, then duck, then car - isn't that so? So the duck and car would be seen ON the sky, and the duck can go BEHIND the car.
But, I notice that it doesn't always work. It draws them quite randomly; sometimes it draws first the duck, then car, then sky, or something.
So, I'm asking; with which principle Asphyre decides when it draws the images? How I can determine when it draws duck and when the sky?
Or is there just something I'm doing terribly wrong :D
If I do like this;
Draw(sky);
Draw(duck);
Draw(car);
... it should draw sky first, then duck, then car - isn't that so? So the duck and car would be seen ON the sky, and the duck can go BEHIND the car.
But, I notice that it doesn't always work. It draws them quite randomly; sometimes it draws first the duck, then car, then sky, or something.
So, I'm asking; with which principle Asphyre decides when it draws the images? How I can determine when it draws duck and when the sky?
Or is there just something I'm doing terribly wrong :D