SlideShare a Scribd company logo
1 of 1
Microsoft XNA 3.0:
In the past couple of months I was working on a project, where I had to develop a game on the .Net
framework. While searching about how to design games, I came across an online tutorial about the XNA
game development framework, and was amazed by the flexibility it provides for the developer, even if
he was just a beginner. Before I go into details about what is XNA, let me tell you that this was my first
game. And although my previous knowledge in C# did help me through this project, it is easy to start
with XNA with minimum programming experience.
What is Microsoft XNA???
It is a set of tools (framework) that facilitates game development, code resulting from programming on
this work can target either Microsoft XBOX or Microsoft Windows as a platform. The latest available
version of this framework is Microsoft XNA 3.1.
What do you need to start??
All you need is Visual c# express edition (having Visual studio is better but not necessary), and of course
the XNA game studio (latest version is 3.1).
How it works??
Similar to when you create any new project, when you create a new Microsoft XNA project, you will find
2 pre-created classes, Program.cs and Game1.cs. The first class contains the “main function” where an
instant of the second class is created to launch the game, we don’t edit in the Program.cs, most of the
work is done either in Game1.cs or other classes that we create.
Now when you go to Game1.cs, you will find a set of functions that are already created. These functions
is where you will program your game, these functions are:
1- Initialize: this is where you initialize all the variables, classes, timers… that you will use through
the entire game.
2- Load: here is where you load the graphical and audio content to be used in the game from their
significant files.
3- Update: here is where you write the main algorithm of the game
4- Draw: this is the function that communicates between your code and the graphics device
manager to make the graphics appear on your screen.
What is Next??
If you are interested in starting using XNA, your first stop should be at: http://creators.xna.com/en-US/
Have a nice time Gaming!!!

More Related Content

Viewers also liked

Viewers also liked (7)

Lucid Welcome Presentation
Lucid Welcome PresentationLucid Welcome Presentation
Lucid Welcome Presentation
 
Interactive Artificial Learning in Multi-agent Systems
Interactive Artificial Learning in Multi-agent Systems Interactive Artificial Learning in Multi-agent Systems
Interactive Artificial Learning in Multi-agent Systems
 
LUCID demonstrator: Co-loco
LUCID demonstrator: Co-locoLUCID demonstrator: Co-loco
LUCID demonstrator: Co-loco
 
7erfaNet
7erfaNet7erfaNet
7erfaNet
 
Lucid demonstrator: Messageboard Blogspot
Lucid demonstrator: Messageboard BlogspotLucid demonstrator: Messageboard Blogspot
Lucid demonstrator: Messageboard Blogspot
 
3alem soora : Submission to ITU competition
3alem soora : Submission to ITU competition3alem soora : Submission to ITU competition
3alem soora : Submission to ITU competition
 
Report on Knowledge Modeling in Various applications in Traffic Systems
Report on Knowledge Modeling in Various applications in Traffic SystemsReport on Knowledge Modeling in Various applications in Traffic Systems
Report on Knowledge Modeling in Various applications in Traffic Systems
 

Similar to Beginners XNA

Game programming workshop
Game programming workshopGame programming workshop
Game programming workshopnarigadu
 
Beginning Game Development in XNA
Beginning Game Development in XNABeginning Game Development in XNA
Beginning Game Development in XNAguest9e9355e
 
Beginning Game Development in XNA
Beginning Game Development in XNABeginning Game Development in XNA
Beginning Game Development in XNAguest9e9355e
 
DSC RNGPIT - Getting Started with Game Development Day 1
DSC RNGPIT - Getting Started with Game Development Day 1DSC RNGPIT - Getting Started with Game Development Day 1
DSC RNGPIT - Getting Started with Game Development Day 1DeepMevada1
 
Game UI Development_1
Game UI Development_1Game UI Development_1
Game UI Development_1Felipe Ramos
 
Introduction to html5 game programming with impact js
Introduction to html5 game programming with impact jsIntroduction to html5 game programming with impact js
Introduction to html5 game programming with impact jsLuca Galli
 
The Basics of Unity - The Game Engine
The Basics of Unity - The Game EngineThe Basics of Unity - The Game Engine
The Basics of Unity - The Game EngineOrisysIndia
 
unity gaming programing basics for students ppt
unity gaming programing basics for students pptunity gaming programing basics for students ppt
unity gaming programing basics for students pptKathiriyaParthiv
 
