Beta The Game Wiki
Advertisement
Screen shot 2014-01-23 at 2.31

Here we've used setAll to change all platforms to 210. setAll platform height:210

The [ setAll ] package

The [ setAll ] package is a very powerful one. With this command, you can change all specified objects  in your level with just one line. Suppose you want to change the height of all your platforms. Here is the way you could form the [ setAll ] package:

setAll platform height:210

Et voila! All of your platforms now have a height of 210, where previously they were 70.

Here are some more examples of the [ setAll ] command:

setAll spring bounce:10
setAll spike angle:90
setAll actor skin:tron

Remember that you can structure the [ setAll ] to change any option that you find using the [  get ] package.

See also:

get

getAll

set

Advertisement