Games

blog_post_lightspot

2D Spotlight implementation (HLSL + C#)

By | Blog, Games, XNA Games | 3 Comments

Many people have been asking me how i implemented the spotlight inside my xbox game wages of war. See screenshot at top.

The red light on the left, and the spots on the wall are all the implementation of the spotlight.

I rely inside this post that you have implemented the system that i described inside my post 2D Lightning Continued.

Inside this tutorial a point light is created. Now you can use the following code to implement a spotlight class in the same manner as we did with the point light.
Basically they are almost the same, but this spotlight has some different properties to give to the Shader.

I updated the Lightning sample as that is easier (i hope) for you to understand what you have to implement to achieve this effect in your game.

The arrow keys control the angle of the spot light and up, down control the height of the spot.

Enjoy!

 

Download link:

LightningSample - Spotlight Addon (1005)

 

memory_app_wide

WP7 Game – Delta-N Memory now available for Free

By | Blog, Games, WP7, XNA Games | 2 Comments

For my work i created a Memory game, named Delta-N Memory. This game is only available for the Windows Phone a.t.m.

Quoted: “Memory Game” is a classic game with a lot of different themes to play by yourself, with friends or with your family. You can choose the single player (Arcade Mode) or fight for the first place with the highest score in the Adventure Mode. The Delta-N Memory Game is specially developed and designed for Windows Phone 7.




Button Text