Image Editor
Posted by Sandro on March 27, 2008Add an Image Editor to you game without coding one. Useful for custom emblems ect. This is very easy to use.
» Add a Screenshot
Functions:
ie_create(w,h)
Defines the editor. (w,h) is the width and height of the IMAGE(as in not the editor). Call in a create event.
ie_draw(x,y,w,h)
Draws the editor on the screen. (x,y,w,h) is the position and height of the EDITOR(as in not the image). NOTE: This function must be called in the SAME object you called ie_create().
ie_ie_set_sprite(object,sprite,subimage)
Loads an image into the editor.
ie_get_sprite(object,precise,transparent,smooth,preload,xorig,yorig)
Creates a sprite of the image in the editor.
Returns Sprite
You not logged on! It is recommended you logon before commenting so we can tell who you are!