Results 1 to 6 of 6

Thread: Game Programming - Directx 8.0

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2006
    Posts
    28

    Game Programming - Directx 8.0

    i've recently bought this book:

    http://www.amazon.co.uk/exec/obidos/...402164-7149536

    because it looks like it would help, me into making an rpg (i dont have much vb experience)

    after reading the first 2 chapters it bogs you down with so much directx my head feels like its gonna expload! im really confused with directx 8.0 for vb6 and it's only a 2d game

    can anyone reccomend any websites to help me, i want to use this book because it looks great, but i need to learn a little more about directx
    Last edited by htideswell; Jun 7th, 2006 at 02:30 PM.

  2. #2
    Fanatic Member damasterjo's Avatar
    Join Date
    Nov 2005
    Location
    In front of my Comp DirectX7 EXpert
    Posts
    827

    Re: Game Programming - Directx 8.0

    DirectX 8
    Easy directX 7 2d tutorials

    The first link is awesome, that is the site I learned all my stuff, the latter are ones that I wrote
    Software languages known:
    Qbasic - TI-Basic - Liberty Basic - Visual Basic 6
    Software API's known:
    Directx 7 and 8
    Internet languages, in the process of learning:
    HTML - JAVASCRIPT - PHP - CSS - MYSQL - AJAX

  3. #3
    PowerPoster
    Join Date
    Nov 2002
    Location
    Manila
    Posts
    7,629

    Re: Game Programming - Directx 8.0

    http://gpwiki.org/index.php/DirectX:...laying_Bitmaps

    You just set up a primary surface (what's displayed), a backsurface (where you draw or prepare what you will display, and additional surfaces to hold your bitmaps (eg. three more for background pics. sprites/details, and the top layer for characters etc).

    It then all boils down to blitting (copying) from your pics surfaces to the backsurface (prep surface), then switching the backsurface and the primary surface to show what was prepared (make it primary or displayed).

    It gets complicated when you treat your source surfaces as tiles (eg a bitmap that holds the frontview, side views and back view of a 2d object). You then have to make additional functions (non directx) to calculate from where in the source bitmap your clipping (essentially a box: x,y, width, height) from to get the tile you need.

  4. #4
    Fanatic Member damasterjo's Avatar
    Join Date
    Nov 2005
    Location
    In front of my Comp DirectX7 EXpert
    Posts
    827

    Re: Game Programming - Directx 8.0

    Yeah like that guy said you can use dx7 to do 2d effect much eaisier than using dx8, look to my couple tutorials for examples...
    Software languages known:
    Qbasic - TI-Basic - Liberty Basic - Visual Basic 6
    Software API's known:
    Directx 7 and 8
    Internet languages, in the process of learning:
    HTML - JAVASCRIPT - PHP - CSS - MYSQL - AJAX

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Mar 2006
    Posts
    28

    Re: Game Programming - Directx 8.0

    thanks soo much for this

  6. #6
    Fanatic Member damasterjo's Avatar
    Join Date
    Nov 2005
    Location
    In front of my Comp DirectX7 EXpert
    Posts
    827

    Re: Game Programming - Directx 8.0

    no problem, but remember actions always speak louder than words
    Software languages known:
    Qbasic - TI-Basic - Liberty Basic - Visual Basic 6
    Software API's known:
    Directx 7 and 8
    Internet languages, in the process of learning:
    HTML - JAVASCRIPT - PHP - CSS - MYSQL - AJAX

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