Several issues

Oct 17, 2009 at 9:43 AM

I have succesfully loaded a Mappy file into XNA now, but I can't get the drawing right. So I have a couple of questions:

1, Which file format version should I use? The only version I get at least something displayed with is 0.5.

2, Why must I link a Tile Image, I thought mappy baked the graphics into the FMP file?

3, I try to draw the Mapp2D object using either SpriteBatch, the .Draw() member, or both, but my best result is a couple of red pixels per tile. It's the same red pixels regardless of which tile is actually there. But it's atleast apparent that it is drawing the correct number of tiles, at the correct positions, just not the right graphics. Any tips?


thanks, Joel

Oct 17, 2009 at 3:27 PM

As for no3, I misintepreted the Collumns and Rows settings in the content pipeline importer, I first set them to the number of cols and rows of the map, instead of cols and rows of the tilemap.

I could also add a 4, How do I get the user settings from a tile? Looks unimplemented to me, right?