Methods
-
create_point(value_x, value_y)
-
Creates and returns a new point with the given values.
Check out the third party documentation for a more in depth explanation.Parameters:
Name Type Description value_x
Number the x value of the new point
value_y
Number the y value of the new point
Code Equivalent:
new Phaser.Point(value_x, value_y)
-
get_object_width()
-
Returns the object's width
Check out the third party documentation for a more in depth explanation.Code Equivalent:
variable_name.width
-
input_handler_pointer_over(object)
-
Returns true/false if the pointer is over the object.
Check out the third party documentation for a more in depth explanation.Parameters:
Name Type Description object
object to check
Code Equivalent:
object.input.pointerOver()
-
refresh_pixels()
-
Refreshes the pixel pins.
Check out the third party documentation for a more in depth explanation.Code Equivalent:
RefreshPixels();
-
set_object_width(variable_name, value_name)
-
Set's the given object's width to the chosen amount.
Check out the third party documentation for a more in depth explanation.Parameters:
Name Type Description variable_name
the object to set the width of
value_name
Number the value to set the width to
Code Equivalent:
de;