False, especially for small-scale games. AAA-titles will always need C and C++, but XNA is a very good game development platform - and it's all managed!
The .NET garbage collector is NOT a reference-counting system. I should also say that to write any kind of performant code in java or .NET you need to have a very good grasp on how their memory management systems work. That's arguably just as complicated as managing it yourself a la C or C++.
You got me there, I wasn't thinking about smaller games. I would agree I did like XNA when I was experimenting in it. Very much like C#.
Ok, I will try to make a tic-tac-toe game but I have no idea even what or where to start. Is there something that I always need to type sort of as a template in the beginning of every program? I have no idea how to use it, make it, type it, or anything...
That's not a bad idea. But first figure out how you're going to handle input/output because you're only working with the command prompt.
I used 0,1,2.
The board without a move would be
0 0 0
0 0 0
0 0 0
then 1 as Player1 and 2 as Player2.
To input they would put a number between 1 - 9.
1 2 3
4 5 6
7 8 9
This would teach you output/input of the command prompt, arrays, reading variables for win/lose detection, loop and if statements, clearing the screen, and possibly functions(depending on how you code it).
I think I wrote this a bunch of different times each using a different style of programming.
Go in your C++ IDE and start a new console application.
What are things you know you will have to understand?
-Outputting text to a console.
-Declaring Variables/Arrays.
-Outputting Variables as text to a console.
-Accepting input from the console.
So google for a tutorial something like "C++ Output to a console Tutorial"
Then practice writing and compiling an application that outputs text.
Then create a variable such as int A = 0;
Now have that same application output the variable instead of the text.
One step at a time. Think what you want to happen next in the program and figure out the code to make it happen.
Post has been edited 1 time(s), last time on May 22 2008, 8:44 pm by Cole.
None.