Monday, April 09, 2007

SOME CODE SNIPPETS, EXAMPLES AND TOOLS

Dean Lunz published a set of samples, code snippets and projects, all related to XNA.

Among the above-mention resources, you will find:

  • Kabombulator: a rts game where the goal is to both defend your base as well as send out troops to destroy your enemies base,
  • xGameConsoleXNA: a easy to use in game console system,
  • TextFileContentProcessors: allows the use of text files as game assets using content pipeline, and
  • XNAContentCode: generates so as to reference game assets directly without using strings.
For the complete list of projects and tools, please visit Dean's blog.

WANT TO WIN A 360?

DotNetSlackers announced a contest with the chance to win 1 of 3 Xbox 360 Core Systems. How? Just writing an article.

From the post: "... DotNetSlackers is proud to present its authors with the chance to win 1 of 3 Xbox 360 Core Systems (worth 299$). Simply write an article for DotNetSlackers, following our Submission Guidelines, and you’ll automatically have a chance to win 1 of 3 XBoxs. It couldn’t be simpler!

Every month, for three months, registered DotNetSlackers users will have the opportunity to vote for their favorite DotNetSlackers article and the winning author gets a brand new Xbox 360! ...".

Hurry up!

TUTORIAL: LAMP LIGHTING

Rick Hoskinson published a post about shaders used for "faceted" lamps, or lamps without curved surfaces.

From Rick's post: "... Early on, I decided I wanted to blur the line between realism and style for this title. Obviously, any game featuring ghosts and river spirits doesn't really necessitate rigid adherence to the laws of physical light, but for the lamps I wanted something both neat-looking and recognizable. I began my research by looking at about 200-300 pictures of Toro Nagashi festivals, and hanging Chochin (paper lanterns). This process took about 2 or 3 hours to find enough subject matter, at which point I brought out the graph paper and started to sketch down notes ...".

Read on ...