• Advertisement
Sign in to follow this  

C# game tutorials?

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

so my two favorite languages are C++ and C#...but i cant find game tutorials for C#, just C++...any one know any? also do we have a place were we can post code and ask why it segfaults?

Share this post


Link to post
Share on other sites
Advertisement
http://creators.xna.com

They have video tutorial, very detailed. And a forum where you can ask question. This is for XNA/C#.

Share this post


Link to post
Share on other sites
Quote:
Original post by jimi_hendrix
so my two favorite languages are C++ and C#...but i cant find game tutorials for C#, just C++...any one know any?

Would XNA be an option for you?

Quote:
also do we have a place were we can post code and ask why it segfaults?

You can post it in this very forum. However, make sure you've made an effort to find and solve the problem, and provide relevant details. Refrain from just dumping code and asking "fix my codes plz".

Share this post


Link to post
Share on other sites
XNA is not bad...bu is ther anything like SDL for C# thats cross platform (i fiddle around with linux and would want it portable to linux if possible)

Share this post


Link to post
Share on other sites
Try Tao. I must admit I haven't used it myself though. Perhaps others can share their experiences.

Share this post


Link to post
Share on other sites
I would have to say XNA would be your best bet. When I was programming in C# and XNA was out on beta I gave it a run and in less then 10 minutes I had a maze game going. However that varies with experience in programming. Everything to start putting graphics on a screen and having movement is almost all done for you. Since XNA is pretty popular among C# game programmers you will find some very useful articles if you google for XNA Tutorials.

Some sites:

http://www.xnadevelopment.com/
(Very useful site, I used this site when XNA was just coming out to the public. Shows you how to setup tiles and movable toons with attacks.)

http://www.xnatutorial.com/
http://www.riemers.net/eng/Tutorials/XNA/Csharp/series1.php
http://www.xnaresources.com/
http://www.bluerosegames.com/brg/xna101.aspx

Good luck!

Share this post


Link to post
Share on other sites
thanks all...im giving C++ w/ SDL one more shot (if youve read my segfalt thread i have scrapped the code and started over)...then im on to C#

on a related topic...im also interested in making my own OS with Cosmos...anyone try that?

Share this post


Link to post
Share on other sites
Quote:
Original post by jimi_hendrix
thanks all...im giving C++ w/ SDL one more shot (if youve read my segfalt thread i have scrapped the code and started over)...then im on to C#

on a related topic...im also interested in making my own OS with Cosmos...anyone try that?


You should really try to stick out C++ with SDL. I've played a online rpg a few years back that a guy made using SDL and I was just amazed! Going into C# just because it seems "easy" wont help you in the long run with game programming because sooner or later you will be stuck again and feel like giving up.

You're better off trying out SDL.

Check out this webpage!

http://lazyfoo.net/SDL_tutorials/index.php

Share this post


Link to post
Share on other sites
Respectfully, MrCpaw, I think you just gave out some bad advice.

Quote:
You should really try to stick out C++ with SDL. I’ve played a online rpg a few years back that a guy made using SDL and I was just amazed!
The game wasn’t amazing because it used C++ and SDL. You aren’t trying to imply that are you?

Quote:
Going into C# just because it seems “easy” wont help you in the long run with game programming because sooner or later you will be stuck again and feel like giving up.
So your solution is to recommend a language that is more frustrating and more difficult to work with? The way to deal with the risk of giving up is to start on a more difficult language?

Share this post


Link to post
Share on other sites
Beginning C# Game Programming.pdf ???


you try that and yea dont quit c++ bc c# sound harder :/ but if that whut you reaaaly looking for easyness my pro friend said java REAAALLLLY easy gl

Share this post


Link to post
Share on other sites
Quote:
Original post by oler1s
Respectfully, MrCpaw, I think you just gave out some bad advice.

Quote:
You should really try to stick out C++ with SDL. I’ve played a online rpg a few years back that a guy made using SDL and I was just amazed!
The game wasn’t amazing because it used C++ and SDL. You aren’t trying to imply that are you?

Quote:
Going into C# just because it seems “easy” wont help you in the long run with game programming because sooner or later you will be stuck again and feel like giving up.
So your solution is to recommend a language that is more frustrating and more difficult to work with? The way to deal with the risk of giving up is to start on a more difficult language?


The game was amazing for the results it achieved by using SDL and having such a great game completed without the use of another persons Engine or a ton of other tools. Of course the programmer had a lot of skill but that's not to say that SDL is a useless tool, unless that's what you're implying? I'm not saying that only SDL games are good, I'm saying that the power of SDL with a good programmer and great game design can pull of some neat results, no different then someone programming in Direct X, or even using a Game Maker.

This is my personal opinion if you don't agree that's fine. If you personally believe it's more beneficial to start with a higher level language like C# then move onto C++ later on then that's perfectly fine, and you're free to state that. We all are different when learning and catch on at different paces. Some people can tackle C++ right off the bat, others cannot. That's not to say this person isn't able to stick with C++. I've had days where I wanted to drop C++ when debugging some code, but I kept with it and found a solution to my problem. Part of being a programmer is also being able to solve problems, if you couldn't you would be lost when it came to debugging.

In the end it's up to the topic creator if he chooses to stick it out or not. If he can start in C# with XNA and get some fast results and that's what he/she wants to do, then I say go for it. I'm giving advice based on the long term benefit of learning C++ for games.

Not everyone agrees C++ is a good idea for starting out, however with all of the great books out there why not? C++ has been around for so long that the tutorial databases online are huge! Forums like this can help anyone learn C++ if they come across problems. Either way, I still believe C++ isn't so hard that anyone who would dare learn it first would just give up all together. You can give an easy language like BASIC and people will still find it hard. Not everyone in the world is great at programming and can learn it well.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement