8DashP Posted March 16, 2014 Report Share Posted March 16, 2014 Just noticed that the z-index is in the object_refs. Is this the z-index for drawing the individual sprite components? Since the painting happens in the timelineKeys, by which time the object_refs are passed, I've had to add the z-index into the Timelinekeys, and do a copy in the keyFromRef() function. Am I missing something here? Russell. Quote Link to comment Share on other sites More sharing options...
lucid Posted March 18, 2014 Report Share Posted March 18, 2014 The object_refs are in the draw order in every mainline key. There might be 3 mainline keys, where a spriteA has only one timeline key for itself, but spriteA changes z order in every mainline key. Quote Link to comment Share on other sites More sharing options...
8DashP Posted March 18, 2014 Author Report Share Posted March 18, 2014 OK thanks. Z_order is the least of my issues at the moment, until I can get the x,y placement of each part correct, but I think that makes sense. Russell. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.