Basics
  • I don't really understand, how can I create playground some layers and than put some object on it.
    Example (I will use html style, so you will understand what i mean :) ):

    |playground|
    |layer1| |object1/| |object2/| |/layer1|
    |layer2| |object3/| |/layer2|
    |/playground|
  • once you have defined the playground you can simply do:
    $.playground()
    .addGroup("layer1"...)
    .addSprite("object1",...).addSprite("object2",...).end()
    .addGroup("layer2"...)
    .addSprite("object3",...)


    The .end() means don't add the sprites to the group but to the level before that (here the playground).

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!