XNA FPPTPP Game Tutorial 2 Sky

Page 3

What you need to know There are a million ways to draw the sky and each way is different taking in consideration of what you expect and needs of your game as well what you want your game to look like Drawing your sky is possibly the second complex thing to do in your game because it involves some pretty advanced stuff depending on how good you want your sky to look and it can be really easy if your only doing something simple Your particle system in your game is possibly the hardest because of the natural motion you have to impart on it and the shier scale of the physics you will have to understand to make it work and depending on your game you might not even need this but all that is for another tutorial sometime in the future First of take a look at your game or what you want it to look like do you want to draw the atmosphere with the fog/mist as well the clouds give your world an atmospheric shield what are people going to notice do you need to get to technical Im going to show you three to four different ways to draw the sky First of you have the easiest witch is to render a mesh with a texture and set it as the sky Second you have a little harder way you can make a sphere mesh and cast the image from the previous mesh through the sphere Third you can render plains for the player and fallow them around Fourth and the hardest is where you draw everything ie(clouds, stars, sun/moon, etc)


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.