Lecture 3 INTRODUCTION TO COMPUTER
Lecture 3 INTRODUCTION TO COMPUTERLecture 3 INTRODUCTION TO COMPUTER
Lecture 3 INTRODUCTION TO COMPUTERSultan Omar Shige
 
Game software development trends
Game software development trendsGame software development trends
Game software development trends_veronika_
 
Game Development Session - 3 | Introduction to Unity
Game Development Session - 3 | Introduction to  UnityGame Development Session - 3 | Introduction to  Unity
Game Development Session - 3 | Introduction to UnityKoderunners
 
Unity Game Engine - Basics
Unity Game Engine - BasicsUnity Game Engine - Basics
Unity Game Engine - BasicsFirosK2
 
Punto 15 sena 2
Punto 15 sena 2Punto 15 sena 2
Punto 15 sena 2Julio
 

Similar to Beginners XNA (20)

Xna game development
Xna game developmentXna game development
Xna game development
 
Presentación Unity
Presentación UnityPresentación Unity
Presentación Unity
 
Game programming workshop
Game programming workshopGame programming workshop
Game programming workshop
 
Beginning Game Development in XNA
Beginning Game Development in XNABeginning Game Development in XNA
Beginning Game Development in XNA
 
Beginning Game Development in XNA
Beginning Game Development in XNABeginning Game Development in XNA
Beginning Game Development in XNA
 
Imaginecup
ImaginecupImaginecup
Imaginecup
 
DSC RNGPIT - Getting Started with Game Development Day 1
DSC RNGPIT - Getting Started with Game Development Day 1DSC RNGPIT - Getting Started with Game Development Day 1
DSC RNGPIT - Getting Started with Game Development Day 1
 
Game UI Development_1
Game UI Development_1Game UI Development_1
Game UI Development_1
 
Introduction to html5 game programming with impact js
Introduction to html5 game programming with impact jsIntroduction to html5 game programming with impact js
Introduction to html5 game programming with impact js
 
HTML5 Game Development frameworks overview
HTML5 Game Development frameworks overviewHTML5 Game Development frameworks overview
HTML5 Game Development frameworks overview
 
The Basics of Unity - The Game Engine
The Basics of Unity - The Game EngineThe Basics of Unity - The Game Engine
The Basics of Unity - The Game Engine
 
unity gaming programing basics for students ppt
unity gaming programing basics for students pptunity gaming programing basics for students ppt
unity gaming programing basics for students ppt
 
Xna Demo.Ppt
Xna Demo.PptXna Demo.Ppt
Xna Demo.Ppt
 
Presentation3
Presentation3Presentation3
Presentation3
 
Lecture 3 INTRODUCTION TO COMPUTER
Lecture 3 INTRODUCTION TO COMPUTERLecture 3 INTRODUCTION TO COMPUTER
Lecture 3 INTRODUCTION TO COMPUTER
 
Game software development trends
Game software development trendsGame software development trends
Game software development trends
 
Game Development Session - 3 | Introduction to Unity
Game Development Session - 3 | Introduction to  UnityGame Development Session - 3 | Introduction to  Unity
Game Development Session - 3 | Introduction to Unity
 
Unity Game Engine - Basics
Unity Game Engine - BasicsUnity Game Engine - Basics
Unity Game Engine - Basics
 
Punto 15 sena 2
Punto 15 sena 2Punto 15 sena 2
Punto 15 sena 2
 
Flash
FlashFlash
Flash
 

More from Yomna Mahmoud Ibrahim Hassan

1Computer Graphics new-L1-Introduction to Computer Graphics.pdf
1Computer Graphics new-L1-Introduction to Computer Graphics.pdf1Computer Graphics new-L1-Introduction to Computer Graphics.pdf
1Computer Graphics new-L1-Introduction to Computer Graphics.pdfYomna Mahmoud Ibrahim Hassan
 
Human Computer Interaction-fall2021 - CSC341-L1.pptx.pdf
Human Computer Interaction-fall2021 - CSC341-L1.pptx.pdfHuman Computer Interaction-fall2021 - CSC341-L1.pptx.pdf
Human Computer Interaction-fall2021 - CSC341-L1.pptx.pdfYomna Mahmoud Ibrahim Hassan
 
Word Tagging using Max Entropy Model and Feature selection
Word Tagging using Max Entropy Model and Feature selection Word Tagging using Max Entropy Model and Feature selection
Word Tagging using Max Entropy Model and Feature selection Yomna Mahmoud Ibrahim Hassan
 
