Resources (4)

sprite_trim(sprite,subimg)
description : Script for GM:Studio.
Remove the pixels with alpha 0 from the borders

Returns a new sprite or -1 for error.

Insert by Tizsoft in 2015-07-12 11:15:46.

room_get_list()
description : This code can be useful if you have to set the views to all rooms, i.e. with "room_set_view".

-- EDIT --- by TizSoft
Now the the snippet returns a ds_list containing all rooms

Insert by Nocche93 in 2013-05-12 10:07:06.

object_get_id(name)
description : get the id of the object with the given name.
If object does not exists returns -1;

Insert by Tizsoft in 2013-03-18 17:46:30.

room_get_id(name)
description : returns the id of the room with the given name

if the room does not exists, returns -1

Insert by Tizsoft in 2013-03-16 14:01:04.

Go to page: [1]