Select from the Following:
Beginners Guide PDF
Advanced Guide PDF
#1 by Bigcloud on March 5, 2011 - 11:19 pm
Okay so I’ve used your beginners and advanced guides to be able to build my first level (w/ANIMATIONS!). I’m having a hard time importing the data into VS2010/XNA 4.0. I have read over many tutorials, but I am lost at the moment. Could you give me a hint on how to import this level into a game project? I have already built the a “game library” with the xml file. Is there a certain naming structure I should follow in the xml file and my .cs file? Any help would be wonderful. Thanks.
#2 by afallenapple on March 5, 2011 - 11:38 pm
When I release a full version of Natur Map Editor, the source, including a custom pipeline, will be available as well. The full version will be available once Natur Game Engine is complete.
#3 by Bigcloud on March 6, 2011 - 12:13 am
That sounds good. So I won’t be able to do anything with the xml file until you release the full version?
#4 by afallenapple on March 6, 2011 - 1:45 am
If you go to the Codeplex, I just checked in what I’m pretty sure is the old format; use that and take a look at the MSDN on how to create and use custom content
Take from it what you will; you can also save an empty map file to get a clean look at the map content.
#5 by Bigcloud on March 6, 2011 - 3:51 pm
Thanks so I should download everything again and reinstall Natur? The link you provided is what I was trying to use to import your .xml file that is created with Natur.
#6 by afallenapple on March 6, 2011 - 6:25 pm
The link I provided shows you how to add custom content to your own game. Once you have your Xml map file, you can use that along with the link, and the old file format on my codeplex to create a custom pipeline for your game.
You don’t need to reinstall Natur. The custom pipeline you create would lie solely in your game.
#7 by Bigcloud on March 6, 2011 - 9:47 pm
Ahhh Thanks for your help. I understand what you’re saying and will implement a custom pipeline. Thanks again.
#8 by Bigcloud on March 7, 2011 - 12:38 am
Okay I’ve downloaded the new checkin you posted today. When I open MapData.cs the following are not there.
In the SectorData class:
CustomVD Vertices is not found
In the SectorData Constructor:
DVertices = newDVerts;
In the StructureData class
public BoundType BoundType is not there.
Other than those problems everything else is there. Do you have any hints? Thanks!!
#9 by Bigcloud on March 7, 2011 - 12:38 am
I’m using this tutorial by the way.
#10 by afallenapple on March 7, 2011 - 3:18 am
Error on my part. I revised the file on Codeplex.
#11 by Bigcloud on March 7, 2011 - 4:06 am
Thanks a lot!! I should have my project up and running within a couple of days!! I already have a splash screen built with your name on it!!!
#12 by afallenapple on March 7, 2011 - 5:59 am
You may run into a snag when trying to get the animations imported. The AnimationData in MapData.cs stores which objects its animating by using a unique ID given to each entity created in the editor–it’s a static property.
In your map file, you’ll notice that each item has an ID field. This is the ID assigned the entity when its created.
As each item is imported, you should attach the ID value that its associated with from the map file. Afterwards, go back through your AnimationData and add each animated object via IDs.
Hope this helps, and good luck!
#13 by bigcloud on March 7, 2011 - 2:08 pm
Thanks for the information. Once I’m able to setup a VS2010 project with the level content I will tackle that issue. I’m still working on getting the right game structure with the GameStateManager samples.
#14 by Bigcloud on March 8, 2011 - 3:00 am
Hey! I think I got the project right, but I can’t seem to load display the data in the xml file. What processor should I use should I make the xml file in my content pipeline? Is there anything special I need to do? I followed all the right instructions to add xml to a project. I also created a Windows game library project within my project with the MapData.cs file. Any help would be appreciated. Thanks.
Fill in your details below or click an icon to log in:
You are commenting using your WordPress.com account.
( Log Out /
You are commenting using your Google+ account.
( Log Out /
You are commenting using your Twitter account.
( Log Out /
You are commenting using your Facebook account.
( Log Out /
Connecting to %s
Notify me of new comments via email.
Notify me of new posts via email.
Create a free website or blog at WordPress.com.