Sign in to follow this  

C#,Java; Game Dev(..online)

This topic is 2485 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

Hey guys my first time posting on these forums, and im very excited to have joined the community.

So let me give you a Bit of back ground. I started programming when i was 12, with Java. And have been hopping languages and frame works ever since. Ive tried both C# and Java and i love both languages. I do some day plan on mastering them both. But the real issue im having is i love coding games, simple guessing games. To complex text based RPG's. And i need to figure out which high level language(not c++) i should stick with through my game dev learnings and such. i can see many pros and cons of each language such as the portability of java, and the Robust and easy syntax of C#. I like the concept of applets for games, but i dont see many games in applets anymore; everything is written in flash/ActionScript 3, for online browser based games. So my fellow game coders i ask you this, what language should i focus on for game development eventually leading to online game development(browser based).

some stuff about me you should know.

my IDE's of choice:
java=netbeans/eclipse
C#=VS2010CE
Lua=ScitE/NotePad++

i also have some pretty bad habbits such as using the wrong types for my methods.
and dun dun dun....HARD CODING [img]http://public.gamedev.net/public/style_emoticons/default/ohmy.gif[/img]

Share this post


Link to post
Share on other sites
[quote name='mchristensen' timestamp='1298395157' post='4777583']
Hey guys my first time posting on these forums, and im very excited to have joined the community.

So let me give you a Bit of back ground. I started programming when i was 12, with Java. And have been hopping languages and frame works ever since. Ive tried both C# and Java and i love both languages. I do some day plan on mastering them both. But the real issue im having is i love coding games, simple guessing games. To complex text based RPG's. And i need to figure out which high level language(not c++) i should stick with through my game dev learnings and such. i can see many pros and cons of each language such as the portability of java, and the Robust and easy syntax of C#. I like the concept of applets for games, but i dont see many games in applets anymore; everything is written in flash/ActionScript 3, for online browser based games. So my fellow game coders i ask you this, what language should i focus on for game development eventually leading to online game development(browser based).

some stuff about me you should know.

my IDE's of choice:
java=netbeans/eclipse
C#=VS2010CE
Lua=ScitE/NotePad++

i also have some pretty bad habbits such as using the wrong types for my methods.
and dun dun dun....HARD CODING [img]http://public.gamedev.net/public/style_emoticons/default/ohmy.gif[/img]
[/quote]

Um browser based? None of the above. Most browser games are made in flash/actionscript or javascript. If that's seriously what you want, go with flash. Actionscript...4? I think is a lot like Java (one of the versions is).

Also C/C++ are important to learn if you want to program outside of browser based games :P Don't avoid them. C will blow your mind in viewing memory. And C++ will teach you a lot about pointers and managed memory (since you normally don't use that stuff in C# ).

Any reason you don't like C++?

Share this post


Link to post
Share on other sites
If you're planning on doing mostly 2D stuff then AS3/Flash is a great choice for its cross-platform compatibility. You shouldn't have much trouble learning it if you know Java and C#. You do have to be somewhat wary of performance issues in large-scale Flash games but depending on the game, this can be alleviated by clever management of assets. You can do 3D with engines like Papervision (or make your own if you're a masochist) but I'm not sure about the performance.

Share this post


Link to post
Share on other sites
[quote name='slynk' timestamp='1298399318' post='4777618']
Also C/C++ are important to learn if you want to program outside of browser based games :P Don't avoid them. C will blow your mind in viewing memory. And C++ will teach you a lot about pointers and managed memory (since you normally don't use that stuff in C# ).

Any reason you don't like C++?
[/quote]

Don't oversell C++. The largest reason it's still used is because it's backwards compatible with legacy code, not because it is good.

If you are paying attention, C# or java can be pretty powerful alternatives that come with the benefit that if you are not paying attention your computer won't explode.

Not to undersell C++ either because it is powerful. It's just that there is more than just one viable option as far as game development goes.

Share this post


Link to post
Share on other sites
You could go with Unity if you want to target browsers and program in C#. Kongregate just started accepting Unity games so their reach is getting closer to Flash games.

Share this post


Link to post
Share on other sites
As you mentioned, Java does have applets (which aren't very popular for games anymore). I don't think C# has similar in browser support, so if you are picking between the two for browser based games, Java is really your only choice. There is also PulpCore which is a nice Java API for applets. Most browser game are written in Flash/AS3, so you may want to learn those instead.

Share this post


Link to post
Share on other sites
[quote name='EricTheRed' timestamp='1298400559' post='4777629']
As you mentioned, Java does have applets (which aren't very popular for games anymore). I don't think C# has similar in browser support, so if you are picking between the two for browser based games, Java is really your only choice. There is also PulpCore which is a nice Java API for applets. Most browser game are written in Flash/AS3, so you may want to learn those instead.
[/quote]

C# has both Silverlight (with Moonlight Linux support) and Unity as browser based platforms for development.

However, if the focus is on browser based games, then I suggest HTML5 and the various canvas graphics APIs for JavaScript, as that is the likely future of cross platform browser based games.

Share this post


Link to post
Share on other sites
[quote name='arbitus' timestamp='1298403661' post='4777655']
[quote name='EricTheRed' timestamp='1298400559' post='4777629']
As you mentioned, Java does have applets (which aren't very popular for games anymore). I don't think C# has similar in browser support, so if you are picking between the two for browser based games, Java is really your only choice. There is also PulpCore which is a nice Java API for applets. Most browser game are written in Flash/AS3, so you may want to learn those instead.
[/quote]

C# has both Silverlight (with Moonlight Linux support) and Unity as browser based platforms for development.

However, if the focus is on browser based games, then I suggest HTML5 and the various canvas graphics APIs for JavaScript, as that is the likely future of cross platform browser based games.
[/quote]

Can i get more information on this "unity" is it like the UDK, or URE3?


Share this post


Link to post
Share on other sites
[quote name='mchristensen' timestamp='1298418422' post='4777757']
[quote name='arbitus' timestamp='1298403661' post='4777655']
[quote name='EricTheRed' timestamp='1298400559' post='4777629']
As you mentioned, Java does have applets (which aren't very popular for games anymore). I don't think C# has similar in browser support, so if you are picking between the two for browser based games, Java is really your only choice. There is also PulpCore which is a nice Java API for applets. Most browser game are written in Flash/AS3, so you may want to learn those instead.
[/quote]

C# has both Silverlight (with Moonlight Linux support) and Unity as browser based platforms for development.

However, if the focus is on browser based games, then I suggest HTML5 and the various canvas graphics APIs for JavaScript, as that is the likely future of cross platform browser based games.
[/quote]

Can i get more information on this "unity" is it like the UDK, or URE3?



[/quote]

http://unity3d.com/

Share this post


Link to post
Share on other sites
[quote name='way2lazy2care' timestamp='1298400391' post='4777625']Don't oversell C++. The largest reason it's still used is because it's backwards compatible with legacy code, not because it is good.

If you are paying attention, C# or java can be pretty powerful alternatives that come with the benefit that if you are not paying attention your computer won't explode.

Not to undersell C++ either because it is powerful. It's just that there is more than just one viable option as far as game development goes.
[/quote]

I'm not talking about how good the language is, I'm talking about what it cant teach you as a programmer. I listed C as well. I hate C. I think it's ugly. BUT, it taught me a lot about how things are handled in memory. And after learning it, I awakened to this better understanding of programming in general. ^^

Share this post


Link to post
Share on other sites

This topic is 2485 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this