BRL.Max2D: Functions Modinfo Source  

Max2D

The Max2D module provides a set of commands for drawing 2D graphics.

Before using any of the Max2D commands, you must first create a Max2D graphics object. The easiest way to do this is using the Graphics command.

By default, Max2D is double buffered which means you will have to use Flip once you have finished drawing each frame of graphics.

Drawing

Max2D provides support for the following drawing commands:

Drawing commandAction
ClsClears the viewport
PlotDraws a single pixel
DrawLineDraws a line
DrawRectDraws a rectangle
DrawOvalDraws an oval
DrawPolyDraws a polygon
DrawTextDraws some text
DrawImageDraws an image
DrawPixmapDraws a pixmap

Viewport, origin and handle

Drawing commands are clipped to a rectangular area known as the viewport. Only the area within the viewport is ever modified, and attempting to draw outside the viewport will result in the drawing command being clipped or chopped to the viewport. To set the viewport, use the SetViewport command.

Drawing commands are also offset by the current origin and handle. To set these properties, use the SetOrigin and SetHandle commands.

The current handle is an x,y coordinate subtracted from all drawing x,y coordinates before any rotation or scaling occurs. This allows you to provide a local 'center' for drawing. On the other hand, the current origin is an x,y coordinate added to all drawing x,y coordinates after any rotation or scaling.

Color, alpha and blend mode

Drawing commands are affected by the current color, alpha and blend mode. You can set these properties by using the SetColor, SetAlpha and SetBlend commands.

The current alpha value controls the transparency level when using the ALPHABLEND blend mode.

The current blend mode controls how pixels are combined with existing pixels in the back buffer and can be one of the following:

Blend modeEffect
SOLIDBLENDPixels overwrite existing backbuffer pixels
MASKBLENDPixels are drawn only if their alpha component is greater than .5
ALPHABLENDPixels are alpha blended with existing backbuffer pixels
LIGHTBLENDPixel colors are added to backbuffer pixel colors, giving a 'lighting' effect
SHADEBLENDPixel colors are multiplied with backbuffer pixel colors, giving a 'shading' effect

Rotation and scale

Drawing commands can be scaled and rotated using the SetScale and SetRotation commands. Rotation and scaling occur relative to the current handle.

Images

Images are pre-rendered chunks of graphics that can be efficiently drawn using a single DrawImage command. Images are typically stored in png, bmp or jpg format, and can be loaded using the LoadImage command.

Image drawing is also affected by color, alpha, blend, rotation and scale. The current color is multiplied with each pixel color before the image is drawn to the backbuffer, allowing you to tint images. To disable this effect, you should set the current color to white.

Images can also have a mask color. This is the color that represents transparency when an image is drawn using the MASKBLEND blend mode. To set the mask color, use the SetMaskColor command.

Images can be created by snapshotting regions of the back buffer using the GrabImage command.

Pixmaps

Pixmaps are used to manipulate images at a pixel level, see the Pixmap module for details.

LockImage allows for direct Image pixel access and requires a corresponding call to UnlockImage when you have have finished reading or modifying the pixels. The DrawPixmap and GrabPixmap commands allow you to move pixels to and from the current graphic display's backbuffer.

Collisions

Max2D features a multilayered pixel perfect collision system. The CollideRect and CollideImage commands provide a dual function allowing the drawing and hit testing of Rects and Images with any combination of 32 collision layers.

The current Scale, Rotation, Origin and Handle settings are taken into account so coordinates for the collision commands acurately match their drawing counterparts DrawRect and DrawImage.

ResetCollisions is used to clear any or all of the 32 collision layers provided.

Functions

Function AutoImageFlags( flags )
DescriptionSet auto image flags.
InformationThe auto image flags are used by LoadImage and CreateImage when no image flags are specified. See LoadImage for a full list of valid image flags. AutoImageFlags defaults to MASKEDIMAGE | FILTEREDIMAGE.

Function AutoMidHandle( enable )
DescriptionEnable or disable auto midhandle mode.
InformationWhen auto midhandle mode is enabled, all images are automatically 'midhandled' (see MidHandleImage) when they are created. If auto midhandle mode is disabled, images are handled by their top left corner.
AutoMidHandle defaults to False after calling Graphics.

Function Cls()
DescriptionClear graphics buffer.
InformationClears the graphics buffer to the current cls color as determined by SetClsColor.
Example
' cls.bmx

