Search Forums
-
I agree. I never new what I was missing until another forum I visit enabled it. Another nice feature would be a link to the original post from the quote. And slightly OT, inline editing of posts.
-
[quote user="Nick Gravelyn"]* mind blown *[/quote]
Ha! mindBlown++
:)
-
Have you tried simply comparing the button state with the previous frame?
Something like this:
//save the current game pad state at the bottom of your update function
previousGamepadState = currentGamepadState
//check to see if the button is down
if(previousGamepadState.IsButtonUp(button) == ...
-
The contains method used the default Object.Equals() method to compare to objects by reference. This only checks to see if the objects point to the same location in memory, not whether the values the objects hold are the same.
To compare the fields of the class you need to override the default Equals method.
...
-
Nvidia has a texture pack: http://developer.nvidia.com/object/IO_TTVol_01.html
Check out this thread on gamedev: http://www.gamedev.net/community/forums/topic.asp?topic_id=324643
or the gamedev wiki: http://wiki.gamedev.net/index.php/Game_Content_Resources#Textures
-
Video looks pretty good.
This error popped up when I ran the application:
Game failed to start after the popup.
I've got a CRT with max resolution at 1280x1024 and an 8800gt, Windows XP.
-
[quote user="LesPaul456"]You are not using a variable. The "get" and "set" are used to create a public property so you can access a private member. Create a private variable for each property. Then change the property to be, for ...
-
This may not exactly be the problem, but when the TextureSamplerSelect gets interpolated there is no guarantee that it will be exactly 0, 1, or 2. You can try rounding first before using it to select the correct color.
-
-
Ah ok, sorry for the misunderstanding.
It's limited to Vector4s because there isn't any Matrix element format for vertex declarations, so we have to represent a matrix with 4 Vector4s in 4 different texture coordinate channels.
That said, you don't have to use a matrix. If you don't need rotation or scaling, you could ...