Browse by Tags

All Tags » Quick Tips (RSS)

Card Games: Network Packing for Poker

There are quite a few books that cover the concepts of packing data for the network. I remember reading a few articles in Game Developer Magazine that talked about several different levels of packing and finally some compression. You can always pick up...

Regex: Functionality about named/numbered groups everyone should know.

We have a cool new tool amongst us over on http://www.regexlib.com/RETester.aspx . It is already more functional than the previous tool there that was receiving quite a bit of traffic and attention for quickly testing expressions. The new tool really...

Math Quickie: Centering

Someone was reading the circular text layout math installment and asked if I had "... any thoughts on how to draw the text so that it is centered?" . I'm going to be blatantly honest. The math installments are mainly to bring math to professionals and...
Posted by Justin Rogers | 1 comment(s)
Filed under: ,

Math Installment #4: Bounding Regions

There may already be a few entries on bounding regions that I posted many months ago. At one point I think I described some different types of bounding region scenarios including strict and relaxed fit scenarios. To add some math to this a strict region...
Posted by Justin Rogers | with no comments

My supposed math explanations turn out to be a travesty!

Well, looking over my past couple of postings it is apparent to me that the seemingly transparent merge between theory and implementation in my mind is causing some headaches for people not familiar with math. I'm guilty of basic transposition of terms...
Posted by Justin Rogers | with no comments
Filed under: ,

Math Installment #3: A quick look at wavy text

[ Sample Download on Project Distributor ] I previously covered laying out text along a linear path and a circular path. You can view that code here Math Installment #2: I needed some circular oriented text . I'll be referencing the code so you really...
Posted by Justin Rogers | 3 comment(s)
Filed under: , ,

Math Installment #2: I needed some circular oriented text

[ Sample Download on Project Distributor ] Okay, back with math installment #2... This time I needed some circular oriented text, or rather I needed some path oriented text, but that code is much harder so I'm starting with something a bit easier. There...
Posted by Justin Rogers | 7 comment(s)
Filed under: , ,

Math Installment #1: Image layout logic

Turns out most of the code I write that does deal with math is layout code in order to manage how a number of assets, whether it be controls or graphics, is rendered to the screen. Over the past couple of days the kind of code I have been writing is in...
Posted by Justin Rogers | 5 comment(s)
Filed under: , ,

The problem with APIs like System.IO is that people ask questions like "How do I copy a StreamReader?"

The basic layout is generally that the user wants to pass a particular StreamReader instance to some method that does some processing. Upon return they find that their StreamReader in the local scope is now not where it was when they first called the...

Xml in the WebBrowser? What about easy RSS in the WebBrowser in Whidbey?

A fellow blogger has been talking about hosting the web browsing components of IE as an ActiveX Control. With Whidbey this all goes away and you can now use the Windows Forms 2.0 WebBrowser control. It just drops into place, has a bunch of events for...
More Posts Next page »