@Umogrim Just go to the create.msdn.com page and under education search for "WInForms series 1". I had to add a reference to the XNA graphics framework (not a using statement) for it to work.
Hey, I don't know if anyone is still having trouble... I think I found a workaround for messing around and looking on the web. Add the following to the initialize and draw methods
throw new NotImplementedException();
It let me get rid of that error and get a bit farther, I'm not sure if it'll mess anything up later on however...
Is it because I'm using xna 4.0 that this doesn't work for me? Right after I changed the name space to TileEditor it says I have 15 errors within GraphicsDeviceService and GraphicsDeviceControl.
@xorang3juicex Make sure you added the correct Microsoft.Xna.Framework (version 4.0). And then you also need to add a reference for Microsoft.Xna.Framework.Graphics.... It must have something to do with how the newer versions of the WinFormsGraphicsDevice thing works.
If anyone has a problem with displaying a map (You see a white screen with red lines), or when you stop debug error shows up saying that file is missing... You must set WinForms project to debug/run on x86. If you are missing that option from drop down list go to the solution properties > configuration properties, and there you can set a x86...
I wouldn't worry about it. Have just done the next part of the tutorial and it's displaying just as it should. I'm just amazed that anything displays at this point.
This has been flagged as spam show
@ToNyoMendoza
regarding the red X flashing and white background of your TileEditor.
and be sure in LoadTileTextures you have tileTextures.Add(texture); and not a file reference in the parentheses. [ex. (.Add("randomimage")]
ToNyoMendoza 1 month ago in playlist Tile Engine Tutorials
Comment removed
ToNyoMendoza 1 month ago in playlist Tile Engine Tutorials
I cant use "IGraphicsDeviceService" as a parent class. any help?
p12oph3cy 2 months ago
@p12oph3cy Probably too late but add in to your TileLayer class:
using TileEngine;
tomofv 3 weeks ago
I can't find the sample, anyone help?
Umogrim 4 months ago
@Umogrim Just go to the create.msdn.com page and under education search for "WInForms series 1". I had to add a reference to the XNA graphics framework (not a using statement) for it to work.
hungrymuffin 4 months ago in playlist More videos from nickgravelyn
None of the solutions about adding the TileDisplay in these comments have worked for me. o.O Any other suggestions?
yangladesh 4 months ago in playlist Tile Engine Tutorials
Anyone having trouble with uploading TileDisplay to your toolbox follow these steps!
Right click in the Toolbox -> Choose Items
Wait for ages for the dialog to appear -> click Browse... (near bottom right)
Browse to and choose the compiled exe of your project
Hopefully your control now appears
zMeGaMaNNN 7 months ago
having trouble finding the samples used
p12oph3cy 7 months ago
@p12oph3cy disregard, i found it
p12oph3cy 7 months ago
Tiledisplay doesnt appear
MrRisendeath 10 months ago
Wow... 1 hour later, it appeared.. I don't even know why
arkalion05 10 months ago
Have the same problem, I can't see TileDisplay in the ToolBox
arkalion05 10 months ago
Half an hour later. The TileDisplay just randomly popped up.
kermitfry1 10 months ago
I can't find TileDisplay in the toolbox! Help!
kermitfry1 10 months ago
Hey, I don't know if anyone is still having trouble... I think I found a workaround for messing around and looking on the web. Add the following to the initialize and draw methods
throw new NotImplementedException();
It let me get rid of that error and get a bit farther, I'm not sure if it'll mess anything up later on however...
hrossiv 1 year ago
Object never shows up in the toolbox, stupid VS! ><
leonard4 1 year ago
Any fix for the annoying:
Warning 1 The designer must create an instance of type 'TileEditor.GraphicsDeviceControl' but it cannot because the type is declared as abstract. 0
Error?
leonard4 1 year ago
can you post a link to the files?
codecvr12 1 year ago
Is it because I'm using xna 4.0 that this doesn't work for me? Right after I changed the name space to TileEditor it says I have 15 errors within GraphicsDeviceService and GraphicsDeviceControl.
xorang3juicex 1 year ago
@xorang3juicex Make sure you added the correct Microsoft.Xna.Framework (version 4.0). And then you also need to add a reference for Microsoft.Xna.Framework.Graphics.... It must have something to do with how the newer versions of the WinFormsGraphicsDevice thing works.
aytches 1 year ago 5
If anyone has a problem with displaying a map (You see a white screen with red lines), or when you stop debug error shows up saying that file is missing... You must set WinForms project to debug/run on x86. If you are missing that option from drop down list go to the solution properties > configuration properties, and there you can set a x86...
okram1942 1 year ago 5
@TheRobin1232
I wouldn't worry about it. Have just done the next part of the tutorial and it's displaying just as it should. I'm just amazed that anything displays at this point.
Anya99999 1 year ago
Same. I wonder if it's because we are using XNA 3.1 and this tutorial was written for version 2.0.
Anya99999 1 year ago
mine too :((
zaharelr 2 years ago