DigitalDuffman

Stories submitted by DigitalDuffman

Static Method for Per-Pixel Collision Detection (www.krissteele.net)

submitted by DigitalDuffmanDigitalDuffman(340) 2 years, 1 month ago

Bounding boxes for 2D collisions are nice, but per-pixel collision detection is better and easier to implement than you may have previously thought. read more...

add a comment |category: |Views: 150

tags: another

A Simple Three-Level Parallax Star Field using XNA (www.krissteele.net)

submitted by DigitalDuffmanDigitalDuffman(340) 2 years, 2 months ago

How to create a randomized, scrolling, parallax star field for your XNA game. read more...

add a comment |category: |Views: 208

tags: another

Upload Files from an ASP.net Webpage(krissteele.net)

submitted by DigitalDuffmanDigitalDuffman(340) 2 years, 6 months ago

The following code will allow you to upload as many as five files at once and return whether the upload was successful or what errors were encountered. read more...

add a comment |category: |Views: 26

tags: another

Pulsing Icons to Spruce Up your XNA Menus (krissteele.net)

submitted by DigitalDuffmanDigitalDuffman(340) 2 years, 6 months ago

Tutorial to add a cool pulsating image effect to your XNA menus in order to better draw the eye of gamers to control elements. read more...

add a comment |category: |Views: 46

tags: another

Draw Horizontally Centered Text in XNA (krissteele.net)

submitted by DigitalDuffmanDigitalDuffman(340) 3 years, 1 month ago

Because there is no built in function for centering text drawn to the screen in XNA, I have created a small static method that will take in a string and draw it centered horizontally on the screen. read more...

add a comment |category: |Views: 22

tags: another

Clean Up Your Player Movement Code (krissteele.net)

submitted by DigitalDuffmanDigitalDuffman(340) 3 years, 4 months ago

Make the code that you use to test for player movement/input a bit easier to read. read more...

add a comment |category: |Views: 73

tags: another

11 Things that Annoy Me in .Net Programming (krissteele.net)

submitted by DigitalDuffmanDigitalDuffman(340) 3 years, 5 months ago

Here are eleven things that annoy me that I have run into while doing .Net programming. Some are legitimate gripes that should be fixed poste haste and others are simply personal preferences that you very well may disagree with. read more...

add a comment |category: |Views: 30

tags: another

A Simple Way to Pause Your Game (krissteele.net)

submitted by DigitalDuffmanDigitalDuffman(340) 3 years, 5 months ago

Pausing your game is a nice and easy feature to add to your XNA game. read more...

add a comment |category: |Views: 556

tags: another

Salt an MD5 Hash For a Password String (krissteele.net)

submitted by DigitalDuffmanDigitalDuffman(340) 3 years, 5 months ago

Make an MD5 hash more secure by adding a little salt. read more...

add a comment |category: |Views: 127

tags: another

Do our Applications Have to Look So Bad? (krissteele.net)

submitted by DigitalDuffmanDigitalDuffman(340) 3 years, 6 months ago

I've seen a number of functional, useful websites and applications (usually for internal company use) that are can simply be described as ugly. Is it because the developers can't design or is it simply because design isn't a requirement or consideration? I tend to believe the later. read more...

add a comment |category: |Views: 10

tags: another

11 Quick and Useful ASP.net Tips and Tricks(krissteele.net)

submitted by DigitalDuffmanDigitalDuffman(340) 3 years, 6 months ago

Here are eleven tips and tricks I've collected while developing ASP.net applications that are useful and just might even make your day a little brighter. read more...

add a comment |category: |Views: 26

tags: another

A Simple Animal CAPTCHA(krissteele.net)

submitted by DigitalDuffmanDigitalDuffman(340) 3 years, 7 months ago

A basic animal image CAPTCHA designed to keep spammers away without making it too difficult on your users. read more...

add a comment |category: |Views: 87

tags: another

A Simple Multi-File Upload Form (krissteele.net)

submitted by DigitalDuffmanDigitalDuffman(340) 3 years, 7 months ago

A nifty form you can use to upload multiple files from an ASPX page to your web server. read more...

add a comment |category: |Views: 102

tags: another

Loop Through All Controls on an ASP.net Webpage (krissteele.net)

submitted by DigitalDuffmanDigitalDuffman(340) 3 years, 7 months ago

A nifty way using ForEach loops to get all the controls on a webpage. read more...

1 comment |category: |Views: 24

tags: another

Get the ID of a Newly Inserted Row Using SCOPE_IDENTITY() (krissteele.net)

submitted by DigitalDuffmanDigitalDuffman(340) 3 years, 7 months ago

The best way to go about getting the ID of a row you just added to your MS SQL database from within a C# web application. read more...

add a comment |category: |Views: 45

tags: another

Using DataBinder.Eval in the RowDataBound Event (krissteele.net)

submitted by DigitalDuffmanDigitalDuffman(340) 3 years, 7 months ago

A better way to get data than using hidden fields in the RowDataBound event (because apparently I didn't know about this very simple and obvious way). read more...

add a comment |category: |Views: 92

tags: another