SlideShare a Scribd company logo
1 of 16
writing games in .net with
     xna game studio
      Dallas Day of .NET
          9 March 2012
          Dallas, Texas
your presenter

 Tim G. Thomas
  Senior Consultant
     Headspring


 tim@timgthomas.com
    timgthomas.com
      @timgthomas
a brief introduction

 Game Development Framework

  Released by Microsoft in 2006

C# or VisualBasic (Managed code)

 Built on components of DirectX

    Supports 2D + 3D games
game publishing platforms


           Windows

 Xbox 360 (Indie Games, Arcade)

       Windows Phone 7
successful xna projects


•   Schizoid
•   Magicka
•   Terraria
•   Sol Survivor
the xna project structure

• Game project
  • Teh codez
• Content project
  •   Images
  •   Sounds
  •   3D models
  •   Typefaces
typical game structure

    Game Initialization
     Content Loading
       Game Loops
            ...
    Content Unloading
        Game Exit
game loops
    Update() + Draw()
   Update() called at 60Hz
 Perform autonomous updates
Wait for and respond to user input
  Draw() immediately after
     Update visible graphics


Be wary of CPU/GPU constraints
the Game object
•   Initialization
•   Content loading/unloading
•   Game loops
•   Component management
    • Mini-games
    • Separate Update() and Draw() methods
    • Linked to Game calls
the content pipeline
• “Compiles” game assets during a build
• Included processors:
  • XML » Object
  •   Textures » textures
  •   3D models » vertices, textures, etc.
  •   Audio (XACT) » audio files
  •   Typefaces » sprite fonts
• Custom processors
demo

“Ping”
other considerations


   Game complexity

       Testing

      Windows 8
microsoft’s “dream build play”


         15 May – 12 June 2012

     Windows Phone 7 + Xbox 360

Judged on “fun factor”, innovation, polish

        Over $110,000 in prizes
educational resources


        App Hub create.msdn.com

  XNA Team Blog blogs.msdn.com/b/xna

Shawn Hargreaves blogs.msdn.com/shawnhar

  Renaud Bédard theinstructionlimit.com
presentation resources


        Slides slidesha.re/dodn12-xna

Code (GitHub) bit.ly/dodn12-xna-code

Download XNA bit.ly/dodn12-xna-get

     Rate Me! spkr8.com/t/9414
thanks for your attendance

       Tim G. Thomas
        Senior Consultant
           Headspring


       tim@timgthomas.com
          timgthomas.com
            @timgthomas

More Related Content

Viewers also liked

Writing Skills: WWTM GAME
Writing Skills: WWTM GAMEWriting Skills: WWTM GAME
Writing Skills: WWTM GAMEBreenLi
 
12 game học tiếng Anh tốt nhất cho trẻ năm 2014
12 game học tiếng Anh tốt nhất cho trẻ năm 201412 game học tiếng Anh tốt nhất cho trẻ năm 2014
12 game học tiếng Anh tốt nhất cho trẻ năm 2014NAHI Kids
 
MEXTESOL 2016 Teaching Writing (workshop)
MEXTESOL 2016 Teaching Writing (workshop)MEXTESOL 2016 Teaching Writing (workshop)
MEXTESOL 2016 Teaching Writing (workshop)Laura Sagert
 
KSSR English Lesson Plan Template
KSSR English Lesson Plan TemplateKSSR English Lesson Plan Template
KSSR English Lesson Plan TemplateCynthia James
 
Games in teaching english
Games in teaching english Games in teaching english
Games in teaching english crisrojas78
 
Trò chơi kim tự tháp
Trò chơi kim tự thápTrò chơi kim tự tháp
Trò chơi kim tự thápTo_nhu
 
Activities in teaching speaking
Activities in teaching speakingActivities in teaching speaking
Activities in teaching speakingDraizelle Sexon
 
Class activities for developing speaking skills
Class activities for developing speaking skillsClass activities for developing speaking skills
Class activities for developing speaking skillsNourin Arshad
 
39 Activities for English Lesson
39 Activities for English Lesson39 Activities for English Lesson
39 Activities for English Lessonyolyordam yolyordam
 

Viewers also liked (10)

Writing Skills: WWTM GAME
Writing Skills: WWTM GAMEWriting Skills: WWTM GAME
Writing Skills: WWTM GAME
 
12 game học tiếng Anh tốt nhất cho trẻ năm 2014
12 game học tiếng Anh tốt nhất cho trẻ năm 201412 game học tiếng Anh tốt nhất cho trẻ năm 2014
12 game học tiếng Anh tốt nhất cho trẻ năm 2014
 
