game development za windows phone
DESCRIPTION
Game development za Windows Phone. Toni Petrina (Microsoft MVP for C#) Ekobit. @to_pe. http://tonicodes.net/blog/. Demo time. Engines and Frameworks. Unity (FREE) GameMaker (99$ + 199$) http://www.yoyogames.com/studio MonoGame Open source XNA implementation. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Game development za Windows Phone](https://reader035.vdocuments.us/reader035/viewer/2022062520/56815eda550346895dcd775e/html5/thumbnails/1.jpg)
Game development za Windows PhoneToni Petrina (Microsoft MVP for C#)Ekobit
@to_pehttp://tonicodes.net/blog/
![Page 2: Game development za Windows Phone](https://reader035.vdocuments.us/reader035/viewer/2022062520/56815eda550346895dcd775e/html5/thumbnails/2.jpg)
Demo time
![Page 3: Game development za Windows Phone](https://reader035.vdocuments.us/reader035/viewer/2022062520/56815eda550346895dcd775e/html5/thumbnails/3.jpg)
Engines and Frameworks• Unity (FREE)• GameMaker (99$ + 199$)• http://www.yoyogames.com/studio
• MonoGame• Open source XNA implementation
![Page 4: Game development za Windows Phone](https://reader035.vdocuments.us/reader035/viewer/2022062520/56815eda550346895dcd775e/html5/thumbnails/4.jpg)
...and if I want to create engine?• C++• DirectX 3D• There is no 2D • DirectX Tool Kit (XNA-like)
• C#• SharpDX (thin wrapper)• MonoGame• XNA – limited to WP7
![Page 5: Game development za Windows Phone](https://reader035.vdocuments.us/reader035/viewer/2022062520/56815eda550346895dcd775e/html5/thumbnails/5.jpg)
Demo timeUnity
![Page 6: Game development za Windows Phone](https://reader035.vdocuments.us/reader035/viewer/2022062520/56815eda550346895dcd775e/html5/thumbnails/6.jpg)
OK, I’ll bite...MonoGame?• Yeah, MonoGame• Hey, it’s C#!• Open source (http://monogame.net/) • Just copy/paste XNA code and it will work• No MonoGame namespaces, they are still Microsoft.Xna
• More platforms• Android, iPhone, Mac, Vita, Ouya...
![Page 7: Game development za Windows Phone](https://reader035.vdocuments.us/reader035/viewer/2022062520/56815eda550346895dcd775e/html5/thumbnails/7.jpg)
Demo timeMonoGame
![Page 8: Game development za Windows Phone](https://reader035.vdocuments.us/reader035/viewer/2022062520/56815eda550346895dcd775e/html5/thumbnails/8.jpg)
Physics• Farseer engine• http://farseerphysics.codeplex.com/• Open source• Portable (based on Box2D)
• BEPUphysics• 3D• Free
![Page 9: Game development za Windows Phone](https://reader035.vdocuments.us/reader035/viewer/2022062520/56815eda550346895dcd775e/html5/thumbnails/9.jpg)
Demo timeFarseer
![Page 10: Game development za Windows Phone](https://reader035.vdocuments.us/reader035/viewer/2022062520/56815eda550346895dcd775e/html5/thumbnails/10.jpg)
SpecsThe essential stuff
![Page 11: Game development za Windows Phone](https://reader035.vdocuments.us/reader035/viewer/2022062520/56815eda550346895dcd775e/html5/thumbnails/11.jpg)
Input• Touch the screen maybe?• 4-point multi-touch• Sensors• Accelerometer, Motion API
• Camera• Or two...
![Page 12: Game development za Windows Phone](https://reader035.vdocuments.us/reader035/viewer/2022062520/56815eda550346895dcd775e/html5/thumbnails/12.jpg)
Sound & Video• XNA• (SoundEffect).Play(), MusicPlayer• VideoPlayer
• Windows Phone 8• XAudio2, WASAPI• MediaFoundation• It may be hard...
![Page 13: Game development za Windows Phone](https://reader035.vdocuments.us/reader035/viewer/2022062520/56815eda550346895dcd775e/html5/thumbnails/13.jpg)
What kind of hardware? WP7• 480x800• 4-point multi-touch• DirectX9• 256MB of RAM (or higher)• Accelerometer, ambient light sensor,
proximity sensor and Assisted GPS• Maybe front-facing camera, compass and
gyroscope
![Page 14: Game development za Windows Phone](https://reader035.vdocuments.us/reader035/viewer/2022062520/56815eda550346895dcd775e/html5/thumbnails/14.jpg)
What kind of hardware? WP8• 480x800, 720x1280, 768x1280• 4-point multi-touch• DirectX 11 (limited)• 512MB of RAM (or higher)• Dual-core• Accelerometer, proximity and ambient
light sensors, as well as vibration motor (magnetometer and gyroscope are optional)
![Page 15: Game development za Windows Phone](https://reader035.vdocuments.us/reader035/viewer/2022062520/56815eda550346895dcd775e/html5/thumbnails/15.jpg)
Windows 8?• Why would I care?• Ahem...money?
• Is it easy?• Kinda...
• Lots of code sharing• Lots of differences
![Page 16: Game development za Windows Phone](https://reader035.vdocuments.us/reader035/viewer/2022062520/56815eda550346895dcd775e/html5/thumbnails/16.jpg)
Summary• XNA• WP8 possible (reflection, IAP), but there are problems • With MonoGame – multiplatform approach
• DirectX• Hard, C++, thin wrapper possible with SharpDX• Portable to Windows Store
• Unity/other engines• Multiplatform approach, pipeline, support• Price
![Page 17: Game development za Windows Phone](https://reader035.vdocuments.us/reader035/viewer/2022062520/56815eda550346895dcd775e/html5/thumbnails/17.jpg)
Messages for takeaway• Make games, not engines
• Be creative
• Be mindful of constraints
• Have fun
![Page 18: Game development za Windows Phone](https://reader035.vdocuments.us/reader035/viewer/2022062520/56815eda550346895dcd775e/html5/thumbnails/18.jpg)