Classes

Concepts

Libraries

advertisement »

ambientSounds »

bitser »

contentPoints »

eventBoxText »

factValidity »

frameBuffer »

officeBuildingInserter »

priorityRenderer »

randomEvents »

scaling »

spritesheetParser »

statusIcons »

test3 »

util »

Objects

ui_hor

Description

Scales the provided value bye the "ui_hor" scaler. The exact formula is: value * (screenWidth / 1280)

Arguments

1 number value

the value to scale.

Returns

1 number

the scaled value.