com.theoworlds.builder.lib.LibraryItem

if we need variations of the same symbol (map object), for example a chair -- make a version of this chair that is sittable and another that is not, we can do it in two different ways: 1 -- we can create two librariy items (symbols) that look the SAME (point to the same SWF file), but have one single (or more) different attributes

2 -- overwrite the default library attributes in the XML of the map the library ones being the default values.  In this case we may also edit those attributes in the Map Editor

At least we should show those attributes from the library as read--only in the Map Editor

Summary
com.theoworlds.builder.lib.LibraryItemif we need variations of the same symbol (map object), for example a chair -- make a version of this chair that is sittable and another that is not, we can do it in two different ways: 1 -- we can create two librariy items (symbols) that look the SAME (point to the same SWF file), but have one single (or more) different attributes
Variables
ID
url
animation
stackable
elevation
walkable
framesNumber
objectShape
registrationTile
selectable
speed
actions
layers

Variables

ID

var ID: Number

url

var url: String

animation

var animation: Boolean

stackable

var stackable: Boolean

elevation

var elevation: Number

walkable

var walkable: Boolean

framesNumber

var framesNumber: Number

objectShape

var objectShape: String

registrationTile

var registrationTile: String

selectable

var selectable: Boolean

speed

var speed: Number

actions

var actions: Object

layers

var layers: XMLNode
var ID: Number
var url: String
var animation: Boolean
var stackable: Boolean
var elevation: Number
var walkable: Boolean
var framesNumber: Number
var objectShape: String
var registrationTile: String
var selectable: Boolean
var speed: Number
var actions: Object
var layers: XMLNode
Close