' a spinning text message
' remove the call to cls to illustrate the
' need for clearing the screen every frame

Graphics 640,480
SetOrigin 320,240
While Not KeyHit(KEY_ESCAPE)
	Cls 
	SetRotation frame
	DrawText "Press Escape To Exit",0,0
	Flip
	frame:+1
Wend

Function CollideImage:Object[](image:TImage,x,y,frame,collidemask%,writemask%,id:Object=Null)
DescriptionPixel accurate collision testing between transformed Images.
InformationThe collidemask specifies any layers to test for collision with. The writemask specifies which if any collision layers the image is added to in it's currently transformed state. The id specifies an object to be returned to future CollideImage calls when collisions occur.
Example
Strict

Local rot,x,y

Graphics 640,480

AutoMidHandle True	'image will rotate around it's center

Local image:TImage=LoadImage("bullet.png")

While Not KeyHit(KEY_ESCAPE)
	Cls
	ResetCollisions

' draw the first image at 5 times the size and on an arbitrary angle
	
	SetScale 5,5
	SetRotation 125

	DrawImage image,200,200

' add the first image to the first collision layer at same postion, rotation 
' and scale as it has just been drawn

	CollideImage image,200,200,0,0,1

' move the other image relative to the mouse and rotate it continuously

	x=MouseX()
	y=MouseY()-20
	rot:+1

	SetRotation rot
	DrawImage image,x,y

' test the image at it's current rotation, scale and position with images
' that have been added to the first collision layer

	If CollideImage(image,x,y,0,1,0)

' reset scale and rotation states so our text is drawn correctly		

		SetScale 1,1
		SetRotation 0
		DrawText "COLLISION!",20,20

	EndIf

	Flip
Wend

Function CollideRect:Object[](x,y,w,h,collidemask%,writemask%,id:Object=Null)
DescriptionPixel accurate collision testing between image layers.
InformationThe collidemask specifies any layers to test for collision with.
The writemask specifies which if any collision layers the image is added to in it's currently transformed state.
The id specifies an object to be returned to future CollideImage calls when collisions occur.

Function CreateImage:TImage( width,height,frames=1,flags=-1 )
ReturnsA new image object.
DescriptionCreate an empty image.
InformationCreateImage creates an 'empty' image, which should be initialized using either GrabImage or LockImage before being drawn.

Please refer to LoadImage for valid flags values. The flags value is always combined with DYNAMICIMAGE.
Example
' createimage.bmx

' creates a 256x1 image with a black to blue color gradient

Const ALPHABITS=$ff000000

Graphics 640,480,32

image=CreateImage(256,1)
map=LockImage(image)
For i=0 To 255
	WritePixel(map,i,0,ALPHABITS|i)
Next
UnlockImage(image)

DrawImageRect image,0,0,640,480
DrawText "Blue Color Gradient",0,0

Flip

WaitKey

