Difference between revisions of "Game Programming Class14"

esse quam videri
Jump to: navigation, search
(Lighting)
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Mixing 2D and 3D==
+
Cocos2D XNA http://www.cocos2dxna.com/
  
I forgot to show you last week that the spritebatch draw code need to be modified slighty in order top mix 2D and 3D
+
Originally written in python
       
 
<pre>         spriteBatch.Begin(SpriteBlendMode.AlphaBlend, SpriteSortMode.Deferred, SaveStateMode.SaveState);
 
</pre>
 
  
==Lighting==
+
Other Versions
  
The xna basic effect is a simple implementation of a [http://msdn.microsoft.com/en-us/library/bb509561%28VS.85%29.aspx HLSL] effect.
+
*http://cocos2d.org/ python
   
+
*http://www.cocos2d-iphone.org/ objective-c
HLSL is Microsoft's High level implementation of FFE Fixed Function Pipeline implemented in video hardware.</p>
+
*http://www.cocos2d-x.org/ c++
GPU Hardware does two things The vertexr shader runs first and is rasterized to 2D then the pixel shaders run.
 
  
*Vertex Shader
+
Angry Ninjas
*Pixel Shader
 
 
 
Lighting Demo with Basic Effect IntroMeshLights.zip
 
  
=HLSL=
+
https://github.com/Xamarin/AngryNinjas
HLSL Demo
 
 
[http://www.riemers.net/eng/Tutorials/XNA/Csharp/Series1/Lighting_basics.php Lighting_basics]
 
 
 
[http://www.riemers.net/eng/Tutorials/XNA/Csharp/Series3/Per-pixel_lighting.php/ Per-pixel_lighting]
 
 
 
==SkyBox==
 
 
<a href="http://www.ziggyware.com/readarticle.php?article_id=71">http://www.ziggyware.com/readarticle.php?article_id=71</a>
 
  <br>
 
            <a href="ClassSource/Projects/IntroMeshLightsSkyBox.zip">IntroMeshLightsSkyBox.zip</a>
 
            <br>
 
            <br>
 
            ??
 
            http://www.planetside.co.uk/terragen/
 
 
        </div>
 

Latest revision as of 03:57, 4 December 2013

Cocos2D XNA http://www.cocos2dxna.com/

Originally written in python

Other Versions

Angry Ninjas

https://github.com/Xamarin/AngryNinjas