-
Notifications
You must be signed in to change notification settings - Fork 1
Static
number zIndex
The rendering order of the object
Vector2 size
The object size in the workspace
Inherited from BaseClass:
string class [read-only]
A read-only string representing the object class name
string name
Is the object name, can be used to identify multiple objects with the same class
number rotation
The object rotation at an angle
boolean loaded [read-only]
Returns if object is fully initialized
boolean canCollide
If object can collide with other objects
boolean visible
If object should be rendered
Vector2 position
The object position in the workspace
Inherited from BaseClass:
dictionary setParallax(Vector2 tileSize)
Returns a dictionary with 2 functions:
void rotate(Vector2): rotates the image
void disable(): disables the parallax mode
BaseObject extend(string className, table properties)
Can be used to create a new class
Retruns if object has a tag(tagName)
Sets a tag(tagName) to the object
Removes the object tag(tagName) from the object
void destroy()
Destroys the object
void applySymmetry()
Applies symmetry to the object
void fire(eventName)
Fires event(eventName) in the object
Inherited from BaseClass:
UEScriptConnection destroyed()
Fired when the object is destroyed
UEScriptConnection loaded(boolean isLoaded)
Fired when a object is fully initialized
UEScriptSignal changed(string propertyName)
Fired when a property is changed in the object, propertyName is the property that has been changed
UEScriptSignal collision([BaseObject]((https://github.com/NotReux/UpsideEngine/wiki/BaseObject) hit)
Fired when a collision is detected in the object, doesn't fired if canCollide is disabled, hit is the object with which it collided
UEScriptSignal collisionEnded([BaseObject]((https://github.com/NotReux/UpsideEngine/wiki/BaseObject) hit)
Fired when a object finishes colliding with the object, hit is the the object with which it finishes colliding
Wiki by Lopy