Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 25 Nov 2002
Offline Last Active Sep 08 2013 12:52 PM

Topics I've Started

creating a flashlight in XNA

30 January 2013 - 09:24 AM

Hi all


I have finished reading the XNA Game Studio 2nd Edition and, having read the chapter covering lighting systems, I am having trouble figuring out how to create a "basic" flashlight in XNA 3.1 (though I am currently reading Learning XNA 4.0) right now.


 I have tried tweaking the code and have been able to make the light used in the chapter example bright and dimmer, but haven't been able to dim the ambient light nor been able to "focus" the light into a beam shape.


I am currently coding using XNA 4.0 and VC# 2010.


Thanks for helping this old gamer/programmer!



reading/writing a .cfg file

26 March 2011 - 03:21 PM

Hi all

I would like to know how I can load a .cfg file and then thru software make changes and save them into the .cfg file?

For example, I am trying to write an app that will load a game's cfg file and then using various check boxes and such, make changes to the cfg file and save them.

I am using Visual C# 2008 Express.


Sensation of Speed

23 January 2010 - 05:02 AM

Hi all I am considering working on a flight sim and wonder how some flight sims seem to get the sensation of speed over terrain right, whereas others don't? Is it the fault of the rendering engine being poorly coded, or does it depend on the size/quality of the textures used to render the ground? thanks all

loading an ascii file into a 2D array

30 June 2008 - 06:19 AM

Hi all I am coding a simple 2D maze dungeon game and have a test map level stored as a .txt file. I would like some help on how to load the 1's and 0's in the file into a 2 dimensional array called Maze I am using Visual C# and the XNA framework to code the game. Thanks

Console Battleship

11 June 2007 - 11:31 AM

Hi I need some tips/advice on some ways of storing the positions of the various Battleship game pieces. I was thinking of trying to use a two dimensional char array, something like "char Battleship [5][5] {A1,A2,A3,A4,A5} ... {E1,E2,E3,E4,E5}". I then was thinking of using an Enum? Would the game be to simple for classes? Thanks for any help