"Build a 2D Top Down Game – Zero to Published"
- Posted: Jul 30, 2014 at 6:00AM
- 14,112 views
- 2 comments
Loading user information from Channel 9
Something went wrong getting user information from Channel 9
Loading user information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
You guys know how I like to highlight game dev stuff and projects. What developer hasn't thought of writing a game? What gamer hasn't thought of programming their own (okay, okay, I'm sure there are a few, but then again, they probably wouldn't be reading this blog either, so...)
When I saw this series from David Crook, a Microsoft Technical Evangelist, it went right to the top of my post list. There's Unity, Visual Studio, Windows 8.x, Windows Phone, gaming and it's 0 to Done type of series... Should be enough here to get even the starting game dev going!
Many of you know I have been waiting for the final stars to align so that I could write this article. I am pleased to announce that all issues technical and legal have been resolved, and I have been able to complete my game “Skeleton Dude”. The completed version of this game is published to the Windows 8 store and is available for download for FREE! This link will take you to the final version. So lets get started!
Download Unity for FREE!
One common misconception is that Unity costs money. That is only true if you want the PRO version. The free version is fantastic for pretty much everything an indie developer will want to do.
Create a new project
Open Unity, go to File -> New Project.
- Free version of Dungeon Kit.
- Unity VS if you are using it.
- Click here for all assets in a zip file if you are having issues. Please note that I received email permission from Icarus Studio to distribute this pack in this manner. Note that they have a paid for version that is way more awesome and is a great pack to download if you want to take this game to the next level.
Make sure you download the assets anyways, as it includes the splash screen as well as audio that I built using the Demo version of FL Studio.
Welcome to part 9! I can’t believe we are here already. Up to this point you should have a fully functioning basic game! You should have spiders being generated on a timer along with a way to destroy the spider webs, when enough webs are destroyed you should load the next level or the win level. When you take too much damage, you should be respawned at the start of the level.
In this article, we are going to cover publishing to Windows Store 8 and Windows Phone 8 Store!
- Latest version of Unity
- Developer account to publish to the stores http://msdn.microsoft.com/en-us/library/windows/apps/hh868184.aspx
- Windows 8 / 8.1 (Free trial http://technet.microsoft.com/en-us/evalcenter/hh699156.aspx)
- Windows 8 is freely upgradable to Windows 8.1
- If you are on a mac see these links for getting Windows 8 running on it. You can either use boot camp or install it as a virtual machine running inside of OSX. For some common instructions here see
- Virtual Box : http://blogs.technet.com/b/chrisavis/archive/2013/01/27/installing-windows-8-into-oracle-virtualbox-running-on-mac-os-x.aspx
- Parallels : http://blogs.technet.com/b/haroldwong/archive/2013/02/05/configuring-a-mac-for-windows-8-and-windows-phone-development-with-parallels-8-installing-and-configuring-parallels.aspx
- Visual Studio (Retail or the free Express edition)
- If you have the retail version of Visual Studio 2013, you are potentially all set. You may need the Windows Phone 8 SDK installed however and that is available herehttp://www.microsoft.com/en-us/download/details.aspx?id=35471
- If you want to develop for Windows Phone 8, http://www.visualstudio.com/downloads/download-visual-studio-vs#d-express-windows-phone
- If you want to develop for Windows Store (Windows 8) http://www.visualstudio.com/downloads/download-visual-studio-vs#d-express-windows-8
30,000 foot view
- Switch platform in Unity
- Set player settings (images, icons, etc)
- Build from Unity which creates a Visual Studio solution
- Open solution in Visual Studio
- Test the project and deploy to devices or local system
- Upload to the Windows Store and Windows Phone Store
Switch Platform to Target Platform (Windows 8 and Windows Phone 8)
- Select Windows Store
- Select Switch Platform
- Select SDK as 8.0
- Select Player Preferences to explore those settings (these can all be set later in visual studio)
- Click Build
- Create a new folder in you structure called “BuildOutput”
- Create a new folder in “BuildOutput” called “WindowsStore8″
- Create a new folder in “BuildOutput” called “WindowsStore8.1″
- Select “WindowsStore8″ as your folder
- Click build.
- Go back to your platform and set the SDK as 8.1
- Select “WindowsStore8.1″ as your folder
- Click build
- Repeat the process for WindowsPhone
WOW! This was the last article for the zero to published series. In this series we have covered everything it takes to build a top down 2D game and publish it to windows.
Download the full version of the dungeon assets maybe and start using the skills you learned in this series to do dungeon navigation, interact with more interesting enemies, add story lines etc. learn particle effects and create spells! Welcome to the world of video game development. Don’t forget that if you are reading my article series to check out my promotions tab and look for the latest promotions I am running that you can possibly win some great devices.