1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[IMAGES]
- image("path",x,y,mode) Creates an image (dynamic object) on the map.
Mode 0 for floor image, mode 1 for top image and
mode 2 for HUD image.
Mode 101-132: draw under this player
Mode 201-232: draw over this player
When drawing at player, x and y are used this way:
x<=0: do not rotate with player, x>0: rotate img with player
y<=0: only draw if not covered by fog of war, y>0: draw always
Returns the ID of the dynamic object image.
- imagecolor(id,red,green,blue) Changes color of an image
- imagealpha(id,alpha) Changes opacity (0.0-1.0) of an image
- imageblend(id,mode) Changes blendmode of an image: 0 for normal,
1 for light, 2 for shade and 3 for solid
- imagescale(id,x,y) Changes image scale factors
- imagepos(id,x,y,rot) Changes position and rotation of an image
- freeimage(id) Removes an image