• Advertisement

Archived

This topic is now archived and is closed to further replies.

C#/VB.NET good for games?

This topic is 5305 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''ve decided to try and learn either VB.NET or C#, and I want to know which would be best to learn with Game Development in mind? Cheers 4 your help!

Share this post


Link to post
Share on other sites
Advertisement
C#. But I think C++ is better for game development.

"C lets you shoot yourself in the foot rather easily. C++ allows you to reuse the bullet!"

Share this post


Link to post
Share on other sites
quote:
Original post by TheBaker
I''ve decided to try and learn either VB.NET or C#, and I want to know which would be best to learn with Game Development in mind?

It probably doesn''t matter much. C# does give you a couple of extra features like unsafe code(pointer manipulation), and it will probably be a better foundation if you decide to learn C or C++ at a later stage.



AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.

Share this post


Link to post
Share on other sites
quote:
Original post by Arild Fines
quote:
Original post by TheBaker
I''ve decided to try and learn either VB.NET or C#, and I want to know which would be best to learn with Game Development in mind?

It probably doesn''t matter much. C# does give you a couple of extra features like unsafe code(pointer manipulation), and it will probably be a better foundation if you decide to learn C or C++ at a later stage.



I already know C++, but I want to expand to another language that makes the most of the current technology.

Share this post


Link to post
Share on other sites
quote:
Original post by TheBaker
I already know C++, but I want to expand to another language that makes the most of the current technology.


C++ "makes the most of the current technology".

"C lets you shoot yourself in the foot rather easily. C++ allows you to reuse the bullet!"

Share this post


Link to post
Share on other sites
Microsoft said that, for programming microsoft windows-based game,c# and VB are not much differenct from c++.
(and,of course,you can't create linux-based game by c# or VB)
The only problem I could find is that there are not enough game libraries and document that support them.

[edited by - panikt on August 16, 2003 9:39:08 AM]

Share this post


Link to post
Share on other sites
quote:
Original post by panikt
(and,of course,you can''t create linux-based game by c# or VB)

Uhm... why not?



AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.

Share this post


Link to post
Share on other sites
quote:
Original post by Magmai Kai Holmlor
Mono isn''t exactly 100% yet, and there''s no MDx9 support either.

DirectX on linux would be a no-go in C++ as well...

And the 1.0 release of Mono is scheduled for late this year - I''d say that makes it a viable target to develop for, even now.



AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
quote:

I''ve decided to try and learn either VB.NET or C#, and I want to know which would be best to learn with Game Development in mind? Cheers 4 your help!



I''d say go with C# just because the syntax is closely related to C/C++ and Java. Not to mention you can do "unsafe" code if you want.

Share this post


Link to post
Share on other sites
quote:
Original post by Arild Fines
Besides, I was mostly reacting to the use of "of course".


Sorry,it''s my false . I never heard about MONO before.And at least I never thought that Gates would let his master-piece VS.NET to support Linux that easily.

Share this post


Link to post
Share on other sites
quote:
Microsoft said that, for programming microsoft windows-based game,c# and VB are not much differenct from c++.


Yeah, except for the 25-30% frame rate hit, 15-20% memory hit, and overall weak performance. Granted, for simple games/demos, it doesn''t really matter, and the development time gains are worth the effort, but ultimately you want to stick with C/C++ for fully-fledged games so that they will perform optimally.

C++ supports the ''latest technology''. C# & VB are just easier to develop with. You sacrafice performance in exchange for ease of use.

Share this post


Link to post
Share on other sites
The OP is thinking of learning C# or VB. I don''t think he cares about portability.

Share this post


Link to post
Share on other sites
quote:
Original post by jmg5
The OP is thinking of learning C# or VB. I don''t think he cares about portability.

He never said he DIDN''T care... so it sound''s to me like you''re assuming. And the way you word it sounds like you were reacting to ''the assumption he want''s it to be portable''.

I''d state that just in case he was concerned. Then, he wouldn''t have to ask, or find out the hard way.

Share this post


Link to post
Share on other sites
quote:
Original post by Etnu
Yeah, except for the 25-30% frame rate hit, 15-20% memory hit, and overall weak performance.


Moron.

Quake 2, ported to Managed C++ (keeping all the non-optimal habits in that you get when you port unmanaged C++ code over to Managed C++ and Managed DirectX):

Perforamnce Hit: 15%.

This is nowhere near the "25-30%" your''s truly wants people to believe, and it is for non-optimised code paths treading Managed DirectX as non-managed.

Share this post


Link to post
Share on other sites
quote:
Original post by Xsist10
One word: NO


Y.A.B.O. (Yet Another Biased Opinion)

The definitive answer to "Is C#/VB.NET good for game programming?" is "Yes, depending on exactly what you want to do." Most hobby game programmers can be quite satisfied with either language.

[edited by - Machaira on August 18, 2003 12:20:25 PM]

Share this post


Link to post
Share on other sites
If you are an Indie game developer, C# is an excellent language. It will speed up your development process a great deal and is still very fast.

At the Indie Game Developer''s Conference, last Winter, Andy Hook of EA gave a nice little talk wherein he lauded C# and its usefulness for the Indie Developer.

http://www.onlamp.com/pub/a/onlamp/2002/12/23/indiegames.html

If you''re designing the next Quake, stick with C++.


Share this post


Link to post
Share on other sites

  • Advertisement