Prior to using director, I arranged my game so that the order would be as follows:
local group1 = newGroup();
-- Insert stuff externally via creating enemies from functions.
local group2 = newGroup();
-- Insert other graphics.
So from my knowledge, group 2 graphics should appear on top of group1 which was the case. This occurred before I implemented director to create a menu for my game.
Then once I tested the game after implementing director, I noticed my groups weren’t functioning properly, i.e. the order was reversed, so as a test I reversed the order, i.e. put group2 above group1 in code and my code worked as I wanted.
Any reason why this would happen? I’m glad it works, but I find it very strange as to why it works.
Edit: Remove the later post, it is identical, I didn’t mean to double post. [import]uid: 116225 topic_id: 21306 reply_id: 321306[/import]