Table of Contents

Object with Children

Code

orxOBJECT *heroObject = orxObject_CreateFromConfig("HeroObject");

Config

[HeroObject]
Graphic  = HeroGraphic
Position = (320, 200, 0)
ChildList = HeroChildObject
 
[HeroChildObject]
Graphic = HeroGraphic
Position = (20, 20, 0)
 
[HeroGraphic]
Texture = hero.png