denna69

I've been playing around, and for anyone interested making a dart game, visit here (code, screenies, project files etc):-

http://www.syntaxbomb.com/forum/index.php topic=317.msg2232;topicseen#new

I just thought I'd share it!

Dabz

 




Re: XNA Game Studio Express DartBoard Collisions Source (not requesting)

XNA Rockstar

This wasn't working for me. The binary gave me the error I usually get for an older version of XNA (are you using beta2 ), and trying to build and run the game gave me an error trying to find the courier font.



Re: XNA Game Studio Express DartBoard Collisions Source (not requesting)

denna69

I'm running the newest version of XNA Game Studio, though, the font class is third party, which may require you to stop XNA looking for specific versions of references, so open up the referene tab and see if there is any yellowish icons in there, if so, open its properties, scroll down the and find 'Specific Version' tab and change the property to 'false'.

This has nothing to do with the general dart collision code, if you have your own text drawing stuff, just remove the XNAFont class

The courier font is actually in the download, well, two files, you have to copy em' to your C drives root, or change this line accordingly:-

textWriter = XNAFont.LoadFont(this.graphics.GraphicsDevice, "c:\\Courier.dds.xml", "c:\\Courier.dds");

Dabz


 

 






Re: XNA Game Studio Express DartBoard Collisions Source (not requesting)

XNA Rockstar

I think most users would agree that a downloaded game should work without having to tamper with the code or copy files to other directories. Nothing personal, but most people are busy working on their own games. Check around on some of the other sample games on here, and I'm sure you'll find one that uses fonts and doesn't require any changes to run. Best of luck

- XNA Rockstar





Re: XNA Game Studio Express DartBoard Collisions Source (not requesting)

denna69

Thanks for the advice XNA Rockstar, much appreciated! :)

Well next time I'll make sure, but this is one of the first things I've made with XNA and was chuffed to bits! :) Maybe I was a little overly enthusiastic, but I hope someone finds it useful anyhow! :)

Dabz

 

[EDIT] Fixed the font problem, it should compile straight away now! :D