Pages

Monday, November 22, 2010

first step to xna and XBOX programming

before xna and visual studio setup you should know that your graphic card must be compatible with xna that means you should have graphic card with diret3d that support xna framework Hidef profile. Also for using xna 4 you need have  visual studio 2010 .

visualstudioxbox

 

Now created project.you can use just visual c#.net language for create project .Next you’ll see environment like above.In left sidebar you have files  of project and in middle part you’ll see code of game.if you run project  a blue window will be appeared.you can changed it easily.Just  go Draw function and change this code  GraphicsDevice.Clear(Color.CornflowerBlue); to this one  GraphicsDevice.Clear(Color.Red); and you’ill see a red windows.For now it is enough Winking smile,in following posts you’ll see more

3 comments:

  1. hey there I love the blog but this is something only me can see hahaha...
    my brother might get more addicted to playing hehehe..
    he also does this kind of programing kind of thing kidding aside I guess I should introduce your blog to him...
    nice one thanks for sharing

    ReplyDelete
  2. thanks so much for your comments ,also wait for your brother and can see more here

    ReplyDelete

linkwithin

Related Posts Plugin for WordPress, Blogger...