User Tools

Site Tools


en:examples:objects:create_object

Table of Contents

Create Object

Code

orxOBJECT *heroObject = orxObject_CreateFromConfig("HeroObject");

Config

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

en/examples/objects/create_object.txt · Last modified: 2018/02/14 00:47 (6 years ago) by 127.0.0.1