-
sidescrolling Dx
hey
im new to Direct X and graphics, i bought 2 direct x books but they dont go into side scrolling, one goes into a sim city type game and the other is just a bunch of source code. i want to build a basic 6 level 2d/3d ninja gaiden type game. anyone know where i can get info/source code to get into it. i have all i need (direct x SDK and direct speech). but im at a loss how to start it. help?
-
If you want to use 2d, use DirectX 7's Direct Draw. If you want 3d, its all a matter of the camera position.
-
hey
well, i want it where the character is 2d, as in on on one line, but i want the background to be 3d, more for looks than anything else, im thinking a long ass bitmap, then layered with animated effects...any idea how to go about that?
-
You need to take a rectangular portion of the bitmap, and blit it onto a screen surface. Then, render your 3d portion of it, blit the 2d part on top, and flip buffers.
You might want to do a google search on some more resources, neither DirectX or DirectDraw are quick 2-minute things you can just pick up.
-
hmmmmm, makes sense, i'll check it out, thanx