Knowledge Modeling in Various applications in Traffic Systems
Knowledge Modeling in Various applications in Traffic SystemsKnowledge Modeling in Various applications in Traffic Systems
Knowledge Modeling in Various applications in Traffic SystemsYomna Mahmoud Ibrahim Hassan
 
Applicability of Interactive Genetic Algorithms to Multi-agent Systems: Exper...
Applicability of Interactive Genetic Algorithms to Multi-agent Systems: Exper...Applicability of Interactive Genetic Algorithms to Multi-agent Systems: Exper...
Applicability of Interactive Genetic Algorithms to Multi-agent Systems: Exper...Yomna Mahmoud Ibrahim Hassan
 
Genetic Algorithms in Repeated Matrix Games: The Effects of Algorithmic Modif...
Genetic Algorithms in Repeated Matrix Games: The Effects of Algorithmic Modif...Genetic Algorithms in Repeated Matrix Games: The Effects of Algorithmic Modif...
Genetic Algorithms in Repeated Matrix Games: The Effects of Algorithmic Modif...Yomna Mahmoud Ibrahim Hassan
 
How a company may expand its share in the student/university market segment f...
How a company may expand its share in the student/university market segment f...How a company may expand its share in the student/university market segment f...
How a company may expand its share in the student/university market segment f...Yomna Mahmoud Ibrahim Hassan
 
Using Information Systems to Improve Businesses: The present and the future
Using Information Systems to Improve Businesses: The present and the futureUsing Information Systems to Improve Businesses: The present and the future
Using Information Systems to Improve Businesses: The present and the futureYomna Mahmoud Ibrahim Hassan
 
ECG beats classification using multiclass SVMs with ECOC
ECG beats classification using multiclass SVMs with ECOCECG beats classification using multiclass SVMs with ECOC
ECG beats classification using multiclass SVMs with ECOCYomna Mahmoud Ibrahim Hassan
 
Study of the behavior of different algorithms in 2*2 matrix games through rou...
Study of the behavior of different algorithms in 2*2 matrix games through rou...Study of the behavior of different algorithms in 2*2 matrix games through rou...
Study of the behavior of different algorithms in 2*2 matrix games through rou...Yomna Mahmoud Ibrahim Hassan
 
Interactive Genetic Algorithms in Multi-Agents Systems : Smart grids as an ap...
Interactive Genetic Algorithms in Multi-Agents Systems : Smart grids as an ap...Interactive Genetic Algorithms in Multi-Agents Systems : Smart grids as an ap...
Interactive Genetic Algorithms in Multi-Agents Systems : Smart grids as an ap...Yomna Mahmoud Ibrahim Hassan
 

More from Yomna Mahmoud Ibrahim Hassan (20)

W1_CourseIntroduction.pptx advancedgraphics
W1_CourseIntroduction.pptx advancedgraphicsW1_CourseIntroduction.pptx advancedgraphics
W1_CourseIntroduction.pptx advancedgraphics
 
First Umrah Application Details - A proposal
First Umrah Application Details - A  proposalFirst Umrah Application Details - A  proposal
First Umrah Application Details - A proposal
 
1Computer Graphics new-L1-Introduction to Computer Graphics.pdf
1Computer Graphics new-L1-Introduction to Computer Graphics.pdf1Computer Graphics new-L1-Introduction to Computer Graphics.pdf
1Computer Graphics new-L1-Introduction to Computer Graphics.pdf
 
Introduction to Google Colaboratory.pdf
Introduction to Google Colaboratory.pdfIntroduction to Google Colaboratory.pdf
Introduction to Google Colaboratory.pdf
 
Human Computer Interaction-fall2021 - CSC341-L1.pptx.pdf
Human Computer Interaction-fall2021 - CSC341-L1.pptx.pdfHuman Computer Interaction-fall2021 - CSC341-L1.pptx.pdf
Human Computer Interaction-fall2021 - CSC341-L1.pptx.pdf
 
Word Tagging using Max Entropy Model and Feature selection
Word Tagging using Max Entropy Model and Feature selection Word Tagging using Max Entropy Model and Feature selection
Word Tagging using Max Entropy Model and Feature selection
 
Social Learning
Social LearningSocial Learning
Social Learning
 
Planning Innovation
Planning InnovationPlanning Innovation
Planning Innovation
 
