Object Types
- Blocks
- GoodBlock
- GoodStarBlock
- BadBlock
- BadStarBlock
- NeutralBlock
- ExplosiveBlock
- BalloonBlock
- SlipperyBlock
- BouncyBlock
- SolidStatic
- SlipperyStatic
- BouncyStatic
- Block Stacks
- GoodBlockStack
- GoodStarBlockStack
- BadBlockStack
- BadStarBlockStack
- NeutralBlockStack
- ExplosiveBlockStack
- BalloonBlockStack
- StartCircle
- Spawner
- Text
- ScoreGoal
Properties
- Common Properties
- X
- Y
- W
- Width of the object
- H
- Height of the object
- Rotation
- Sets the Objects rotation around its center point
- Default: 0
- Valid Values: -360 to +360
- Friction
- Friction affects how slippery an object is. Lower friction equals very slippery.
- Default: 0.2
- Valid Values: 0 to 1
- Density
- An objects weight is determined by its size and its density.
- Default: 1
- Valid Values: 0 to Infinity
- Awake
- An object that is Awake is affected by gravity. If you want the object to be affected by gravity as soon as the level starts, set Awake to True.
- Default: false
- Valid Values: True or False
- XVelocity
- This is the starting velocity in the X direction
- Default: 0
- Valid Values: negative infinity to positive infinity (-10, 0, 25, etc)
- YVelocity
- This is the starting velocity in the Y direction
- Default: 0
- Valid Valudes: negative infinity to positive infinity (-10, 0, 25, etc)
- Radius
- If you set this, the Width and Height variables will both be set to this value. This is basically just an easy way of setting the width and height.
- Text Properties
- Scale
- Affects the Size of the Text.
- Default: 1
- Valid Values: Anything greater than 0 (0.75, 0.8, 2.1, etc)
- Align
- Sets the Horizontal alignment of the text around the X position.
- Default: Center
- Valid Values: Left, Center, Right
- VAlign
- Sets the Vertical alignment of the text around the Y position.
- Default: Middle
- Valid Values: Top, Middle, Bottom
- Block Stack Properties
- BlockWidth
- Default: 3
- BlockHeight
- Default: 3
- OffsetOddRows
- Default: true
- Spawner Properties
- XRange
- Default: 0
- YRange
- Default: 0
- XVelocityRange
- Default: 0
- YVelocityRange
- Default: 0
- Lifetime
- The time in milliseconds that each spawn object lives for.
- Default: 2000
- ScoreGoal Properties
- Star1
- Default: 100
- Star2
- Default: 125
- Star3
- Default: 150
- RevoluteJoint Properties
- RevoluteJoint
- Enables the setting of a Revolute Joint on the Brick/Object
- Default: false
- Valid Values: true or false
- RevoluteJointBodyX
- X Position of the Joint in relation to the center of the Brick/Object
- Default: 0
- Valid Values: Any number
- RevoluteJointBodyY
- Y Position of the Joint in relation to the center of the Brick/Object
- Default: 0
- Valid Values: Any number
- MotorEnabled
- Enables the motor. Must set this to true for the motor to work.
- Default: false
- Valid Values: true or false
- MaxMotorTorque
- I believe the higher this value is the more strength the motor has against objects that try to stop it from turning.
- Default: 15000
- Valid Values: Any positive numbers
- MotorSpeed
- I believe this is the speed at which the motor should be spinning. This is in radians. 3.14159 equals rotate fully one time per second.
- Default: 3.1415926
- Valid Values: 0-infinity
- CollidesWithStatic
- Set this to false on rotating stuff to ensure it does not collide with a static block.
- Default: true
- Valid Values: true or false
Leave a Reply