Game Development Reference
In-Depth Information
plan accordingly. I suggest supporting artwork that scales up well to 1024×768 at the bare
minimum. My own games are designed for 800×480 and I scale up from there. This allows
me to target mobile browsers and also still support larger resolutions on Windows 8.
With the new pre-scaled artwork Clint added to the GitHub project I was able to get a much
more impressive-looking game to compile ( Figure 9-10 ).
Figure 9-10. After swapping out the artwork the game now looks much clearer.
You will need to go into the pre-scaled folder and copy the desired image's sizes. For Win-
dows 8, I chose the 960×720 pre-scale six folder, which is close enough to Windows 8's min-
imum screen resolution of 1024×768. You will also need to modify the config.js file to re-
flect the artwork size you are using.
So, this really took a few minutes to get up and running, but I didn't stop there. I wanted to
highlight a few cool things we can do with Node.js and Grunt to allow you to still maintain a
Search WWH ::




Custom Search