tile_geometry

tile_geometry

The geometry namespace is a particular namespace that is contained in several objects like images, sprites, polygons, etc.
Properties:
Name Type Description
x number The horizontal position (in pixels)
y number The vertical position (in pixels)
scroll_factor_x number The horizontal scroll factor (in percentage): the multiplicative factor of which the element move with the camera.
scroll_factor_y number The vertical scroll factor (in percentage): the multiplicative factor of which the element move with the camera.
Source: