User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » XNA game studio + XML Page [1]  
Fry
The Stubby
7781 Posts
user info
edit post

I'm an XNA n00b.
I'm trying to call the XML services in System, with

using System.Xml

so that I can use the Serialization stuff. For some reason, Xml doesn't exist in my System namespace, and I have loaded the 1.0 framework. Does anybody have any experience with XNA/XML?

10/22/2007 10:49:20 PM

msb2ncsu
All American
14033 Posts
user info
edit post

You should be using .NET 1.1 Framework at a minimum, but really 2.0 is the common standard with 3.0 and eventually 3.5 being up-to-date.

Not sure why you are having problems...

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Xml;

namespace WindowsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
XmlDocument xd = new XmlDocument();
xd.Load("d:\\test.xml");
MessageBox.Show(xd.LastChild.Name);
}
}
}


Worked just fine and I've been using the System.Xml namespace extensively in a handheld application at work (and the Compact Framework is more thin than what you are working with).


Sorry for not paying attention... this should actually help.

http://forums.xna.com/thread/28136.aspx

[Edited on October 23, 2007 at 10:14 AM. Reason : .]

10/23/2007 10:08:53 AM

Fry
The Stubby
7781 Posts
user info
edit post

i got it last night, had to add a reference to system.xml, thanks for the response though...
now i just have to figure out how to draw triangles from the vector data in the xml

10/23/2007 11:21:29 AM

pttyndal
WINGS!!!!!
35217 Posts
user info
edit post

ha, Game Design & Development eh?

10/23/2007 3:35:39 PM

Fry
The Stubby
7781 Posts
user info
edit post

of course.

this is a serious crash course in XNA for me

10/23/2007 4:07:17 PM

pttyndal
WINGS!!!!!
35217 Posts
user info
edit post

haha, I should probably start working on it.

10/23/2007 4:26:16 PM

pttyndal
WINGS!!!!!
35217 Posts
user info
edit post

welp damn. I guess XNA doesn't like my video card.
Quote :
" An unhandled exception of type 'Microsoft.Xna.Framework.NoSuitableGraphicsDeviceException' occurred in Microsoft.Xna.Framework.Game.dll

Additional information: Could not find a Direct3D device that has a Direct3D9-level driver and supports pixel shader 1.1 or greater."

10/23/2007 8:02:38 PM

Fry
The Stubby
7781 Posts
user info
edit post

aw that sucks. yeah now would be a good time to start. this thing is a pain for me at least.
i finally got the triangles drawing correctly and all that, but i'm still coding the quad tree decomp stuff. i'm meeting with the TA tomorrow to figure out some of it, cause i'm not completely sure what they want for a couple of things.

10/23/2007 8:49:56 PM

BigMan157
no u
103352 Posts
user info
edit post

what course number is this?

10/23/2007 9:20:47 PM

pttyndal
WINGS!!!!!
35217 Posts
user info
edit post

CSC 481. Until this semester, it consisted of one really big group project using the unreal engine. Now the big project was moved to CSC 482 and 481 now consists of a few small projects with XNA, unreal, and another engine. So basically we're guinea pigs.

[Edited on October 23, 2007 at 9:46 PM. Reason : ]

10/23/2007 9:44:01 PM

pttyndal
WINGS!!!!!
35217 Posts
user info
edit post

Quote :
"Since there've been a number of questions about the XNA assignment,
I've had Mike distribute some examples that show how to get the
drawing portion of the assignment done without too much
modification. To give you time to make use of that code, I'm going
to extend the deadline for the XNA project by a week. The deadline
will now be 11:45 PM November 2.

I'm also going to push back the due dates for the Unreal assignments
slightly, to give you time to work on those projects without also
having to work on the XNA project. But please start early on those
guys, too. The development environment for UT2k4 gives much more
structure than XNA does, but there are more facilities for you to
use, so there's still a good amount of work to be done with it.

I won't be in class tomorrow -- I have one of those medical things
again -- but Mike will be there to answer questions and Arnav will be
giving you more key info on writing code for UT."


10/23/2007 11:56:21 PM

Fry
The Stubby
7781 Posts
user info
edit post

a very very good thing

10/24/2007 1:22:11 AM

Lionheart
I'm Eggscellent
12772 Posts
user info
edit post

good idea to split things up, weed out the not committal bastards

we had one guy who showed up to one meeting all year

10/24/2007 9:31:08 AM

Rat
Suspended
5724 Posts
user info
edit post

Arnav.. what a tool. He seriously wastes 95% of the time he spends 'teaching'

it literally took him 5 mins to answer questions that could've been answered in 5-6 seconds tops. Like the name of an assembly, or class or function to call. but alas, i sat through it. and during lectures, it ends up being 30 minute explanations of mindless theory with no entry point examples into the code.

god they teach some of the worst computer science at this school. and let me tell you from pro experience.. developing in the gaming world is not computer science. I can be the first to vouch for that.

10/27/2007 2:15:26 AM

 Message Boards » Tech Talk » XNA game studio + XML Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.38 - our disclaimer.