User Tools

Site Tools


en:examples:objects:object_with_children

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

en/examples/objects/object_with_children.txt · Last modified: 2018/02/14 00:47 (4 years ago) (external edit)