1 / 38

Introduction To Windows Store Games

How to make a game using what you already know. Introduction To Windows Store Games. Chris Gardner Senior Software Engineer T & W Operations, Inc. About Me. However. What to do?. Page Source: http://www.earwolf.com/2012/01/professor-blastoff-afterthoughts-ntk/

luigi
Download Presentation

Introduction To Windows Store Games

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. How to make a game using what you already know Introduction To Windows Store Games Chris Gardner Senior Software Engineer T & W Operations, Inc.

  2. About Me

  3. However

  4. What to do? Page Source: http://www.earwolf.com/2012/01/professor-blastoff-afterthoughts-ntk/ Image Source: http://cdn.earwolf.com/wp-content/uploads/2012/01/funny-otter-thinking-math-problem-blackboard-e1327399798312.jpg

  5. Don’t Fight It Page Source: http://timsweek.blogspot.com/2010/05/10th-may-16th-may.html Image Source: http://2.bp.blogspot.com/_GGQNXs7CKns/S_YhiqWDg8I/AAAAAAAABpI/rkwmRj7bkEc/s320/Do-not-anger-the-gods1.jpg

  6. Don’t Fight It – Go With It Page Source: http://seattle.cbslocal.com/2012/12/24/microsoft-patent-allows-long-distance-hugs-handshakes/ Image Source: http://cbsseattle.files.wordpress.com/2012/12/136647288.jpg?w=450

  7. Some Stats • Windows Store Apps • 80% C# / WinRT • 14% WinJS • 6% Native

  8. Some Stats • Windows Store Apps • 80% C# / WinRT • 14% WinJS • 6% Native • Source

  9. Some Stats • Windows Store Apps • 80% C# / WinRT • 14% WinJS • 6% Native • Source • Undisclosed Page Source: http://drinkmemag.com/2010/03/the-liqourist/ Image Source: http://drinkmemag.com/wp-content/uploads/2010/03/behindthebar.jpg

  10. Apply What We Know Page Source: http://www.differentdream.com/2010/01/brain-researchers-find-ptsd-marker/ Image Source: http://www.differentdream.com/wp-content/uploads/2010/01/1083012_thinking_out_of_the_box_3.jpg

  11. Porting the Old XNA Code What do we really need to make this work as before Page Source: http://www.smbc-comics.com/index.php?db=comics&id=2158#comic Image Source: http://www.smbc-comics.com/comics/20110217.gif

  12. What we need • Player Controlled Sprites

  13. What we need • Player Controlled Sprites • Computer / AI Controlled Sprites

  14. What we need • Player Controlled Sprites • Computer / AI Controlled Sprites • Interactions

  15. What we need • Player Controlled Sprites • Touch • Computer / AI Controlled Sprites • Interactions

  16. What we need • Player Controlled Sprites • Touch • Mouse • Computer / AI Controlled Sprites • Interactions

  17. What we need • Player Controlled Sprites • Touch • Mouse • Keyboard • Computer / AI Controlled Sprites • Interactions

  18. What we need • Player Controlled Sprites • Touch • Mouse • Keyboard • Controller • Computer / AI Controlled Sprites • Interactions

  19. What we need • Player Controlled Sprites • Touch • Mouse • Keyboard • Controller • Computer / AI Controlled Sprites • Event Driven (Button Press) • Interactions

  20. What we need • Player Controlled Sprites • Touch • Mouse • Keyboard • Controller • Computer / AI Controlled Sprites • Event Driven (Button Press) • Time Driven (Automatically Created) • Interactions

  21. What we need • Player Controlled Sprites • Touch • Mouse • Keyboard • Controller • Computer / AI Controlled Sprites • Event Driven (Button Press) • Time Driven (Automatically Created) • Interactions • Collision Detection

  22. What we need • Player Controlled Sprites • Touch • Mouse • Keyboard • Controller • Computer / AI Controlled Sprites • Event Driven (Button Press) • Time Driven (Automatically Created) • Interactions • Collision Detection • State ( Score and Lives )

  23. Touting the Party Line Kool Aid is Awesome Page Source: http://hietzinger.com/2013/02/05/words-of-wisdom/ Image Source: http://hietzinger.com/wp-content/uploads/2013/02/keep-smilling-and-drink-the-kool-aid.png

  24. Data Bound Objects Do NOT do a Google Image search for “Binding”

  25. Demo 1 ( through 9 ) Let’s do this…

  26. Demo 1 Postmortem • IT WORKS!

  27. Demo 1 Postmortem • IT WORKS! • Too many things on the UI Thread

  28. Demo 1 Postmortem • IT WORKS! • Too many things on the UI Thread • INotifyPropertyChanged must be called on UI

  29. Taking a Few Liberties Let’s bend the rules a little Page Source: http://singleton-institute.com/2012/06/bending-or-breaking-the-rules-the-intrapreneurial-dilemma/ Image Source: http://singleton-institute.com/wp-content/uploads/2012/06/intrapreneurship_Bend_the_Rules-225x300.jpg

  30. UI Injection • Premise • Run everything you can in the background • When necessary, send small commands to UI

  31. Demo 2 (errrr, 10) Because, who doesn’t love threads calling threads…? Page Source: http://xkcd.com/670/ Image Source: http://imgs.xkcd.com/comics/spinal_tap_amps.png

  32. Demo 2 Postmortem • Cleaned up UI Thread • Added a LOT of complexity • Locks • await / async calls

  33. Think Like a Game Designer Who needs rules, anyway? Page Source: http://evansheline.com/2010/12/break-wall-to-escape-wait-what/ Image Source: http://evansheline.com/wp-content/uploads/2010/12/break-wall.jpg

  34. Recreate XNA!

  35. Recreate XNA! • NOTE: This code is still in “BETA”

  36. Recreate XNA! • NOTE: This code is still in “BETA” • By that, I mean the code runs so fast, the game is slightly unplayable…

  37. Demo 3 (Or something) Factory Smoke NOT Included

  38. Thank You Questions? Chris Gardner cgardner@tnwops.com http://www.tnwops.com @freestylecoder http://blog.freestylecoding.com http://www.extra-life.org/participant/cgardner

More Related