Sunday, January 22, 2012

HUDs need lines

One thing that has really bothered me about XNA is the lack of simple shape primitives like lines, circles and whatnot. So while I was thinking of interfaces and HUDs, I realized I could no longer avoid this issue. An hour later I have perfected my simple custom line class! Its basically just a simple single pixel distortion trick that no one should be proud of, but I dont care, its fuckin cool, because XNA didnt have it, and now it does.

Also, as mentioned earlier, got a simple HUD up, with the help of my new lines.



PS: With how useful and awesome these lines are, it makes me think I should start posting the source of some of these useful custom classes I am creating for other people to use out there!

No comments:

Post a Comment