C#.net

11027cbc55246a8664b533294c898be2
0
lingo1357 101 Oct 01, 2009 at 18:55

Hi,

is Ms C#.net is a good language for making indie games?
i’ve heard .net platform make the volume of the file large!
is that true? what is your opinion?

thanks

10 Replies

Please log in or register to post a reply.

2b97deded6213469bcd87b65cce5d014
0
Mihail121 102 Oct 01, 2009 at 21:11

I sometimes open the forum and can’t believe the questions we’re getting. Knowing the average size of a hard-disk nowadays, WHY ON EARTH would you care if a simple executable file is 2 MB without or 2,5 MB with .NET ??? Yes, it makes the file somewhat larger in size, but the main consideration of .NET is the abstraction it provides over the language used, the technical details of several platforms and the availability of many useful tools. Half a megabyte is small price to pay for all the goodies, don’t you think?

A638aa42130293f319eda7fa4ba121f4
0
fireside 141 Oct 01, 2009 at 21:29

Yes, it’s a good language to make games unless you plan to get into the game industry and even then it certainly isn’t going to hurt you any. You can use c# with XNA and compile your games to work on xbox or pc. Just do a search for XNA. The reason this is good for an indie is because you can publish your games on Microsoft’s xbox network and sell them if you wish. It’s really one of the only console systems that you can get your game on that easily. The others have exorbitant license fees and a more closed system.

11027cbc55246a8664b533294c898be2
0
lingo1357 101 Oct 01, 2009 at 22:35

@Mihail121

I sometimes open the forum and can’t believe the questions we’re getting. Knowing the average size of a hard-disk nowadays, WHY ON EARTH would you care if a simple executable file is 2 MB without or 2,5 MB with .NET ??? Yes, it makes the file somewhat larger in size, but the main consideration of .NET is the abstraction it provides over the language used, the technical details of several platforms and the availability of many useful tools. Half a megabyte is small price to pay for all the goodies, don’t you think?

i’m not sure about what i’ve heard but i heard if the user doesnt have MS
framework should download it & it’s about 400 MB! is this true?

5225bc0c3bf66f4c275c332de6388d1f
0
SyntaxError 101 Oct 01, 2009 at 23:18

@lingo1357

i’m not sure about what i’ve heard but i heard if the user doesnt have MS
framework should download it & it’s about 400 MB! is this true?

If you are talking disk space, 400 MB really isn’t a lot. That may include the IDE and other things. Runtime memory consumption is what you need to worry about and I’m sure .NET doesn’t take anywhere near that.

A638aa42130293f319eda7fa4ba121f4
0
fireside 141 Oct 01, 2009 at 23:32

The redistributable .net runtime is 22.4 meg.

17ba6d8b7ba3b6d82970a7bbba71a6de
0
vrnunes 102 Oct 02, 2009 at 01:04

The executable file is actually even smaller than C++ (unless you cut out standard libraries etc), considering the framework is already installed on the target machine.

Also, newer Windows come with .NET framework built-in…

For most games, I think C# is very sufficient, with the advantage of being extremely productive.

But, performance is very sensitive to bloated code. =)

36b416ed76cbaff49c8f6b7511458883
0
poita 101 Oct 03, 2009 at 04:53

I don’t think you need to worry about the redistributable. I think the vast majority of people have it now anyway. Vista has it by default, and XP users have probably needed it for something else at some point in time.

8676d29610e6c98d6dd2d9c38528cd9c
0
alphadog 101 Oct 03, 2009 at 14:29

@Mihail121

I sometimes open the forum and can’t believe the questions we’re getting.

Game programming is a popular entry point into the world of computation for young people, for obvious reasons. I think we should keep that in mind, that not everyone posting here has any well of experience to draw from.

Vista ships with all frameworks up to 3.0. W7 ships with 3.5. Windows XP is still the dominant OS out there, with about 2/3 of machines, but the various .NET Frameworks went on the “critical updates” list a few months ago so it’s on most XP machines.

So, generally, no, it won’t take up any space than it has to for your own compiled code. Just don’t go too far with unnecessary libraries…

6aa952514ff4e5439df1e9e6d337b864
0
roel 101 Oct 03, 2009 at 17:24

@lingo1357

i’m not sure about what i’ve heard but i heard if the user doesnt have MS
framework should download it & it’s about 400 MB! is this true?

What about something extremly unthinkable like… checking that out yourself?

A638aa42130293f319eda7fa4ba121f4
0
fireside 141 Jan 01, 2010 at 05:43

You’ll have to go to the jad forum to check that:
http://www.jadengine.com/

Looking at it, I’m not sure you made a good choice on an engine. It looks a little low on documentation. Not much for tutorials that I could see. There are many engines that can use c# including Unity. Up to you, of course. Good luck.