PEd_ViewportCreate

A function defined in PEd_viewport.gml

PEd_ViewportCreate(_visible, _x, _y, _width, _height, _borderH, _borderV, _speedH, _speedV, _object)

Description

Creates a new viewport.

Arguments

Name Type Description
_visible Bool True to make the viewport visible.
_x Real The x position of the viewport.
_y Real The y position of the viewport.
_width Real The width of the viewport.
_height Real The height of the viewport.
_borderH Real The size of the horizontal border of the viewport.
_borderV Real The size of the vertical border of the viewport.
_speedH Real The horizontal speed of the viewport.
_speedV Real The vertical speed of the viewport.
_object Asset.GMObject, Real The object that the viewport will follow. Use noone for none.

Returns

Id.DsMap The viewport.


Copyright © 2024, BlueBurn. Built on September 03, 2024 using GMDoc.