Jump to content
This is not recommended for shared computers
Sign in anonymously
Don't add me to the active users list
Bring your ideas to life with a Gaming Degree from Full Sail University
23 December 2013 - 05:38 PM
Merry Christmas and a happy new year to all on GameDev!
Let 2014 be a year filled with great IndieGames, and some epic moments here on GameDev!
04 October 2013 - 01:48 AM
Hello guys, I have this set of code
public int Fac(int x)
if (x == 1)
return x * Fac(x - 1);
static void Main(string args)
Factorial fac1 = new Factorial();
The thing is, I know how factorial works. Like 4! = 4*3*2*1 = 24
But i dont see how the computer computes it. The debugging and breakpoints make me more confused. Does anyone have the time to explain me in detail how this works?
One of my way of thinking is:
return x * Fac(x - 1); = 4 * 3;
x * Fac(x - 1); = 3 * 2
x * Fac(x - 1); = 2 * 1
But nothing returns 24.
Tho I know that in the end the computer does 4*6 = 24
Thanks for all reply!
08 August 2013 - 07:47 AM
Im currently in the situation where I dont know how to START program a game. I know abit more than just the basic with C# / XNA but I dont know HOW i should start.
What kind of classes do I need to create, what sort of methods do I need, fields.... and the list goes on.
Even with the basic textbased games im like, "uhm what do I need"
Does anyone have a good idea to what I should do and where to start?
Are there any tutorials on "How to think before programming games"
Its not the technical part im having problems with.
Thanks for all replies!
11 July 2013 - 05:11 AM
Has it been considered making a Gamedev chat?
Would be great for ultra quick feedbacks. Not everything is needed as a thread. There are always minor questions that could be answered right away.
I believe it wouldent hurt the use of our forum.
IRC is not what Im asking for
What do you guys think about that?
09 February 2013 - 03:36 PM
Have any of you seen the tutorials on C++ from this homepage?
I was thinking of having a look at C++ and wondered if this was a decent place to start learn C++?
GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC