|
-
Oct 23rd, 2002, 06:06 PM
#1
Thread Starter
Member
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?
Wombat
"I like to go to the schoolyard where i can watch the little kids jumping and screaming....but they dont know im using blanks"
"Before you set yourself on fire, remember to take off your shoes... nothing smells worse than burning rubber."
"They advertise that certain laundry detergents can take blood stains out of clothes, i say that if you have blood stains on your clothes, maybe your laundry is the least of your worries."
Sometimes when I'm driving around I see a sign that says, CAUTION: SMALL CHILDREN PLAYING. I slow down, and then it occurs to me: I'm not afraid of small children.
"My programs dont have bugs, they have random features" - MisianThrop
"The good thing about our ticket to the future is that it's always blank" - Trigun
-
Oct 23rd, 2002, 06:23 PM
#2
Lively Member
If you want to use 2d, use DirectX 7's Direct Draw. If you want 3d, its all a matter of the camera position.
-
Oct 23rd, 2002, 06:33 PM
#3
Thread Starter
Member
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?
Wombat
"I like to go to the schoolyard where i can watch the little kids jumping and screaming....but they dont know im using blanks"
"Before you set yourself on fire, remember to take off your shoes... nothing smells worse than burning rubber."
"They advertise that certain laundry detergents can take blood stains out of clothes, i say that if you have blood stains on your clothes, maybe your laundry is the least of your worries."
Sometimes when I'm driving around I see a sign that says, CAUTION: SMALL CHILDREN PLAYING. I slow down, and then it occurs to me: I'm not afraid of small children.
"My programs dont have bugs, they have random features" - MisianThrop
"The good thing about our ticket to the future is that it's always blank" - Trigun
-
Oct 23rd, 2002, 08:18 PM
#4
Lively Member
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.
-
Oct 24th, 2002, 12:08 AM
#5
Thread Starter
Member
hmmmmm, makes sense, i'll check it out, thanx
Wombat
"I like to go to the schoolyard where i can watch the little kids jumping and screaming....but they dont know im using blanks"
"Before you set yourself on fire, remember to take off your shoes... nothing smells worse than burning rubber."
"They advertise that certain laundry detergents can take blood stains out of clothes, i say that if you have blood stains on your clothes, maybe your laundry is the least of your worries."
Sometimes when I'm driving around I see a sign that says, CAUTION: SMALL CHILDREN PLAYING. I slow down, and then it occurs to me: I'm not afraid of small children.
"My programs dont have bugs, they have random features" - MisianThrop
"The good thing about our ticket to the future is that it's always blank" - Trigun
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|