Beta The Game Wiki
Advertisement

A platform is a block that Beta or any other character can stand on. Platforms are a good way to implement structure in your game design. 

You can build columns [ col ] and rows [ row ] of platforms in order to quickly implement large numbers of platforms. 

Building with [ platform ][]

RowPlatform

Once the command 'row platform 0 10 5' is entered, your row of platforms is built!


To add a platform type the following into the terminal:

add platform

To add a column [ col ] of platform's type:

col platform 0 10 5

To add a row of platform's type:

row platform 0 10 5

What are those numbers in the 'col' and 'row' commands?

The 0 10 5 in the [ col ] and [ row commands are 'x y length'. The 0 is for the starting x point, the 5 is the starting y point, the 10 is for length


Customizing a [ platform ][]

You can use the [ get ] and [ set ] commands to get and set all your platform characteristics. Here's an example of using the [ set ] command to change the angle, height, width, and skin of your platform:

set platform1_1 angle:60 height:210 width:140 skin:redBlock

[ get ] and [ set ] are very important to know in order to customize your game design, make sure to read our wiki entries about them in the codePop library section. 

Running a [ get ] shows you 32 characteristics of a platform that you can change. These are listed below: 

active allowRotation
alpha angle
blendMode bodyType
bounce bumpForce
bumpable callbacks
classCollisionsOn collisions
collisionsOn density
dynamicFriction gravMass
graveMassMode gravMassScale
height magnetic
mass name
rollingFriction skin
staticFriction team
velocityX velocityY
visible width
x y
Advertisement