Usually Find/Replace gets the job done for what I need, although sometimes using “Replace All” can break more stuff that it fixes. But today I had this function I wanted to get rid of and simple change it with a public variable. So I had something like this. object->setLayer(/*BLABAL BLA CODE, */); I want to [...]
Posted by David Amador under General Programming
I discovered code swarm a while ago and decided to test on my own repositories. This is a test on Basalt, and although I’ve been working on the engine since January 2010, only in 2011 did I placed in on a repository so a bunch of stuff is added right on the beginning. This is [...]
Posted by David Amador under Game Development, General Programming
I follow a couple of dev blogs, some are game developers, others make websites or software. In the last couple of months I’ve been reading a lot of them complaining about lack of motivation to develop their idea of the lack of motivation for development in general. Happens to me too, heck it happens to [...]
Posted by David Amador under Daily Things, General Programming
Since I’m out of the countries where WP7 Marketplace is available it’s been a real pain to check out new games and most of all if Vizati was already available. Btw it’s out there, go give it a try, there’s a trial mode. It’s great fun So searching some forums I found a neat code [...]
Posted by David Amador under General Programming
I just discovered this useful piece of code for all who don’t have (including me) any memory leaks tracking code or software. I know there are other and better solution but this can be handy for quick findings without much hassle. First place this code in your entry point file, generally main.cpp inside your main() [...]
Posted by David Amador under General Programming
I’m seeing a lot of forum threads with people asking how to save/load files on Windows Phone 7, well for XNA 4 in general. You can use IsolatedStorage for that using System.IO.IsolatedStorage; Both save and load can be done by creating a IsolatedStorageFile, I then use a Filestream and write with a binaryWriter IsolatedStorageFile store [...]
Posted by David Amador under General Programming
One of the things that was probably forgotten but the dudes who made C++ standard were callbacks, there’s no out of the box solution for Instance based Callbacks, just for functions. When I moved to C# I was really happy with the way delegates work, it’s simple, easy and most of all, it works. On [...]
Posted by David Amador under General Programming
Yesterday was an exciting one for all sorts of developers around the world. Visual Studio 2010 got available for both MSDN and DreamSpark subscribers. First time I installed VS2010 was in the RC form mainly because of WP7 Developer’s Tools and XNA4.0 but haven’t made many investment in searching for new features. But being available [...]
Posted by David Amador under Application & Software, General Programming
Microsoft FxCop, know what this is all about? Good for you, keep using it, It’s a valuable tool. For those who don’t know you can download it here and read the MSDN documentation here. FxCop is a is an application that analyzes managed code assemblies and reports information about the assemblies, such as possible design, [...]
Posted by David Amador under General Programming
When I started using C#, mainly because of XNA one of the things I got used to write is foreach loops instead of for, seemed easier and it’s a much cleaner code. Doing almost the same thing as a for loop I never really bother to see the differences, almost everyone in their XNA examples [...]
Posted by David Amador under General Programming
Recent Comments
Nope, the source is on the Post itself...
David Amador
I am obviously asking a dumb question here but is there a li...
WarrenK
I LOVE YOU!!! SO MUCH!!!!...
Min