function FE4_Interact()
{
if (Mouse.IsButtonDown(eMouseLeft))
{
DrawingSurface* ds = Room.GetDrawingSurfaceForBackground();
ds.DrawingColor = Game.GetColorFromRGB(255,100,255);
ds.DrawRectangle(mouse.x - 1, mouse.y - 1, mouse.x + 1, mouse.y + 1);
ds.Release();
}
}
//and next
function g5g_AnyClick()
{
aBlop.Play();
Display("Nice drawing...you dig great");
player.ChangeRoom(1, 90, 160, eDirectionRight);
}
this is the code I have for drawing on my surface, it does not let me draw, only click-draw, pixel by pixel(click by click)
How do i change this so u can draw holding down leftmousebutton as you would in Mspaint, instead of clicking pixel by pixel?
If anyone knows, that could help out, thanks alot!!!
