Jump to content

Parent display objects and their possible children? Graphics in Group, Sprite in Sprite?


tackle
 Share

Recommended Posts

I'm trying to figure out what the possible parent-child situations are for the following object types:

Game, Group, Sprite, Graphics

 

This I know:

- Game can contain Groups, Sprites and Graphics.

- Groups can contain Sprites.

 

Unsure of:

- Can Sprites contain other Sprites?

- Can a Group contain a Graphics object?

- Can a Sprite contain Graphics?

- Can a Group have inner Groups?

- What can a Group have as parent, if not only Game?

 

I'm trying to design a little pause-menu and I'm switching back and forth between object types to be the actual menu.

I thought Group would be the best, but it seems I cannot have a "lightbox-ish" semi-transparant black background Graphics in it to cover up my game area.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...