Sponsors



Go Back   Zune Boards > Zune Discussions > Zune Games > Development Discussions

New Member?



 
Register Zunecentive FAQ Members List Calendar Search Today's Posts Mark Forums Read

Development Discussions All developers who are coding games may stop by here for any help, suggestions, and everything development related.

Reply
 
LinkBack Thread Tools
Old 05-30-2008, 01:18 PM   #1 (permalink)
Zewbie
 
Join Date: May 2008
Posts: 9
Reputation: 10
$zB: 9
Donate
Default Need tutorials for c# beginners

Hey is there any tutorials or something teaching you c# and xna. I only know vb.net.

Last edited by DirtiDan12 : 05-30-2008 at 05:49 PM.



DirtiDan12 is offline   Reply With Quote
Remove Advertisements Sponsored Links
Advertisement
 
Old 05-30-2008, 08:09 PM   #2 (permalink)
Jr. Member
 
SimReality's Avatar
 
Join Date: May 2008
Posts: 410
Reputation: 60
$zB: 353
Donate
Default

http://nick.gravelyn.com/2008/05/17/...ke-zune-games/



SimReality is offline   Reply With Quote
Old 06-01-2008, 04:23 PM   #3 (permalink)
Zewbie
 
Join Date: May 2008
Posts: 9
Reputation: 10
$zB: 9
Donate
Default

the tutorial there is not that great it does not tell you anything



DirtiDan12 is offline   Reply With Quote
Old 06-01-2008, 04:30 PM   #4 (permalink)
Jr. Member
 
Link9228's Avatar
 
Join Date: Nov 2007
Location: Pennsylvania
Posts: 354
Reputation: 17
Send a message via MSN to Link9228
$zB: 308
Donate
Default

Sim Reality, I don't mean to sound like a downer, but your tutorial assumes people at least know how to program a basic application or basic game in C#
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.




Link9228 is offline   Reply With Quote
Old 06-01-2008, 04:49 PM   #5 (permalink)
Jr. Member
 
SimReality's Avatar
 
Join Date: May 2008
Posts: 410
Reputation: 60
$zB: 353
Donate
Default

That post tells you lots. First it tells you to learn C# before XNA. It gives you a link even. If that isn't good enough, use Google. I then say to learn XNA only after you learn C#. I give a link to my tutorial and, again, Google searching will bring more results.



SimReality is offline   Reply With Quote
Old 06-01-2008, 06:49 PM   #6 (permalink)
Zewbie
 
Join Date: May 2008
Posts: 9
Reputation: 10
$zB: 9
Donate
Default

the thing is that the link to the c# tutorial on that blog doesnt teach anything



DirtiDan12 is offline   Reply With Quote
Old 06-01-2008, 08:34 PM   #7 (permalink)
Jr. Member
 
SimReality's Avatar
 
Join Date: May 2008
Posts: 410
Reputation: 60
$zB: 353
Donate
Default

Yes it does. If you read through all of those lessons, it's pretty good for being a free tutorial.

If it isn't good enough for you, go buy a C# book or try one of the other million results for Googling "C# tutorial". There are plenty of things out there to find, but you have to put in some initiative to seek them out.



SimReality is offline   Reply With Quote
Old 06-02-2008, 03:12 AM   #8 (permalink)
Experienced Zuner
 
Join Date: May 2008
Posts: 187
Reputation: 16
$zB: 161
Donate
Default

obviously most of us want to just jump in the water without the life vest so how should we approach c# to get us doing at least a simple game fast?



zunebro is offline   Reply With Quote
Old 06-02-2008, 06:36 AM   #9 (permalink)
Jr. Member
 
SimReality's Avatar
 
Join Date: May 2008
Posts: 410
Reputation: 60
$zB: 353
Donate
Default

Learn the whole language to a basic degree. You should know probably 70-80% of the stuff covered at http://www.csharp-station.com/Tutorial.aspx before you even attempt a game. The problem is that C# is like your toolbox. There are lots of things in C# you can use to help make a game. If you only know how to use 10% of those things, you likely will have missed a better way to do something and wind up using a hammer to put a screw in. The more you know C#, the quicker, easier, and more fun programming games will be.

There will always be people who disagree with me, but from my experience teaching others and my own programming over the years, I still firmly believe this is the best route to take when starting into game programming.



SimReality is offline   Reply With Quote
Old 06-02-2008, 08:42 AM   #10 (permalink)
Zewbie
 
Kanti117's Avatar
 
Join Date: May 2008
Location: Mississippi
Posts: 9
Reputation: 10
Send a message via Skype™ to Kanti117
$zB: 7
Donate
Default

http://www.informit.com/library/cont...ours&seqNum=11 here is a tutorial i have been using. idk i think it is pretty good but im not sure if it has any lessons on makin games
__________________
Nothing Interesting Ever Happens Around Here.

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

