SlideShare a Scribd company logo
1 of 17
writing games in .net with
     xna game studio
  North Dallas .NET User Group
           2 May 2012
          Addison, 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


•   Bastion*
•   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”
the future of xna




  “Legacy Support”
where to go from here


      Form a team

   Leverage your skills

    Learn and share

    Enter a contest!
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/nddnug-xna

Code (GitHub) bit.ly/nddnug-xna-ping

Download XNA bit.ly/nddnug-xna-get

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

       Tim G. Thomas
        Senior Consultant
           Headspring


       tim@timgthomas.com
          timgthomas.com
            @timgthomas

More Related Content

Viewers also liked

GRAMMAR TECHNIQUE: GAMES
GRAMMAR TECHNIQUE: GAMESGRAMMAR TECHNIQUE: GAMES
GRAMMAR TECHNIQUE: GAMESFarah Latiff
 
Listening and Speaking Games for Kids of All Ages
Listening and Speaking Games for Kids of All AgesListening and Speaking Games for Kids of All Ages
Listening and Speaking Games for Kids of All AgesMarsha J. Chan
 
The grammar games
The grammar gamesThe grammar games
The grammar gamesMrsOBryan
 
1 games for_grammar_practice
1 games for_grammar_practice1 games for_grammar_practice
1 games for_grammar_practiceNaty Durán
 
English Writing Skills by Atishay Jain
English Writing Skills by Atishay JainEnglish Writing Skills by Atishay Jain
English Writing Skills by Atishay JainAtishay Jain
 
How to Develop Writing Skill
How to Develop Writing SkillHow to Develop Writing Skill
How to Develop Writing SkillRajeev Ranjan
 
Listening skills
Listening skillsListening skills
Listening skillssmileyriaz
 
Class activities for developing speaking skills
Class activities for developing speaking skillsClass activities for developing speaking skills
Class activities for developing speaking skillsNourin Arshad
 
Writing Skills (Written Communication)
Writing Skills (Written Communication)Writing Skills (Written Communication)
Writing Skills (Written Communication)Mudasir Khan
 

Viewers also liked (10)

GRAMMAR TECHNIQUE: GAMES
GRAMMAR TECHNIQUE: GAMESGRAMMAR TECHNIQUE: GAMES
GRAMMAR TECHNIQUE: GAMES
 
Listening and Speaking Games for Kids of All Ages
Listening and Speaking Games for Kids of All AgesListening and Speaking Games for Kids of All Ages
Listening and Speaking Games for Kids of All Ages
 
The grammar games
The grammar gamesThe grammar games
The grammar games
 
1 games for_grammar_practice
1 games for_grammar_practice1 games for_grammar_practice
1 games for_grammar_practice
 
English Writing Skills by Atishay Jain
English Writing Skills by Atishay JainEnglish Writing Skills by Atishay Jain
English Writing Skills by Atishay Jain
 
How to Develop Writing Skill
How to Develop Writing SkillHow to Develop Writing Skill
How to Develop Writing Skill
 
Writing Skills
Writing SkillsWriting Skills
Writing Skills
 
Listening skills
Listening skillsListening skills
Listening skills
 
Class activities for developing speaking skills
Class activities for developing speaking skillsClass activities for developing speaking skills
Class activities for developing speaking skills
 
Writing Skills (Written Communication)
Writing Skills (Written Communication)Writing Skills (Written Communication)
Writing Skills (Written Communication)
 

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 - A Cross-Platform MMO (Unite Europe 2016, Amsterdam)
Albion Online - A Cross-Platform MMO (Unite Europe 2016, Amsterdam)Albion Online - A Cross-Platform MMO (Unite Europe 2016, Amsterdam)
Albion Online - A Cross-Platform MMO (Unite Europe 2016, Amsterdam)David Salz
 
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
 
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
 
+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
 
Landscape Of Virtual World Systems
Landscape Of Virtual World SystemsLandscape Of Virtual World Systems
Landscape Of Virtual World SystemsTim Holt
 
