No kidding. I'm just pointing out how much of a pain in the ass that book is.
Type: Posts; User: maxthecat
No kidding. I'm just pointing out how much of a pain in the ass that book is.
I take it you're reading the book by Jonathan Harbour? If that's the case, be forwarned, not much of the code will compile at all... This is the first DX book I bought, and it led me to buy...
Interesting! Thanks for the help guys! :)
After a bit more 'o research, the only thing I've found resembling 'alpha maps' is alpha blending... That wouldn't be a problem with this, except for the countries that are greater than 256 pixels in...
Interesting... Yeah, it's a 2D app.... I've been blitting the background bitmap onto a surface (the entire image was never fully displayed), and I was planning on using textures to act as the...
Hi all,
Here's my situation:
I have a bitmap (background... map of europe) that's 1152 x 965. As such, some of the countries and bodies of water are greater that 256 x 256 in size.
I'm...
In this http://cboard.cprogramming.com/showthread.php?t=74563 thread, bubba has a screen shot of an editor he made for a "Zelda"-type game.
This got me thinking (a rarity, I know!), what kind of...
Haha. Maybe I've just had bad luck with the ones I've bought then! (I did say good luck funding a *good* book ;) I sure know of a few I could reccommend to AVOID ;)
Shiv, check out:...
In that case, be sure to pick up "OpenGL Programming Guide" (also called "The Red Book"-- with good reason). The ISBN for the one I have is 0-201-60458-2, although, this is the 3rd edition (OpenGL...
Personally, I'd learn OpenGL if I were you, especially considering you want to do 2D development.
I'm in the midst of trying to learn DirectX. There's a couple of issues I currently have with it:...
The one I'm using is all about DirectX programming, and has nothing to do with consoles... I'd post the ISBN, but unfortunately I'm at work right now... Trust me, the code in his book will not...
Haha... Well, to be honest, I had thought of using OpenGL (I have the "Red Book" sitting on my shelf here), but I didn't want to have to build the music and networking APIs from scratch.... I thought...
Hi all,
This probably gets asked a lot, but can anyone point me to a good link or book discussing how to do 2D in DX9 (and not in bloody C#)? ...I was using "Beginning Game Programming" by...
Now, I could be wrong here, but this is what I'm thinking:
unsigned long G = B >> 8; //256
unsigned long R = G >> 16; //65536
This shifts it too far... Instead of shifting 8 bits to get...
Bubba,
I'm not entirely sure I follow you in your explanation above... Is there any way I could get you to post a working piece of code that implements this or point me to a good example...
I see... I tried changing to a D3DXVECTOR3, but the ID3DXSprite::Draw() function complains that it only takes D3DXVECTOR2 pointers. Am I doing something wrong here?
And, thanks again, Bubba! :)
Hey all,
I just realized there's a "game programming" section... So mods, please feel free to delete my post over in the windows programming section :P
This code compiles fine, but I still...
bubba, bithub,
Thanks a ton! Works now! :)
You're right, Bubba-- that is a messed up way to go about implementing... But, it is MS ;)
-maxthecat
Anyone know how I might resolve these errors?
Thanks again! :)
spritetest.obj : error LNK2001: unresolved external symbol _GUID_SysKeyboard
spritetest.obj : error LNK2001: unresolved external...
bloody heck.... yeah, that does it... now I have 11 other errors to tackle ;)
that's what I get for staring at code all day!
Thanks! :)
So, given that no one wanted to tackle the last post (and I don't blame you either-- it was a doozie!)... I decided I'd try to simplify things a bit, and stick to one file-- after all, I'm still...
Trying to do a little DirectX stuff... I've installed the latest SDK (from Dec 05, no less). When I go to compile, I get these errors under VC6:
C:\Program Files\Microsoft Visual...
Hello all,
I'm trying to draw a 2D graph based off of the function e^-(x^2 + y^2). I was origionally thinking I could use two for loops and connect the points with the line function; however,...
Thanks, but I'm still not seeing why this should be failing the assertion... Moreover, it shouldn't be drawing a line from the center of the client area to the left hand corner... very curious... any...
Here's the entire project zipped up.
Thanks!! :)
-maxthecat