Visual Studio

Resources for Game Developers

Jared Bienz is sharing good links to resources on the web if you thinking about begining developing games.

http://jaredbienz.wordpress.com/2012/09/28/resources-for-game-developers/

circle, social, twitter icon https://twitter.com/jbienz

More resources: http://content.gpwiki.org/index.php/Game_Content_Resources

Annonser

File path to my self

Sometimes when you are working and backend with code that could be in diffrent types of context, called from a ASP.NET client or winform, unit test or something else. Using relative path to files could be a problem. This code could then be usefull.

static string AssemblyDirectory
{
get
{
var codeBase = Assembly.GetExecutingAssembly().CodeBase;
var uri = newUriBuilder(codeBase);
var path = Uri.UnescapeDataString(uri.Path);
returnPath.GetDirectoryName(path);
}
}