Quick Links: Gideros Home | Download Gideros | Developer Guide
Absence of scene tree hierarchy - Gideros Forum
Absence of scene tree hierarchy
  • Is it possible to create sprites which have the same level of hierarchy within a scene?
    I'm trying to create a "Jewels" like game in which similar kind of objects can be removed when matched. How can I implement this if each new object has a different hierarchy?
  • Hello,

    There's a Hierarchy example included with Gideros

    It's basically this...
    group1 = Sprite.new()
    group2 = Sprite.new()
     
    group1:addChild(Bitmap.new(Texture.new("group-1.png")))
    group2:addChild(Bitmap.new(Texture.new("group-2.png")))
     
    stage:addChild(group1)
    stage:addChild(group2)


    Cheers

    evs

Howdy, Stranger!

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

Login with Facebook Sign In with Google Sign In with OpenID

In this Discussion

  • evs March 2012

Top Posters