Function DrawImage( image:TImage,x#,y#,frame=0 )
DescriptionDraw an image to the back buffer.
InformationDrawing is affected by the current blend mode, color, scale and rotation.

If the blend mode is ALPHABLEND the image is affected by the current alpha value and images with alpha channels are blended correctly with the background.

Function DrawImageRect( image:TImage,x#,y#,w#,h#,frame=0 )
DescriptionDraw an image to a rectangular area of the back buffer.
InformationDrawing is affected by the current blend mode, color, scale and rotation.

If the blend mode is ALPHABLEND, then the image is also affected by the current alpha value.

Function DrawLine( x#,y#,x2#,y2#,draw_last_pixel=True )
DescriptionDraw a line.
InformationDrawLine draws a line from x, y to x2, y2 with the current drawing color.

BlitzMax commands that affect the drawing of lines include SetLineWidth, SetColor, SetHandle, SetScale, SetRotation, SetOrigin, SetViewPort, SetBlend and SetAlpha. The optional draw_last_pixel parameter can be used to control whether the last pixel of the line is drawn or not. Not drawing the last pixel can be useful if you are using certain blending modes.

Example
' drawline.bmx

' draws a cross hair at the mouse position using DrawLine

Graphics 640,480

HideMouse 

While Not KeyHit(KEY_ESCAPE)
	Cls
	x=MouseX()
	y=MouseY()
	DrawLine 320,240,x,y
	DrawLine x-2,y,x-10,y
	DrawLine x+2,y,x+10,y
	DrawLine x,y-2,x,y-10
	DrawLine x,y+2,x,y+10
	Flip
Wend

Function DrawOval( x#,y#,width#,height# )
DescriptionDraw an oval.
InformationDrawOval draws an oval that fits in the rectangular area defined by x, y, width and height parameters.

BlitzMax commands that affect the drawing of ovals include SetColor, SetHandle, SetScale, SetRotation, SetOrigin, SetViewPort, SetBlend and SetAlpha.

Example
' drawoval.bmx

' draws a pair of eyes using 4 DrawOval commands, 2 white, 2 blue
' positions the blue ovals so the eyes track the mouse

Graphics 640,480
While Not KeyHit(KEY_ESCAPE)
	Cls
	SetColor 255,255,255
	DrawOval 0,0,320,200
	DrawOval 320,0,320,200
	SetColor 0,0,255
	x=(MouseX()-320)/10
	y=(MouseY()-240)/10
	DrawOval 220-32+x,100+y,64,40
	DrawOval 420-32+x,100+y,64,40
	Flip
Wend

Function DrawPixmap( pixmap:TPixmap,x,y )
DescriptionDraw pixmap.

Function DrawPoly( xy#[] )
DescriptionDraw a polygon.
InformationDrawPoly draws a polygon with corners defined by an array of x#,y# coordinate pairs.

BlitzMax commands that affect the drawing of polygons include #SetColor, #SetHandle, #SetScale, #SetRotation, #SetOrigin, #SetViewPort, #SetBlend and #SetAlpha.

Example
' drawpoly.bmx

' draws a simple triangle using the
' DrawPoly command and an array of
' floats listed as 3 pairs of x,y
' coordinates

Local tri#[]=[0.0,0.0,100.0,100.0,0.0,100.0]

Graphics 640,480
While Not KeyHit(KEY_ESCAPE)
	Cls
	DrawPoly tri
	Flip
Wend

Function DrawRect( x#,y#,width#,height# )
DescriptionDraw a rectangle.
InformationSets the color of a rectangular area of pixels using the current drawing color defined with the SetColor command.

Other commands that affect the operation of DrawRect include SetHandle, SetScale, SetRotation, SetOrigin, SetViewPort, SetBlend and SetAlpha.

Example
' drawrect.bmx

' draws a sequence of rectangles across the screen with
' increasing rotation and scale

' uses the frame variable to cycle through the values 0..9 for
' an animation effect between frames 

Graphics 640,480

SetBlend ALPHABLEND
SetAlpha 0.2

While Not KeyHit(KEY_ESCAPE)
	Cls
	DrawText "DrawRect Example",0,0
	For r=t To t+500 Step 10
		SetRotation r
		SetScale r/5,r/5
		DrawRect r,r,2,2
	Next
	t=t+1
	If t=10 t=0
	Flip	
Wend

Function DrawText( t$,x#,y# )
DescriptionDraw text.
InformationDrawText prints strings at position x,@y of the graphics display using the current image font specified by the SetImageFont command.
Other commands that affect DrawText include SetColor, SetHandle, SetScale, SetRotation, SetOrigin, SetViewPort, SetBlend and SetAlpha.
It is recomended that the blend mode be set to ALPHABLEND using the SetBlend command for non jagged antialiased text. Text that will be drawn at a smaller size using the SetScale command should use fonts loaded with the SMOOTHFONT style to benefit from mip-mapped filtering, see LoadImageFont for more information.
Example
' drawtext.bmx

' scrolls a large text string across the screen by decrementing the tickerx variable

Graphics 640,480

Local tickerx#=640

text$="Yo to all the Apple, Windows and Linux BlitzMax programmers in the house! "
text:+"Game development is the most fun, most advanced and definitely most cool "
text:+"software programming there is!"

While Not KeyHit(KEY_ESCAPE)
	Cls
	DrawText "Scrolling Text Demo",0,0
	DrawText text,tickerx#,400
	tickerx=tickerx-1
	If tickerx<-TextWidth(text) tickerx=640
	Flip	
Wend

End

Function GetAlpha#()
Returnsthe current alpha value in the range 0..1.0.
DescriptionGet current alpha setting.

Function GetBlend()
Returns0 (SOLIDBLEND), 1 (MASKBLEND) ,2 (ALPHABLEND), 3 (LIGHTBLEND) or 4 (SHADEBLEND).
DescriptionGet current blendmode setting.

Function GetClsColor( red Var,green Var,blue Var )
ReturnsRed, green and blue values in the range 0..255 in the variables supplied.
DescriptionGet red, green and blue component of current cls color.

Function GetColor( red Var,green Var,blue Var )
ReturnsRed, green and blue values in the range 0..255 in the variables supplied.
DescriptionGet red, green and blue component of current color.

Function GetHandle( x# Var,y# Var )
ReturnsThe horizontal and vertical position of the current drawing handle.
DescriptionGet current drawing handle.

Function GetImageFont:TImageFont()
ReturnsThe current image font.
DescriptionGet current image font.

Function GetLineWidth#()
ReturnsCurrent line width, in pixels.
DescriptionGet line width.

Function GetMaskColor( red Var,green Var,blue Var )
ReturnsRed, green and blue values in the range 0..255.
DescriptionGet red, green and blue component of current mask color.

Function GetOrigin( x# Var,y# Var )
ReturnsThe horizontal and vertical position of the current origin.
DescriptionGet current origin position.

Function GetRotation#()
ReturnsThe rotation in degrees.
DescriptionGet current Max2D rotation setting.

Function GetScale( scale_x# Var,scale_y# Var )
ReturnsThe current x and y scale values in the variables supplied.
DescriptionGet current Max2D scale settings.

Function GetViewport( x Var,y Var,width Var,height Var )
ReturnsThe horizontal, vertical, width and height values of the current Viewport in the variables supplied.
DescriptionGet dimensions of current Viewport.

Function GrabImage( image:TImage,x,y,frame=0 )
DescriptionGrab an image from the back buffer.
InformationCopies pixels from the back buffer to an image frame.

Only images created with the DYNAMICIMAGE flag can be grabbed.
Example
' grabimage.bmx

' draws a small graphic then uses grabimage to make an image

' as mask color and cls color both default to black a mask is 
' created for the grabbed where any pixels unset on the backbuffer
' become transparent in the grabbed image

Graphics 800,600,0'640,480,32

Cls

DrawLine 0,0,32,32
DrawLine 32,0,0,32
DrawOval 0,0,32,32

Local image=CreateImage(640,480,1,DYNAMICIMAGE|MASKEDIMAGE)

GrabImage image,0,0

Cls
For i=1 To 100
	DrawImage image,Rnd(640),Rnd(480)
Next
Flip

GrabImage image,0,0
Cls
For i=1 To 100
	DrawImage image,Rnd(640),Rnd(480)
Next
Flip


WaitKey

Function GrabPixmap:TPixmap( x,y,width,height )
DescriptionGrab pixmap.

Function ImageHeight( image:TImage )
ReturnsThe height, in pixels, of image.
DescriptionGet height of an image.

Function ImagesCollide(image1:TImage,x1,y1,frame1,image2:TImage,x2,y2,frame2)
ReturnsTrue if any pixels of the two images specified at the given location overlap.
DescriptionTests if two images collide.
InformationImagesCollide uses the current Rotation and Scale factors from the most previous call to SetScale and SetRotation to calculate at a pixel level if the two images collide.

Function ImagesCollide2(image1:TImage,x1,y1,frame1,rot1#,scalex1#,scaley1#,image2:TImage,x2,y2,frame2,rot2#,scalex2#,scaley2#)
ReturnsTrue if any pixels of the two images specified at the given location overlap.
DescriptionTests if two images with arbitrary Rotation and Scales collide.
InformationImagesCollide2 uses the specified Rotation and Scale paramteters to calculate at a pixel level if the two images collide (overlap).

Function ImageWidth( image:TImage )
ReturnsThe width, in pixels, of image.
DescriptionGet width of an image.

Function LoadAnimImage:TImage( url:Object,cell_width,cell_height,first_cell,cell_count,flags=-1 )
ReturnsAn image object.
DescriptionLoad a multi-frame image.
InformationLoadAnimImage extracts multiple image frames from a single, larger image. url can be either a string or an existing pixmap.
See LoadImage for valid flags values.

Function LoadImage:TImage( url:Object,flags=-1 )
ReturnsA new image object.
DescriptionLoad an image.
Informationurl can be either a string or an existing pixmap.

flags can be 0, -1, or any combination of:

Flags valueEffect
MASKEDIMAGEThe image is masked with the current mask color
FILTEREDIMAGEThe image is smoothed when scaled up to greater than its original size, when rotated, or when drawn at fractional pixel coordinates
MIPMAPPEDIMAGEThe image is smoothed when scaled down to less than its original size
DYNAMICIMAGEThe image can be modified using LockImage or GrabImage


Note MIPMAPPEDIMAGE images consume extra video memory, so this flag should only be used when really necessary.

If flags is -1, the auto image flags are used: See AutoImageFlags

To combine flags, use the | (Boolean OR) operator.

Function LoadImageFont:TImageFont( url:Object,size,style=SMOOTHFONT )
ReturnsAn image font object.
DescriptionLoad an image font.
Informationstyle can be a combination of BOLDFONT, ITALICFONT and SMOOTHFONT flags. Use the SMOOTHFONT flag for improved filtering if the font is to be rotated or scaled.

Function LockImage:TPixmap( image:TImage,frame=0,read_lock=True,write_lock=True )
ReturnsA pixmap representing the image contents.
DescriptionLock an image for direct access.
InformationLocking an image allows you to directly access an image's pixels.

Only images created with the DYNAMICIMAGE flag can be locked.

Locked images must eventually be unlocked with UnlockImage before they can be drawn.

Function MidHandleImage( image:TImage )
DescriptionSet an image's handle to its center.

Function Plot( x#,y# )
DescriptionPlot a pixel.
InformationSets the color of a single pixel on the back buffer to the current drawing color defined with the SetColor command. Other commands that affect the operation of Plot include SetOrigin, SetViewPort, SetBlend and SetAlpha.
Example
' plot.bmx

' plots a cosine graph
' scrolls along the graph using an incrementing frame variable 

Graphics 640,480

While Not KeyHit(KEY_ESCAPE)
	Cls
	For x=0 To 640
		theta=x+frame
		y=240-Cos(theta)*240
		Plot x,y
	Next
	frame=frame+1
	Flip
Wend

Function ResetCollisions(mask%=0)
DescriptionClears collision layers specified by the value of mask, mask=0 for all layers.
InformationThe BlitzMax 2D collision system manages 32 layers, the mask parameter can be a combination of the following values or the special value COLLISION_LAYER_ALL in order to perform collision operations on multiple layers.
Note: COLLISION_LAYER_32 is used by the ImagesCollide and ImagesCollide2 commands.
LayerMaskValue
COLLISION_LAYER_ALL0
COLLISION_LAYER_1$0001
COLLISION_LAYER_2$0002
COLLISION_LAYER_3$0004
COLLISION_LAYER_4$0008
COLLISION_LAYER_5$0010
COLLISION_LAYER_6$0020
COLLISION_LAYER_7$0040
COLLISION_LAYER_8$0080
COLLISION_LAYER_9$0100
COLLISION_LAYER_10$0200
COLLISION_LAYER_11$0400
COLLISION_LAYER_12$0800
COLLISION_LAYER_13$1000
COLLISION_LAYER_14$2000
COLLISION_LAYER_15$4000
COLLISION_LAYER_16$8000

Function SetAlpha( alpha# )
DescriptionSet current alpha level.
Informationalpha should be in the range 0 to 1.

alpha controls the transparancy level when the ALPHABLEND blend mode is in effect. The range from 0.0 to 1.0 allows a range of transparancy from completely transparent to completely solid.


Function SetBlend( blend )
DescriptionSet current blend mode.
InformationSetBlend controls how pixels are combined with existing pixels in the back buffer when drawing commands are used in BlitzMax.

blend should be one of:
Blend modeEffect
SOLIDBLENDPixels overwrite existing backbuffer pixels
MASKBLENDPixels are drawn only if their alpha component is greater than .5
ALPHABLENDPixels are alpha blended with existing backbuffer pixels
LIGHTBLENDPixel colors are added to backbuffer pixel colors, giving a 'lighting' effect
SHADEBLENDPixel colors are multiplied with backbuffer pixel colors, giving a 'shading' effect


Function SetClsColor( red,green,blue )
DescriptionSet current Cls color.
InformationThe red, green and blue parameters should be in the range of 0 to 255.

The default cls color is black.

Function SetColor( red,green,blue )
DescriptionSet current color.
InformationThe SetColor command affects the color of Plot, DrawRect, DrawLine, DrawText, DrawImage and DrawPoly.

The red, green and blue parameters should be in the range of 0 to 255.


Function SetHandle( x#,y# )
DescriptionSet drawing handle.
InformationThe drawing handle is a 2D offset subtracted from the x,y location of all drawing commands except DrawImage as Images have their own unique handles.
Unlike SetOrigin the drawing handle is subtracted before rotation and scale are applied providing a local origin.

Function SetImageFont( font:TImageFont )
DescriptionSet current image font.
InformationIn order to DrawText in fonts other than the default system font use the SetImageFont command with a font handle returned by the LoadImageFont command.

Use SetImageFont Null to select the default, built-in font.

Function SetImageHandle( image:TImage,x#,y# )
DescriptionSet an image's handle to an arbitrary point.
InformationAn image's handle is subtracted from the coordinates of DrawImage before rotation and scale are applied.

Function SetLineWidth( width# )
DescriptionSets pixel width of lines drawn with the DrawLine command.

Function SetMaskColor( red,green,blue )
DescriptionSet current mask color.
InformationThe current mask color is used to build an alpha mask when images are loaded or modified. The red, green and blue parameters should be in the range of 0 to 255.

Function SetOrigin( x#,y# )
DescriptionSet drawing origin.
InformationThe current Origin is an x,y coordinate added to all drawing x,y coordinates after any rotation or scaling.

Function SetRotation( rotation# )
DescriptionSet current rotation.
Informationrotation is given in degrees and should be in the range 0 to 360.

Function SetScale( scale_x#,scale_y# )
DescriptionSet current scale.
Informationscale_x and scale_y multiply the width and height of drawing commands where 0.5 will half the size of the drawing and 2.0 is equivalent to doubling the size.

Function SetTransform( rotation#=0,scale_x#=1,scale_y#=1 )
DescriptionSet current rotation and scale.
InformationSetTransform is a shortcut for setting both the rotation and scale parameters in Max2D with a single function call.

Function SetViewport( x,y,width,height )
DescriptionSet drawing viewport.
InformationThe current ViewPort defines an area within the back buffer that all drawing is clipped to. Any regions of a DrawCommand that fall outside the current ViewPort are not drawn.

Function TextHeight( text$ )
Returnsthe height, in pixels, of text based on the current image font.
DescriptionGet height of text.
InformationThis command is useful for calculating vertical alignment of text when using the DrawText command.

Function TextWidth( text$ )
Returnsthe width, in pixels, of text based on the current image font.
DescriptionGet width of text.
InformationThis command is useful for calculating horizontal alignment of text when using the DrawText command.

Function TileImage( image:TImage,x#=0#,y#=0#,frame=0 )
DescriptionDraw an image in a tiled pattern.
InformationTileImage draws an image in a repeating, tiled pattern, filling the current viewport.

Function UnlockImage( image:TImage,frame=0 )
DescriptionUnlock an image.
InformationUnlocks an image previously locked with LockImage.

Module Information

Version1.18
AuthorMark Sibly, Simon Armstrong
LicenseBlitz Shared Source Code
CopyrightBlitz Research Ltd
ModserverBRL
History1.18 Release
HistoryAdd Flip Hook and polledinput
History1.17 Release
HistoryAdded MIPMAPPEDIMAGE to smooth fonts
HistoryFixed ImageFont TImage.Load parameters in wrong order!
History1.16 Release
HistoryImproved ImageFont unicode support
History1.15 Release
HistoryAdded OnEnd EndGraphics
History1.14 Release
HistoryCreateImage/LockImage now always returns RGBA8888 pixmap
HistoryFixed multiple Graphics calls crashing due to using Flip before DetectSync
History1.13 Release
HistoryLoadImageFont generates filteredimage images only for smoothfont fonts
History1.12 Release
HistoryAdded MIPMAPPEDIMAGE flag
History1.11 Release
HistoryFixed Garbage at graphics startup
History1.10 Release
HistoryFixed LockImage bug
History1.09 Release
HistoryIntegrated with new graphics system
HistoryImageFrames now lazily evaluated
HistoryFixed GetMaskColor
History1.08 Release
HistoryCollision system optimized
HistoryGraphics now does an EndGraphics first
History1.07 Release
History1.06 Release
HistoryAdded GetLineWidth#()
HistoryAdded GetClsColor( red Var,green Var,blue Var )
HistoryFixed Object reference bug in Collision system
History1.05 Release
HistoryFixed AnimImage collisions
HistoryFixed ImagesCollide/ImagesCollide2 parameter types