~360 Homebrew: XNA Game Studio Express

Coders forum. Discuss techniques, swap code snippets, ask for help etc. relating to all forms of software development.
Post Reply
User avatar
Rhythm
Baaaaaaa!
Baaaaaaa!
Posts: 6124
Joined: Tue Sep 28, 2004 11:57 am 0
Location: Limbo

Post by Rhythm »

Steam: SteelyDamn
User avatar
RageMatrix
Baaaaaaa!
Baaaaaaa!
Posts: 5515
Joined: Fri May 10, 2002 12:52 pm 0
XBL Gamertag: Jon256
Location: East Sussex

Post by RageMatrix »

Rhythm wrote:It's up
"The download you requested is unavailable. If you continue to see this message when trying to access this download, go to the "Search for a Download" area on the Download Center home page."

:?
XBox Gamertag: Jon256
Wii Code: 4849 1090 9042 6725
"Wrapped in metal, wrapped in ivy"
The Official UNIX/Linux Thread
User avatar
teamonkey
Sheepie Whore
Sheepie Whore
Posts: 12082
Joined: Thu Jun 13, 2002 1:07 am 0
XBL Gamertag: itsthetaste
PSN: teamonkey_ca
Contact:

Post by teamonkey »

http://msdn.microsoft.com/directx/xna/gamestudio/

Anyone managed to get the beta for Torque X yet?
User avatar
Sir_LANs-a-lot
Sheepie Whore
Sheepie Whore
Posts: 12143
Joined: Mon Mar 10, 2003 1:00 am 0
Location: Here

Post by Sir_LANs-a-lot »

RageMatrix wrote:
Rhythm wrote:It's up
"The download you requested is unavailable. If you continue to see this message when trying to access this download, go to the "Search for a Download" area on the Download Center home page."

:?
I just grabbed it OK - was getting about 250K/sec download speed

EDIT:
For those looking to get started with it:

http://forums.microsoft.com/MSDN/ShowPo ... 3&SiteID=1
[Sir_LANs-a-lot]

Meat is murder.
Tasty, tasty murder.
User avatar
teamonkey
Sheepie Whore
Sheepie Whore
Posts: 12082
Joined: Thu Jun 13, 2002 1:07 am 0
XBL Gamertag: itsthetaste
PSN: teamonkey_ca
Contact:

Post by teamonkey »

Hmmm. It's pretty good, even though I've only tried it on my laptop with an under-spec graphics card. Documentation is an issue and it's missing the content pipeline.

That Spacewar example is well dodgy though. :?
User avatar
PaulCunningham
Baaaaa!
Baaaaa!
Posts: 1218
Joined: Sun Jan 18, 2004 11:47 pm 0
Location: Walsall, England
Contact:

Post by PaulCunningham »

MyFirstXNAGame...

Image

I'm trying not get too distracted atm - I have a game to finish that's taking way too long as it is. Maybe a bit of tinkering at work won't eat into the schedule too much :)
Cheers,
Paul Cunningham
Pumpkin Games
User avatar
sty
Baaaaaaa!
Baaaaaaa!
Posts: 6628
Joined: Thu Apr 25, 2002 2:03 pm 0
Location: Darfield, New Sheepland

Post by sty »

I'm just installing VisualC# Express on my work laptop (the only XP machine I have access to), I hope to god this doesn't bork my VisualStudio Team Studio edition I actually need to use for real work :roll:

anyway, no doubt by the end of the day I'll have this thing working
XBoxlive -> Mr Sty
User avatar
Ely
Baaaaaaa!
Baaaaaaa!
Posts: 7404
Joined: Tue May 28, 2002 6:32 pm 0
Yahoo Messenger: ely_uw2000
Location: The other place....
Contact:

Post by Ely »

They don't seem to provide a demo game to have a look at, unless I'm looking in the wrong place :?

EDIT: Ah found the Spacewar thing now :)
User avatar
PaulCunningham
Baaaaa!
Baaaaa!
Posts: 1218
Joined: Sun Jan 18, 2004 11:47 pm 0
Location: Walsall, England
Contact:

Post by PaulCunningham »

sty wrote:I'm just installing VisualC# Express on my work laptop (the only XP machine I have access to), I hope to god this doesn't bork my VisualStudio Team Studio edition I actually need to use for real work :roll:
I was initially a little concerned about this but I'm running VS Standard and C# Express side by side with no ill effects (yet).
ely wrote:They don't seem to provide a demo game to have a look at, unless I'm looking in the wrong place
You're looking in the wrong place :)