XNA And Silverlight
XNA And SilverlightXNA And Silverlight
XNA And SilverlightAaron King
 
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
 
Delta Engine @ CeBit 2011
Delta Engine @ CeBit 2011Delta Engine @ CeBit 2011
Delta Engine @ CeBit 2011Karsten Wysk
 

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
 
XNA Intro Workshop
XNA Intro WorkshopXNA Intro Workshop
XNA Intro Workshop
 
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 Demo.Ppt
Xna Demo.PptXna Demo.Ppt
Xna Demo.Ppt
 
Albion Online - A Cross-Platform MMO (Unite Europe 2016, Amsterdam)
Albion Online - A Cross-Platform MMO (Unite Europe 2016, Amsterdam)Albion Online - A Cross-Platform MMO (Unite Europe 2016, Amsterdam)
Albion Online - A Cross-Platform MMO (Unite Europe 2016, Amsterdam)
 
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...
 
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)
 
+Computer games careers
+Computer games careers+Computer games careers
+Computer games careers
 
Deakin
DeakinDeakin
Deakin
 
Casual Engines 2009
Casual Engines 2009Casual Engines 2009
Casual Engines 2009
 
Landscape Of Virtual World Systems
Landscape Of Virtual World SystemsLandscape Of Virtual World Systems
Landscape Of Virtual World Systems
 
introduction to Xna
introduction to Xna introduction to Xna
introduction to Xna
 
XNA And Silverlight
XNA And SilverlightXNA And Silverlight
XNA And Silverlight
 
Resume
ResumeResume
Resume
 
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
 
Xna
XnaXna
Xna
 
Industry awareness
Industry awarenessIndustry awareness
Industry awareness
 
Delta Engine @ CeBit 2011
Delta Engine @ CeBit 2011Delta Engine @ CeBit 2011
Delta Engine @ CeBit 2011
 

Recently uploaded

Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Fact vs. Fiction: Autodetecting Hallucinations in LLMs
Fact vs. Fiction: Autodetecting Hallucinations in LLMsFact vs. Fiction: Autodetecting Hallucinations in LLMs
Fact vs. Fiction: Autodetecting Hallucinations in LLMsZilliz
 
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
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
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
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
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
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
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
 
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
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Visualising and forecasting stocks using Dash
Visualising and forecasting stocks using DashVisualising and forecasting stocks using Dash
Visualising and forecasting stocks using Dashnarutouzumaki53779
 
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
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
[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
 

Recently uploaded (20)

Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Fact vs. Fiction: Autodetecting Hallucinations in LLMs
Fact vs. Fiction: Autodetecting Hallucinations in LLMsFact vs. Fiction: Autodetecting Hallucinations in LLMs
Fact vs. Fiction: Autodetecting Hallucinations in LLMs
 
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...
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
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
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
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...
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
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
 
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
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Visualising and forecasting stocks using Dash
Visualising and forecasting stocks using DashVisualising and forecasting stocks using Dash
Visualising and forecasting stocks using Dash
 
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
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
[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
 

Writing Games in .NET with XNA Game Studio

  • 1. writing games in .net with xna game studio North Dallas .NET User Group 2 May 2012 Addison, 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 • Bastion* • 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. the future of xna “Legacy Support”
  • 13. where to go from here Form a team Leverage your skills Learn and share Enter a contest!
  • 14. 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
  • 15. 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
  • 16. presentation resources Slides slidesha.re/nddnug-xna Code (GitHub) bit.ly/nddnug-xna-ping Download XNA bit.ly/nddnug-xna-get Rate Me! spkr8.com/t/10101
  • 17. thanks for your attendance Tim G. Thomas Senior Consultant Headspring tim@timgthomas.com timgthomas.com @timgthomas

Editor's Notes

  1. Desktop: In Windows 8 x86, legacy languages are supported, so XNA games will still runXbox: Xbox Live Indie Games and many XBLA games are written in XNAWP7: WP7 supports XNA and not all phones will get WP8