BDev13

I recently developed a 3D game using XNA and have posted the binary and source on www.threesixbox.com. The game's name is Snake and it can be found at http://www.threesixbox.com/project/ id=f580fc1536

I've been developing games since the early 80's but just downloaded XNA last week. During the course of the project I went through several iterations of optimizations and learned quite a bit about XNA. 

I know that whenever I'm learning a new development language or library, working examples are very helpful to me.  If nothing else, this project can be used as another source of information for anyone interested in XNA development.

Let me know what you think...

 



Re: XNA Game Studio Express Game completed and posted online. Have a look...

Jim Perry

Looks really nice, I'm downloading now and I'll play it when I get home and post my thoughts later.




Re: XNA Game Studio Express Game completed and posted online. Have a look...

Pat.99

Just to let you know.. I got an error reporting that my card doesn't support non-power-of-2 textures. My fault for having such a stink graphics card i know, but also a consideration for Windows deployment.
chrs, Pat




Re: XNA Game Studio Express Game completed and posted online. Have a look...

Jim Perry

Gave it a quick run on my laptop. It's just a touch jerky and slow. I've got a 3.6 gHz P4 with 1GB of RAM and a 256MB Gefore 6800. I can run Oblivion smootly with medium detail. I'm not sure why there's a problem with this.




Re: XNA Game Studio Express Game completed and posted online. Have a look...

Derek Nedelman

 Jim Perry wrote:
Gave it a quick run on my laptop. It's just a touch jerky and slow. I've got a 3.6 gHz P4 with 1GB of RAM and a 256MB Gefore 6800...


I noticed that too - it feels just a tiny bit slow. I thought it was because of my slow computer but when I ran it on my faster one with the NVidia 7900GT it ran at roughly the same speed. I haven't looked at the code so I'm not sure if it's a frame rate issue or just the way the snake movement is handled.






Re: XNA Game Studio Express Game completed and posted online. Have a look...

BDev13

Hmmm...

I thought I fixed all the power of two texture issues but I'll take a quick look.

I made the snake purposefully slow on the first level (my wife was complaining that it was too fast for her). A quick test to see if it's frame rate or the intentionally slowness would be to change the start speed variable for the snake to a bigger number.

I'm developing on a pretty loaded Alienware PC so the XBox 360 is the slowest platform I've run it on. I'll move it to a slower computer and see what happens...

Thanks for the feedback!





Re: XNA Game Studio Express Game completed and posted online. Have a look...

BDev13

I just finished uploading a project update. The texture power of two issue should be fixed. I also increased the initial speed for the snake. I still need to try the game on some slower pc's to look into the frame rate issues some are experiencing.

If you don't want to download everything again for just these two fixes, you can do the following:

1. Open Content\Models\Green.bmp and resize it (in Paint use Image->Attribute) the the next lower power of two (16x16).

2. In Main.cs, change the declaration of startPlayerSpeed to:

protected const float startPlayerSpeed = 4.25f;

Thanks!