DeprecatedBlocks

DeprecatedBlocks

These blocks are no longer used in the most updated version of DragonDrop.

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()

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()

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;