Added: 2 years ago
From: nickgravelyn
Views: 3,091
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (29)

Sign In or Sign Up now to post a comment!
  • Comment removed

  • I cant use "IGraphicsDeviceService" as a parent class. any help?

  • @p12oph3cy Probably too late but add in to your TileLayer class:

    using TileEngine;

  • I can't find the sample, anyone help?

  • @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.

  • None of the solutions about adding the TileDisplay in these comments have worked for me. o.O Any other suggestions?

  • 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

  • having trouble finding the samples used

  • @p12oph3cy disregard, i found it

  • Tiledisplay doesnt appear

  • Wow... 1 hour later, it appeared.. I don't even know why

  • Have the same problem, I can't see TileDisplay in the ToolBox

  • Half an hour later. The TileDisplay just randomly popped up.

  • I can't find TileDisplay in the toolbox! Help!

  • 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...

  • Object never shows up in the toolbox, stupid VS! ><

  • Any fix for the annoying:

    Warning 1 The designer must create an instance of type 'TileEditor.GraphicsDeviceCont­rol' but it cannot because the type is declared as abstract. 0

    Error?

  • can you post a link to the files?

  • 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.Graphi­cs.... 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...

  • @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.

  • Same. I wonder if it's because we are using XNA 3.1 and this tutorial was written for version 2.0.

  • mine too :((

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more