Roblox
Game Dev
By: Mr Farhan
Object Orientation
In Roblox, objects exist inside other objects.
Explorer
- A Roblox game is made of objects. Press Next to look inside them →
- This is the Workspace: one big object that holds everything you can see in the game.
- Open it up! Inside it are two more objects: the Baseplate and the Player.
- The Player has objects inside it too: a head, a torso, two arms and two legs.
- Even the head has an object inside: the Face. Objects inside objects inside objects!
- The object on the outside is the parent. The objects inside it are its children.
- Your turn! Click an object in the Explorer, or in the game, to find it 🔍
Properties
Every object in Roblox has properties.
Properties
Color
Material
Size
Weight
- This is a part. Press Next to change its properties one at a time →
- Color paints the whole part.
- Material is what the part is made of. Now it is made of brick!
- Height is how tall the part is. Roblox measures in studs.
- Size is three numbers together: the width, the height and the length.
- Weight comes from the size and the material. Metal is heavy! (Roblox calls it Mass.)
- Your turn! Drag the sliders, then pick a colour and a material 🎚️
From 2D to 3D
An axis is a direction that a part can move in.
Position
View
Numbers
Position
X
Y
Z
- This square lives in a flat world. Press Next to see how it can move →
- The X axis goes left and right.
- Change X and the square slides sideways. Now X is 4.
- The Y axis goes up and down.
- Change Y and the square climbs. Two axes make a flat world: 2D.
- Now turn the camera. The square is as thin as paper!
- The Z axis goes forward and back. The square pops out into a cube!
- Change Z and the cube slides towards you. Three axes make 3D.
- Position is three numbers together: X, Y and Z.
- Your turn! Drag the sliders, then flip between 2D and 3D 🎮