SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

En vedette

Activities in teaching speaking
Activities in teaching speakingActivities in teaching speaking
Activities in teaching speaking
Draizelle Sexon
 

En vedette (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
 

Similaire à Writing Games in .NET with XNA Game Studio

Similaire à 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
 

Dernier

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Dernier (20)

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

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