Results 1 to 5 of 5

Thread: sidescrolling Dx

  1. #1

    Thread Starter
    Member CrazedWombat's Avatar
    Join Date
    Oct 2002
    Location
    asylum
    Posts
    47

    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

  2. #2
    Lively Member FireSlash518's Avatar
    Join Date
    Nov 2001
    Posts
    67
    If you want to use 2d, use DirectX 7's Direct Draw. If you want 3d, its all a matter of the camera position.

    Leader of the Maxoverkill Mods
    -Fire§lash

  3. #3

    Thread Starter
    Member CrazedWombat's Avatar
    Join Date
    Oct 2002
    Location
    asylum
    Posts
    47
    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

  4. #4
    Lively Member FireSlash518's Avatar
    Join Date
    Nov 2001
    Posts
    67
    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.

    Leader of the Maxoverkill Mods
    -Fire§lash

  5. #5

    Thread Starter
    Member CrazedWombat's Avatar
    Join Date
    Oct 2002
    Location
    asylum
    Posts
    47
    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
  •  



Click Here to Expand Forum to Full Width