BP Forums
XNA In VB Map Editor GRID - Printable Version

+- BP Forums (https://bpforums.info)
+-- Forum: Archived Forums (https://bpforums.info/forumdisplay.php?fid=55)
+--- Forum: Archived Forums (https://bpforums.info/forumdisplay.php?fid=56)
+---- Forum: VB.NET (Visual Basic 2010/2008) (https://bpforums.info/forumdisplay.php?fid=8)
+----- Forum: Programming Help (https://bpforums.info/forumdisplay.php?fid=9)
+----- Thread: XNA In VB Map Editor GRID (/showthread.php?tid=435)



XNA In VB Map Editor GRID - xolara - 12-16-2011

Hey guys

I am currently making a Map Editor but i am having a problem creating a grid on my "Tileset" using program language (Since i really dont want it to be allready ON the picture) i am creating this in Visual Basic atm and as a note Drawing.Rectangle CANNOT be used in an XNA Project!

Since XNA Can't Recognise Drawing.Rectangle as Microsoft.XNA.Framework.Rectangle

I got some other people working on this at the moment so i will let you know if one of us figures it out before hand <!-- sSmile --><img src="{SMILIES_PATH}/icon_e_smile.gif" alt="Smile" title="Smile" /><!-- sSmile -->


Re: XNA In VB Map Editor GRID - xolara - 12-17-2011

Never mind i got it working <!-- sBig Grin --><img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt="Big Grin" title="Very Happy" /><!-- sBig Grin -->

It was easier than i thought so i made a Square box in Photoshop in 32x32 and Transparent then i colored the edges black with 1 pixel of color and added it on top of the tileset picturebox