MEXTESOL 2016 Teaching Writing (workshop)
MEXTESOL 2016 Teaching Writing (workshop)MEXTESOL 2016 Teaching Writing (workshop)
MEXTESOL 2016 Teaching Writing (workshop)
 
KSSR English Lesson Plan Template
KSSR English Lesson Plan TemplateKSSR English Lesson Plan Template
KSSR English Lesson Plan Template
 
Games in teaching english
Games in teaching english Games in teaching english
Games in teaching english
 
Teaching writing
Teaching writingTeaching writing
Teaching writing
 
Trò chơi kim tự tháp
Trò chơi kim tự thápTrò chơi kim tự tháp
Trò chơi kim tự tháp
 
Activities in teaching speaking
Activities in teaching speakingActivities in teaching speaking
Activities in teaching speaking
 
Class activities for developing speaking skills
Class activities for developing speaking skillsClass activities for developing speaking skills
Class activities for developing speaking skills
 
39 Activities for English Lesson
39 Activities for English Lesson39 Activities for English Lesson
39 Activities for English Lesson
 

Similar to Writing Games in .NET with XNA Game Studio

Intro to Indie Game Development
Intro to Indie Game DevelopmentIntro to Indie Game Development
Intro to Indie Game DevelopmentShahed Chowdhuri
 
Game development -session on unity 3d
Game development -session on unity 3d Game development -session on unity 3d
Game development -session on unity 3d Muhammad Maaz Irfan
 
Creating Video Games From Scratch Sky Con
Creating Video Games From Scratch Sky ConCreating Video Games From Scratch Sky Con
Creating Video Games From Scratch Sky ConMartha Rotter
 
Albion Online - Software Architecture of an MMO (talk at Quo Vadis 2016, Berlin)
Albion Online - Software Architecture of an MMO (talk at Quo Vadis 2016, Berlin)Albion Online - Software Architecture of an MMO (talk at Quo Vadis 2016, Berlin)
Albion Online - Software Architecture of an MMO (talk at Quo Vadis 2016, Berlin)David Salz
 
Building a Windows 10 Game with C#, XAML and Win2D
Building a Windows 10 Game with C#, XAML and Win2DBuilding a Windows 10 Game with C#, XAML and Win2D
Building a Windows 10 Game with C#, XAML and Win2DNick Landry
 
Road to Success (July 1st) - Mobile Game Development Alternatives - Andrew Bu...
Road to Success (July 1st) - Mobile Game Development Alternatives - Andrew Bu...Road to Success (July 1st) - Mobile Game Development Alternatives - Andrew Bu...
Road to Success (July 1st) - Mobile Game Development Alternatives - Andrew Bu...SanaChoudary
 
+Computer games careers
+Computer games careers+Computer games careers
+Computer games careerswalid sassi
 
Casual Engines 2009
Casual Engines 2009Casual Engines 2009
Casual Engines 2009David Fox
 
Akshay-UNIT 20-LO-1,2,3&4-FINAL
Akshay-UNIT 20-LO-1,2,3&4-FINALAkshay-UNIT 20-LO-1,2,3&4-FINAL
Akshay-UNIT 20-LO-1,2,3&4-FINALAkshay
 
Delta Engine @ CeBit 2011
Delta Engine @ CeBit 2011Delta Engine @ CeBit 2011
Delta Engine @ CeBit 2011Karsten Wysk
 
Video game development for everybody
Video game development for everybodyVideo game development for everybody
Video game development for everybodySarah Sexton
 
game development
game  developmentgame  development
game developmentumair khan
 
Landscape Of Virtual World Systems
Landscape Of Virtual World SystemsLandscape Of Virtual World Systems
Landscape Of Virtual World SystemsTim Holt
 

Similar to Writing Games in .NET with XNA Game Studio (20)

Xna game development
Xna game developmentXna game development
Xna game development
 
Intro to Indie Game Development
Intro to Indie Game DevelopmentIntro to Indie Game Development
Intro to Indie Game Development
 
Game development -session on unity 3d
Game development -session on unity 3d Game development -session on unity 3d
Game development -session on unity 3d
 
Creating Video Games From Scratch Sky Con
Creating Video Games From Scratch Sky ConCreating Video Games From Scratch Sky Con
Creating Video Games From Scratch Sky Con
 
XNA Intro Workshop
XNA Intro WorkshopXNA Intro Workshop
XNA Intro Workshop
 
