1
Support / Re: Tilemap Painting
« on: February 06, 2014, 04:42:23 pm »
So I just hacked this together,
if(usePaintStyle == true)
{
RectangleDragEnd();
RectangleDragBegin();
cursorX0 = cursorX;
cursorY0 = cursorY;
}
........
case 'g':
ev.Use();
if(usePaintStyle)
{
usePaintStyle = false;
}
else
{
usePaintStyle = true;
}
break;
Is what I did, so far it is working great! Thanks
if(usePaintStyle == true)
{
RectangleDragEnd();
RectangleDragBegin();
cursorX0 = cursorX;
cursorY0 = cursorY;
}
........
case 'g':
ev.Use();
if(usePaintStyle)
{
usePaintStyle = false;
}
else
{
usePaintStyle = true;
}
break;
Is what I did, so far it is working great! Thanks