Mirage Source
http://web.miragesource.net/forums/

DX8+
http://web.miragesource.net/forums/viewtopic.php?f=210&t=1770
Page 1 of 3

Author:  Da Undead [ Wed May 02, 2007 9:15 pm ]
Post subject:  DX8+

I think that there should be an upgrade for the DirectX because I herd that if you get a better 1 then you can have way better graphics which would be cool. So just wandering also if anyone has DX8+ or sometin :)

Author:  Lea [ Wed May 02, 2007 10:09 pm ]
Post subject: 

There's direct X versions available up to 10 now.

Mirage Source uses DirectX 7 because of the ease of doing 2D drawing using Direct Draw, which was discontinued in DX8+. In post-DX7 programs, everything is 3D weather it looks like it or not.

Author:  Matt [ Wed May 02, 2007 10:16 pm ]
Post subject: 

Why was my post deleted? All I said was if he wanted to do it for his game, he could. But it's not easy to do.

Author:  Robin [ Wed May 02, 2007 10:45 pm ]
Post subject: 

Erm, yes is it :)

Author:  grimsk8ter11 [ Thu May 03, 2007 12:33 am ]
Post subject: 

It actually isn't though. There is alot of changes.

And VB is only supported until DX8, 9+ aren't compatible, or at least said not to be.

Author:  Matt [ Thu May 03, 2007 12:38 am ]
Post subject: 

Has anyone ever tried to get it working? And if so, what happened?

Author:  grimsk8ter11 [ Thu May 03, 2007 3:27 am ]
Post subject: 

Yes I did, and it worked fine

just takes some fiddling around

Author:  Matt [ Thu May 03, 2007 12:10 pm ]
Post subject: 

Sorry, I meant DX9. Lol. Forgot to specify. Although I was pretty sure I did. I think I'm going senile at a young age.

Author:  funkynut [ Thu May 03, 2007 3:12 pm ]
Post subject: 

I thought you couldn't use dx9 in vb6...

Author:  Robin [ Thu May 03, 2007 3:23 pm ]
Post subject: 

I don't think you can...

But, DX8, if programmed properly can be even more convenient than Direct Draw.

After looking around, I was linked to Lucky's VB Game Tutorials, and using the tutorial to init DX8 (Part 1 Part 2), a small piece of code from the tutorial on 2D Game Design in DX8 (Here) and for menu backgrounds (my entire engine is DX8) I used the tutorial on loading large textures onto a surface (Here) and then made a few functions and subroutines, added a few scripted files so you could easily change textures, sizes, sprites etc. without having to edit the game engine (all textures need to be in multiples of 2 (32x32, 64x64, 96x96, 256x256 etc. etc.) so it is hard to hard code (*hint @ pun*) the entire graphics engine) and then a few automated services and it works even better than Direct Draw (Faster (if you have a 3D graphics support ;)), alphablending, rotation and less CPU usage (Personally I can load up to 1500 sprites onto the screen, whilst having them rotated, alphablended etc. and still have my FPS 4 above my monitor refresh rate))

Wow. I do believe I used little to no punctuation there. Ah, shoot me.

Author:  Matt [ Thu May 03, 2007 3:55 pm ]
Post subject: 

*Shoots Robin*

You make it sound easy. Lol. Oh well. One of these days I may look into what you just posted, who knows?

Author:  funkynut [ Thu May 03, 2007 4:36 pm ]
Post subject: 

Well I found it as easy as what Robin says, I also used Luckys vb Game tutorials :)

Author:  Spodi [ Thu May 03, 2007 6:19 pm ]
Post subject: 

I personally find Direct3D faster than DirectDraw, too. It may just be since I was more noob using DirectDraw, but you can take the 3d optimizations to a ridiculous level of obfuscation for power. Cards these days just support 3d better than native 2d (the straight copy of one surface to another). Strange how it works that way, though, since you would think copying from one surface to another would be the easiest thing you could possibly do.

Author:  Da Undead [ Thu May 03, 2007 8:25 pm ]
Post subject: 

Well it be cool if we can get some tuts :D.

Author:  funkynut [ Thu May 03, 2007 9:08 pm ]
Post subject: 

http://rookscape.com/vbgaming/

Author:  Obsidian [ Fri May 04, 2007 5:13 am ]
Post subject: 

Actually i think you can use DX9 with VB6... i think there was an SDK developed to allow it to be used... but i have been wrong before. I think shan was actually working on a VB6 project using DX9 at one point...

Author:  grimsk8ter11 [ Fri May 04, 2007 10:47 am ]
Post subject: 

To my knowledge, and a quick internet search, DX9 has no way to be interfaced with VB6, just because Microsoft said so, and I couldn't find it, doesn't mean its not possible in some shape or form, since DX9 also contains DX8 and DX7.

Author:  Matt [ Fri May 04, 2007 11:31 am ]
Post subject: 

I'm pretty sure Unformed uses DX9, but it's also not VB. Shan doesn't use VB anymore, he uses PB (Pure Basic). That could be what you were thinking of Obsi.

Author:  Spodi [ Fri May 04, 2007 2:47 pm ]
Post subject: 

Well you can probably create a DLL to wrap the DirectX calls in another language, then call that from VB, but I see absolutely no point in doing that. It'd just be a waste of time. If you want to use a tool that doesn't work with your language, learn a new one. :wink:

Author:  grimsk8ter11 [ Fri May 04, 2007 7:50 pm ]
Post subject: 

Spodi wrote:
Well you can probably create a DLL to wrap the DirectX calls in another language, then call that from VB, but I see absolutely no point in doing that. It'd just be a waste of time. If you want to use a tool that doesn't work with your language, learn a new one. :wink:


exactly.

and besides if you know enough to make a porting wrapper for VB in another language, why not use that language :P

Author:  Da Undead [ Fri May 04, 2007 8:54 pm ]
Post subject: 

xD, well anything thats better then the DX7 right now thats compaitble would be good in tut :o

Author:  Robin [ Fri May 04, 2007 9:32 pm ]
Post subject: 

Writing a tut is pointless because by simply following a tutorial on putting it into Mirage, you shoot yourself in the foot.

You won't be able to manage to code, debug the code, edit the code, create add-ons for the code, etc. etc.

Author:  Shannara [ Sun May 06, 2007 10:43 pm ]
Post subject: 

You both are right. Creating a DLL wrapper for DX9, to be called from VB, was what I was working on at one point using PB. But yeah, it's better to just learn another language.

But what's the point? To have the benefits of DX9, and soon 10, in VB6.

Author:  Robin [ Mon May 07, 2007 1:28 pm ]
Post subject: 

But have we got to the point where using DX9 and DX10 is a serious advantage for the games we are creating?

Author:  Shannara [ Mon May 07, 2007 3:26 pm ]
Post subject: 

Unless the game your creating is in 3D, or you want/need the extra speed ... nope.

Page 1 of 3 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/