Albion Online - Software Architecture of an MMO (talk at Quo Vadis 2016, Berlin)
Albion Online - Software Architecture of an MMO (talk at Quo Vadis 2016, Berlin)Albion Online - Software Architecture of an MMO (talk at Quo Vadis 2016, Berlin)
Albion Online - Software Architecture of an MMO (talk at Quo Vadis 2016, Berlin)
 
Building a Windows 10 Game with C#, XAML and Win2D
Building a Windows 10 Game with C#, XAML and Win2DBuilding a Windows 10 Game with C#, XAML and Win2D
Building a Windows 10 Game with C#, XAML and Win2D
 
Road to Success (July 1st) - Mobile Game Development Alternatives - Andrew Bu...
Road to Success (July 1st) - Mobile Game Development Alternatives - Andrew Bu...Road to Success (July 1st) - Mobile Game Development Alternatives - Andrew Bu...
Road to Success (July 1st) - Mobile Game Development Alternatives - Andrew Bu...
 
+Computer games careers
+Computer games careers+Computer games careers
+Computer games careers
 
introduction to Xna
introduction to Xna introduction to Xna
introduction to Xna
 
Casual Engines 2009
Casual Engines 2009Casual Engines 2009
Casual Engines 2009
 
Xna Demo.Ppt
Xna Demo.PptXna Demo.Ppt
Xna Demo.Ppt
 
Akshay-UNIT 20-LO-1,2,3&4-FINAL
Akshay-UNIT 20-LO-1,2,3&4-FINALAkshay-UNIT 20-LO-1,2,3&4-FINAL
Akshay-UNIT 20-LO-1,2,3&4-FINAL
 
Deakin
DeakinDeakin
Deakin
 
Delta Engine @ CeBit 2011
Delta Engine @ CeBit 2011Delta Engine @ CeBit 2011
Delta Engine @ CeBit 2011
 
Resume
ResumeResume
Resume
 
Video game development for everybody
Video game development for everybodyVideo game development for everybody
Video game development for everybody
 
Industry awareness
Industry awarenessIndustry awareness
Industry awareness
 
game development
game  developmentgame  development
game development
 
Landscape Of Virtual World Systems
Landscape Of Virtual World SystemsLandscape Of Virtual World Systems
Landscape Of Virtual World Systems
 

Recently uploaded

Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Scott Andery
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...panagenda
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 

Recently uploaded (20)

Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 

Writing Games in .NET with XNA Game Studio

  • 1. writing games in .net with xna game studio Dallas Day of .NET 9 March 2012 Dallas, Texas
  • 2. your presenter Tim G. Thomas Senior Consultant Headspring tim@timgthomas.com timgthomas.com @timgthomas
  • 3. a brief introduction Game Development Framework Released by Microsoft in 2006 C# or VisualBasic (Managed code) Built on components of DirectX Supports 2D + 3D games
  • 4. game publishing platforms Windows Xbox 360 (Indie Games, Arcade) Windows Phone 7
  • 5. successful xna projects • Schizoid • Magicka • Terraria • Sol Survivor
  • 6. the xna project structure • Game project • Teh codez • Content project • Images • Sounds • 3D models • Typefaces
  • 7. typical game structure Game Initialization Content Loading Game Loops ... Content Unloading Game Exit
  • 8. game loops Update() + Draw() Update() called at 60Hz Perform autonomous updates Wait for and respond to user input Draw() immediately after Update visible graphics Be wary of CPU/GPU constraints
  • 9. the Game object • Initialization • Content loading/unloading • Game loops • Component management • Mini-games • Separate Update() and Draw() methods • Linked to Game calls
  • 10. the content pipeline • “Compiles” game assets during a build • Included processors: • XML » Object • Textures » textures • 3D models » vertices, textures, etc. • Audio (XACT) » audio files • Typefaces » sprite fonts • Custom processors
  • 12. other considerations Game complexity Testing Windows 8
  • 13. microsoft’s “dream build play” 15 May – 12 June 2012 Windows Phone 7 + Xbox 360 Judged on “fun factor”, innovation, polish Over $110,000 in prizes
  • 14. educational resources App Hub create.msdn.com XNA Team Blog blogs.msdn.com/b/xna Shawn Hargreaves blogs.msdn.com/shawnhar Renaud Bédard theinstructionlimit.com
  • 15. presentation resources Slides slidesha.re/dodn12-xna Code (GitHub) bit.ly/dodn12-xna-code Download XNA bit.ly/dodn12-xna-get Rate Me! spkr8.com/t/9414
  • 16. thanks for your attendance Tim G. Thomas Senior Consultant Headspring tim@timgthomas.com timgthomas.com @timgthomas