Mastering Game Development for Windows 8 with Unity 3D: Tips, Tricks, and Insights
Dive into the intricacies of game development for Windows 8 using Unity 3D, as seen from the perspectives of co-founders Nick Bruty and Rich Sun of Gunpowder. This guide covers essential techniques for physics puzzles, multiplayer tower defense, and slashing action games. Learn about managed and native debugging, performance issues on ARM devices, and effective store API management. Discover valuable insights on build processes, conditional steps, and optimizing your game for better performance. Perfect for developers eager to enhance their skills on the Windows 8 platform.
Mastering Game Development for Windows 8 with Unity 3D: Tips, Tricks, and Insights
E N D
Presentation Transcript
Nick Bruty • Rich Sun Co-Founders
Gunpowder • Published by Microsoft, for Windows 8 and RT • Physics Puzzle Game • Infected • Published by GluGames, for iOS and Android • Multiplayer Tower Defense Game • SushiChop • Self-Published, for iOS, Android, Mac, PC, Nook, Amazon Fire, Windows 8 and RT • Slashing Action Game Studio Portfolio
New Platform – some trickiness, but nothing out of the ordinary for a new platform. • Xbox Live – Microsoft Publishing gated • RT/.NET Framework – Not Mono • Visual Studio – Native/Managed Debugging Unity 3D for Windows 8
Basic workflow Unity3D authoring build C# and/or C++ managed wrapper code and VS Projects / Solution build Appx package or Debug deployment to Windows 8 Modern UI
David, on using MonoDevelop David, on getting to edit and debug in VS Visual Studio is the bomb.
WACK – vaguely annoying but useful. • Store API – debug / release management • Unity Windows 8 Startup Time • Managed/Native boundary performance • 3D Driver Support (external) • Surface performance issues (typical ARM stuff) • Load times • Fullscreenfx • Too many Draw calls • Complex shaders • Excessive Alpha overdraw(?) • Tile Updates are tricky • Ratings/GDF Files Notable Pitfalls
XAML XAML splash screen Loading video Tips and Trickery <Storyboard/> and animations <MediaElement/>
How to communicate from Unity-land to Windows 8 C# land • The plugin approach (not covered) • Windows 8 side delegate registration Unity3D side C# Tips and Trickery Win8 side C#
MS Build and CS Proj hacking CODE SAMPLE!!! Conditional build steps Tips and Trickery
Powershell is your friend • Msbuild is very powerful, a bit underdocumented • How to build from commandline, from a powershell script example: • Commandline building w/ msbuild Tips and Trickery
Once framework in place, porting/making a new Win8 game is pretty easy • Released March 24 • Added PubCenter ad units • Lifetime Unique Users: • SushiChop Android: 2,117,120 • SushiChopiOS: 2,800,718 • SushiChop Win8: 6,544 SushiChop
Thank You! Questions? rsun @ roguerocketgames.com