Game Development Reference
In-Depth Information
Figure 2-9. Here is the deafult project structure of a Windows 8 HTML5 project.
There are some important directories and files you should know about:
default.html - This is the main page of your project. Think of it as the index.html file
you would typically create to host your game.
js Directory - This is where you will find the default.js file, which sets up your project's
code when the default.html is run. While this file is optional, you will need to follow a
similar setup in your own game if you choose not to use it. I will talk about this more
later on in the chapter.
images Directory - This is your default directory for images. It contains your applica-
tion's loading screen, icons, and store graphics. You can also place your own images in
this folder as well.
css Directory - This contains the app's default CSS. This file simply contains a few
meta tags to support different resolutions in your app. You can usually ignore or override
it.
There is also one more important file we should look at in your project's folder: the pack-
age.appxmanifest file. If you double click on this, you will be presented with different op-
tions to configure your project ( Figure 2-10 ).
Search WWH ::




Custom Search