Jump to content

Adding children to groups


Recommended Posts

Sorry, I promise these newbie questions will stop soon.


So I'm using Groups as Playfields / Layers / Movieclips ( How ever you want to think of them ) and I'm looking for an addChild like call.


At present I've got a simple sprite, e.g.



this.logo= attractPlayField.create(100, 50, 'logo');
That's all good. But how would I add a child that was part of a spritesheet ? Also, how would I add a button ?
Again, thanks for sticking with me as I go through the teething stage, it will stop I and I'll be able to give something back to the forum I promise :)
Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

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