For all teh Death Note fans heres a forum D-("Q)

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.




Kanti117 is offline   Reply With Quote
Old 06-03-2008, 11:24 AM   #11 (permalink)
Zewbie
 
Join Date: May 2008
Posts: 9
Reputation: 10
$zB: 9
Donate
Default

Quote:
Originally Posted by Kanti117 View Post
http://www.informit.com/library/cont...ours&seqNum=11 here is a tutorial i have been using. idk i think it is pretty good but im not sure if it has any lessons on makin games
I like that tutorial, but im getting a whole lot of problems with the brackets and parenthesis. Any ideas?

Edit: I figured that out but now when i try to debug i get an error with the Main().

One More thing how do you debug because when ever i debug something the screen changes for a second then goes back.

Last edited by DirtiDan12 : 06-03-2008 at 12:27 PM.



DirtiDan12 is offline   Reply With Quote
Old 06-04-2008, 02:43 PM   #12 (permalink)
Zewbie
 
Join Date: May 2008
Posts: 9
Reputation: 10
$zB: 9
Donate
Default

Quote:
Originally Posted by SimReality View Post
Learn the whole language to a basic degree. You should know probably 70-80% of the stuff covered at http://www.csharp-station.com/Tutorial.aspx before you even attempt a game. The problem is that C# is like your toolbox. There are lots of things in C# you can use to help make a game. If you only know how to use 10% of those things, you likely will have missed a better way to do something and wind up using a hammer to put a screw in. The more you know C#, the quicker, easier, and more fun programming games will be.

There will always be people who disagree with me, but from my experience teaching others and my own programming over the years, I still firmly believe this is the best route to take when starting into game programming.
Hey i decided to try this tutorial but like i said in my last post when ever i try to debug it just changes screens for a second.



DirtiDan12 is offline   Reply With Quote
Old 06-04-2008, 03:02 PM   #13 (permalink)
Jr. Member
 
SimReality's Avatar
 
Join Date: May 2008
Posts: 410
Reputation: 60
$zB: 353
Donate
Default

What do you mean? Are you just working with a console application? If so try putting Console.ReadKey() at the end of your Main method and try again. What happens is that it pops up, runs all your code, runs out of code, and closes the window. ReadKey makes it wait for you to press a button to continue, which will keep the window open.



SimReality is offline   Reply With Quote
Old 06-04-2008, 03:05 PM   #14 (permalink)
Zewbie
 
Join Date: May 2008
Posts: 9
Reputation: 10
$zB: 9
Donate
Default

I just tried that and i get this...
Cannot read keys when either application does not have a console or when console input has been redirected from a file. Try Console.Read.



DirtiDan12 is offline   Reply With Quote
Old 06-04-2008, 03:20 PM   #15 (permalink)
Jr. Member
 
SimReality's Avatar
 
Join Date: May 2008
Posts: 410
Reputation: 60
$zB: 353
Donate
Default

So you aren't doing a console application then. What kind of project are you working on? What do you mean by "it just changes screens for a second"? Please give us some details or there is no chance of us being able to help you.



SimReality is offline   Reply With Quote
Old 06-04-2008, 03:23 PM   #16 (permalink)
Zewbie
 
Join Date: May 2008
Posts: 9
Reputation: 10
$zB: 9
Donate
Default

Im just seeing the Welcome app in lesson 1 of that tutorial on your webpage. Now when i start debugging with Console.ReadKey() i get that error in my previous post.
my code is:
using System;

class InteractiveWelcome
{
public static void Main()
{
Console.Write("What is Your Name?");
Console.Write("Hello, [0] ! ", Console.ReadLine());
Console.WriteLine("Welcome Home");
Console.ReadLine();
Console.ReadKey();
}
}

Last edited by DirtiDan12 : 06-04-2008 at 03:26 PM.



DirtiDan12 is offline   Reply With Quote
Old 06-04-2008, 03:36 PM   #17 (permalink)
Jr. Member
 
SimReality's Avatar
 
Join Date: May 2008
Posts: 410
Reputation: 60
$zB: 353
Donate
Default

And you're positive you created the project as a Console Application in Visual Studio?



SimReality is offline   Reply With Quote
Old 06-04-2008, 03:39 PM   #18 (permalink)
Zewbie
 
Join Date: May 2008
Posts: 9
Reputation: 10
$zB: 9
Donate
Default

I actually did it in Windows form app, I just changed it to Console app and it worked



DirtiDan12 is offline   Reply With Quote
Old 06-04-2008, 03:52 PM   #19 (permalink)
Jr. Member
 
SimReality's Avatar
 
Join Date: May 2008
Posts: 410
Reputation: 60
$zB: 353
Donate
Default

That would explain it.



SimReality is offline   Reply With Quote
Old 06-04-2008, 04:29 PM   #20 (permalink)
Zune Guardian
 
ShotgunSnipist's Avatar
 
Join Date: May 2008
Location: Colorado
Posts: 694
Reputation: 56
Send a message via AIM to ShotgunSnipist
$zB: 365
Donate
Default

What book would you recommend?

I can't concentrate on reading something on my computer.
=/
__________________
Invisible Text. =P
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



ShotgunSnipist is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Register and remove this ad

All times are GMT -8. The time now is 07:06 AM.