Jump to content


Photo

DirectX 10-11 SDK in Game Maker 8


  • Please log in to reply
7 replies to this topic

#1 unscmaster

unscmaster

    GMC Member

  • New Member
  • 946 posts

Posted 07 March 2011 - 11:55 PM

I have a few questions I want answered before I attempt using the DirectX SDK.
Since GM uses DirectX 8, could I overide it and use a newer version?
Using the DirectX 10 or 11 SDK, could I pack the files with the game and import them as normal?
If so, could I then detect the graphics support on the computer and use the DirectX SDK?
Would I then be able to use the D3D functions in the SDK?
What about the use of a HLSL shader to change the way Game Maker renders the 3D scene?

If anyone could answer these I'd appriciate it.
  • 0

#2 IceMetalPunk

IceMetalPunk

    InfiniteIMPerfection

  • Retired Staff
  • 9322 posts
  • Version:Unknown

Posted 09 March 2011 - 03:15 AM

As far as I know, you cannot change which version of DX Game Maker uses. Shaders can be used with a DLL (search the DLLs forum for "shader"), but you're stuck with GM's default DX version.

-IMP ;) :)
  • 0

#3 xshortguy

xshortguy

    GMC Member

  • Global Moderators
  • 4322 posts
  • Version:GM:Studio

Posted 09 March 2011 - 03:28 AM

I would imagine you can use all of DirectX10/11, but you'll have to write a DLL for all of it. If you wanted, you can use DirectX to draw everything via dlls, but if you're that skilled you may as well not be using game maker.
  • 0

#4 IceMetalPunk

IceMetalPunk

    InfiniteIMPerfection

  • Retired Staff
  • 9322 posts
  • Version:Unknown

Posted 09 March 2011 - 03:29 AM

Not to mention, wouldn't the overhead of calling the DLL for every drawing function slow the program down considerably?

-IMP ;) :)
  • 0

#5 xshortguy

xshortguy

    GMC Member

  • Global Moderators
  • 4322 posts
  • Version:GM:Studio

Posted 09 March 2011 - 03:34 AM

It probably would. I don't know too much about DLLs.
  • 0

#6 TheMagicNumber

TheMagicNumber

    GMC Member

  • GMC Member
  • 5247 posts
  • Version:Unknown

Posted 09 March 2011 - 04:04 AM

It probably would. I don't know too much about DLLs.

It would, but can be lowered.

HLSL shaders cannot be used in Game Maker's current renderer. DX8.1 doesn't support it. You can use the much more limiting shader language DX8.1 uses, since there's a DLL for it.

If you want to use the DirectX SDK, you should have to use it in another language. Do not make an alternate renderer, make a game in something else.
  • 2

#7 unscmaster

unscmaster

    GMC Member

  • New Member
  • 946 posts

Posted 09 March 2011 - 06:39 PM

I know 10 other programing languages, some more than others. I just like comming back to where I started every once and a while. I'm just mainly wondering if there is a way to bypass the DX8 drawing functions without modifying the game maker software itself. If not, then o well.
  • 0

#8 MasterOfKings

MasterOfKings

    The True Master

  • GMC Member
  • 4888 posts
  • Version:GM8

Posted 09 March 2011 - 11:02 PM

I thought GM used DirectX 8.0? As U3D uses DirectX 8.1.

-MoK
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users