Knowledge Modeling in Various applications in Traffic Systems
Knowledge Modeling in Various applications in Traffic SystemsKnowledge Modeling in Various applications in Traffic Systems
Knowledge Modeling in Various applications in Traffic Systems
 
Yomna Hassan CV 2014
Yomna Hassan CV 2014Yomna Hassan CV 2014
Yomna Hassan CV 2014
 
Image Annotation
Image AnnotationImage Annotation
Image Annotation
 
Heterogeneous data annotation
Heterogeneous data annotationHeterogeneous data annotation
Heterogeneous data annotation
 
Applicability of Interactive Genetic Algorithms to Multi-agent Systems: Exper...
Applicability of Interactive Genetic Algorithms to Multi-agent Systems: Exper...Applicability of Interactive Genetic Algorithms to Multi-agent Systems: Exper...
Applicability of Interactive Genetic Algorithms to Multi-agent Systems: Exper...
 
Genetic Algorithms in Repeated Matrix Games: The Effects of Algorithmic Modif...
Genetic Algorithms in Repeated Matrix Games: The Effects of Algorithmic Modif...Genetic Algorithms in Repeated Matrix Games: The Effects of Algorithmic Modif...
Genetic Algorithms in Repeated Matrix Games: The Effects of Algorithmic Modif...
 
Sparks RSS Reader
Sparks RSS ReaderSparks RSS Reader
Sparks RSS Reader
 
How a company may expand its share in the student/university market segment f...
How a company may expand its share in the student/university market segment f...How a company may expand its share in the student/university market segment f...
How a company may expand its share in the student/university market segment f...
 
Using Information Systems to Improve Businesses: The present and the future
Using Information Systems to Improve Businesses: The present and the futureUsing Information Systems to Improve Businesses: The present and the future
Using Information Systems to Improve Businesses: The present and the future
 
ECG beats classification using multiclass SVMs with ECOC
ECG beats classification using multiclass SVMs with ECOCECG beats classification using multiclass SVMs with ECOC
ECG beats classification using multiclass SVMs with ECOC
 
Study of the behavior of different algorithms in 2*2 matrix games through rou...
Study of the behavior of different algorithms in 2*2 matrix games through rou...Study of the behavior of different algorithms in 2*2 matrix games through rou...
Study of the behavior of different algorithms in 2*2 matrix games through rou...
 
Interactive Genetic Algorithms in Multi-Agents Systems : Smart grids as an ap...
Interactive Genetic Algorithms in Multi-Agents Systems : Smart grids as an ap...Interactive Genetic Algorithms in Multi-Agents Systems : Smart grids as an ap...
Interactive Genetic Algorithms in Multi-Agents Systems : Smart grids as an ap...
 

Beginners XNA

  • 1. Microsoft XNA 3.0: In the past couple of months I was working on a project, where I had to develop a game on the .Net framework. While searching about how to design games, I came across an online tutorial about the XNA game development framework, and was amazed by the flexibility it provides for the developer, even if he was just a beginner. Before I go into details about what is XNA, let me tell you that this was my first game. And although my previous knowledge in C# did help me through this project, it is easy to start with XNA with minimum programming experience. What is Microsoft XNA??? It is a set of tools (framework) that facilitates game development, code resulting from programming on this work can target either Microsoft XBOX or Microsoft Windows as a platform. The latest available version of this framework is Microsoft XNA 3.1. What do you need to start?? All you need is Visual c# express edition (having Visual studio is better but not necessary), and of course the XNA game studio (latest version is 3.1). How it works?? Similar to when you create any new project, when you create a new Microsoft XNA project, you will find 2 pre-created classes, Program.cs and Game1.cs. The first class contains the “main function” where an instant of the second class is created to launch the game, we don’t edit in the Program.cs, most of the work is done either in Game1.cs or other classes that we create. Now when you go to Game1.cs, you will find a set of functions that are already created. These functions is where you will program your game, these functions are: 1- Initialize: this is where you initialize all the variables, classes, timers… that you will use through the entire game. 2- Load: here is where you load the graphical and audio content to be used in the game from their significant files. 3- Update: here is where you write the main algorithm of the game 4- Draw: this is the function that communicates between your code and the graphics device manager to make the graphics appear on your screen. What is Next?? If you are interested in starting using XNA, your first stop should be at: http://creators.xna.com/en-US/ Have a nice time Gaming!!!