What's new

Need Help with C# and XNA

  • Thread starter Orphan Carpet
  • Start date
  • Views 415
O

Orphan Carpet

Cheeky Doggy
Messages
1,502
Reaction score
467
Well basicaly i just need to know how to...

1.Make a Background.

2.Put text on the background.

3.Be able to select the text and open a new page like a menu.

All using Microsoft Visual Studio 2010 and it is going to be an xbox 360 game and i will be using XNA to put it on my xbox and its in C#.

I have only just gotten this program and i have no idea how to use it. So if anyone could teach me or link me to some tutorials that would be awesome. Im pretty sure what im asking is pretty basic. I code HTML and CMD but not that much and i havnt for a while.
 
W

Wheen

Bytesexual
Retired
Messages
6,154
Reaction score
2,342
...yea... you should probably look at some tutorials, maybe get a book or two.

As for your specific question:

1)
Code:
form1.BackgroundImage = *Bitmap*;

2)
Place a label on the form and then:
Code:
label1.Text = "*Whatever the hell you want to say*";

3)
Go to the actions tab in properties while selecting the label, double click the "Click" option. It should bring you to a method, type your code for "Opening a new page like a menu" in there.
 
Z

Zer0-One

Experienced Member
Messages
2,180
Reaction score
256
lol. you're working backwards, man. you've got to learn C# first, and then think about games and XNA. check out the resources thread stickied on this board, and scroll down to "C# Ebooks"
 
Top Bottom