You need to create a 'New Project' based on the Spacewar starter kit template.
Cheers,
Paul Cunningham
Pumpkin Games
User avatar
Sir_LANs-a-lot
Sheepie Whore
Sheepie Whore
Posts: 12143
Joined: Mon Mar 10, 2003 1:00 am 0
Location: Here

Post by Sir_LANs-a-lot »

Image

Gotta tell you. This doesn't instill much confidence in me.

Created the project, clicked "Build..." (built OK) then clicked "Start without debugging..."

What now?

:?
[Sir_LANs-a-lot]

Meat is murder.
Tasty, tasty murder.
User avatar
PaulCunningham
Baaaaa!
Baaaaa!
Posts: 1218
Joined: Sun Jan 18, 2004 11:47 pm 0
Location: Walsall, England
Contact:

Post by PaulCunningham »

Run it through the debugger. Should be obvious(?) from there what the problem is.
Cheers,
Paul Cunningham
Pumpkin Games
User avatar
teamonkey
Sheepie Whore
Sheepie Whore
Posts: 12082
Joined: Thu Jun 13, 2002 1:07 am 0
XBL Gamertag: itsthetaste
PSN: teamonkey_ca
Contact:

Post by teamonkey »

Sir_LANs-a-lot wrote:Image
Are you running it with a low-end graphics card?

Try running it with debugging (hit F5). If it b0rks when it tries to add the graphics component it's a graphics error. I get it on my old Radeon 9000.

Add the line

Code: Select all

this.graphics.AllowMultiSampling = false;
at line 20 in SpaceWarGame.Designer.cs, and replace line 109 of SpaceWarGame.cs with something similar.

Works for me. But like I said, the SpaceWar sample is well dodgy.
User avatar
Sir_LANs-a-lot
Sheepie Whore
Sheepie Whore
Posts: 12143
Joined: Mon Mar 10, 2003 1:00 am 0
Location: Here

Post by Sir_LANs-a-lot »

Well, I don't think I am - It's a GeForce Ti4600 128Mb

Runs FrenZe OK

8O

EDIT:

Doesn't seem to like this line:

Code: Select all

this.GameComponents.Add(this.graphics);
Microsoft.Xna.Framework.Components.NoSuitableGraphicsDeviceException was unhandled
Message="The values used in the attempt to create the GraphicsDevice were invalid."
Source="Microsoft.Xna.Framework.Game"
StackTrace:
at Microsoft.Xna.Framework.Components.GraphicsComponent.CreateDevice(GraphicsDeviceInformation newInfo)
at Microsoft.Xna.Framework.Components.GraphicsComponent.ChangeDevice(Boolean forceCreate)
at Microsoft.Xna.Framework.Components.GraphicsComponent.OnGameChanging(Game previousGame)
at Microsoft.Xna.Framework.GameComponentCollection.Parent(GameComponent gameComponent)
at Microsoft.Xna.Framework.GameComponentCollection.InsertItem(Int32 index, GameComponent item)
at System.Collections.ObjectModel.Collection`1.Add(T item)
at Spacewar.SpacewarGame.InitializeComponent() in C:\Documents and Settings\Sir\Local Settings\Application Data\Temporary Projects\MySpacewar1\SpacewarGame.Designer.cs:line 26
at Spacewar.SpacewarGame..ctor() in C:\Documents and Settings\Sir\Local Settings\Application Data\Temporary Projects\MySpacewar1\SpacewarGame.cs:line 69
at Spacewar.Program.Main(String[] args) in C:\Documents and Settings\Sir\Local Settings\Application Data\Temporary Projects\MySpacewar1\Program.cs:line 17
at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
[Sir_LANs-a-lot]

Meat is murder.
Tasty, tasty murder.
User avatar
teamonkey
Sheepie Whore
Sheepie Whore
Posts: 12082
Joined: Thu Jun 13, 2002 1:07 am 0
XBL Gamertag: itsthetaste
PSN: teamonkey_ca
Contact:

Post by teamonkey »

Sir_LANs-a-lot wrote:Well, I don't think I am - It's a GeForce Ti4600 128Mb
Ah, that'd be it. XNA only supports graphics cards with shaders.
User avatar
Sir_LANs-a-lot
Sheepie Whore
Sheepie Whore
Posts: 12143
Joined: Mon Mar 10, 2003 1:00 am 0
Location: Here

Post by Sir_LANs-a-lot »

:(

That's quite annoying.
[Sir_LANs-a-lot]

Meat is murder.
Tasty, tasty murder.
Post Reply