XNA Creators Club Online
Page 1 of 1 (6 items)
Sort Posts: Previous Next

2D Graphics with Direct3D?

Last post 04-28-2008 3:37 PM by Cyberlord Dan. 5 replies.
  • 04-25-2008 8:37 AM

    2D Graphics with Direct3D?

    Hello all, I am new to DirectX or any Graphical Game Libraries for that matter, so I was wondering if someone could please point me in the right area for using 2D graphics with Direct3D

    like 24 bit pixels on a 32 bit surface

    Thanks in advance
  • 04-27-2008 9:07 AM In reply to

    Re: 2D Graphics with Direct3D?

    You can use sprites.


    Best regards,
    dudeldi
  • 04-27-2008 3:28 PM In reply to

    Re: 2D Graphics with Direct3D?

    Can you please explain what you mean
  • 04-27-2008 8:33 PM In reply to

    Re: 2D Graphics with Direct3D?

    Have a look at this.
  • 04-27-2008 9:42 PM In reply to

    Re: 2D Graphics with Direct3D?

    Yeah, I googled Sprites with Direct3D when he said that

    Now to get that to fully work do I have to make a 3D application before doing that?
  • 04-28-2008 3:37 PM In reply to

    Re: 2D Graphics with Direct3D?

    If by making a 3D application you understand creating a directx device yes, you have to.

    To display sprites you have to have a direct3d device and s sprite object. Load a texture into a sprite object and then call sprite.Draw() function and device.present().

Page 1 of 1 (6 items) Previous Next
var gDomain='m.webtrends.com'; var gDcsId='dcschd84w10000w4lw9hcqmsz_8n3x'; var gTrackEvents=1; var gFpc='WT_FPC'; /*<\/scr"+"ipt>");} /*]]>*/
DCSIMG