Mirage Source

Free ORPG making software.
It is currently Sat Apr 27, 2024 1:34 pm

All times are UTC




Post new topic Reply to topic  [ 67 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: DX8+
PostPosted: Wed May 02, 2007 9:15 pm 
Offline
Knowledgeable

Joined: Tue Apr 17, 2007 10:18 pm
Posts: 148
Location: USA, Texas
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 :)


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 02, 2007 10:09 pm 
Offline
Community Leader
User avatar

Joined: Sun May 28, 2006 10:29 pm
Posts: 1762
Location: Salt Lake City, UT, USA
Google Talk: Darunada@gmail.com
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.

_________________
I'm on Facebook! Google Plus LinkedIn My Youtube Channel Send me an email Call me with Skype Check me out on Bitbucket Yup, I'm an EVE Online player!
Why not try my app, ColorEye, on your Android devlce?
Do you like social gaming? Fight it out in Battle Juice!

I am a professional software developer in Salt Lake City, UT.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 02, 2007 10:16 pm 
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.


Top
  
 
 Post subject:
PostPosted: Wed May 02, 2007 10:45 pm 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
Erm, yes is it :)

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 03, 2007 12:33 am 
Offline
Pro

Joined: Mon May 29, 2006 2:58 pm
Posts: 370
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.

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 03, 2007 12:38 am 
Has anyone ever tried to get it working? And if so, what happened?


Top
  
 
 Post subject:
PostPosted: Thu May 03, 2007 3:27 am 
Offline
Pro

Joined: Mon May 29, 2006 2:58 pm
Posts: 370
Yes I did, and it worked fine

just takes some fiddling around

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 03, 2007 12:10 pm 
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.


Top
  
 
 Post subject:
PostPosted: Thu May 03, 2007 3:12 pm 
Offline
Knowledgeable

Joined: Wed May 31, 2006 8:00 pm
Posts: 142
I thought you couldn't use dx9 in vb6...

_________________
xFire:- funkynut


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 03, 2007 3:23 pm 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
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.

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 03, 2007 3:55 pm 
*Shoots Robin*

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


Top
  
 
 Post subject:
PostPosted: Thu May 03, 2007 4:36 pm 
Offline
Knowledgeable

Joined: Wed May 31, 2006 8:00 pm
Posts: 142
Well I found it as easy as what Robin says, I also used Luckys vb Game tutorials :)

_________________
xFire:- funkynut


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 03, 2007 6:19 pm 
Offline
Knowledgeable
User avatar

Joined: Mon Jul 24, 2006 2:04 pm
Posts: 339
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.

_________________
NetGore Free Open Source MMORPG Maker


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 03, 2007 8:25 pm 
Offline
Knowledgeable

Joined: Tue Apr 17, 2007 10:18 pm
Posts: 148
Location: USA, Texas
Well it be cool if we can get some tuts :D.


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 03, 2007 9:08 pm 
Offline
Knowledgeable

Joined: Wed May 31, 2006 8:00 pm
Posts: 142
http://rookscape.com/vbgaming/

_________________
xFire:- funkynut


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 04, 2007 5:13 am 
Offline
Pro

Joined: Mon May 29, 2006 2:15 am
Posts: 368
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...

_________________
Image
Image
The quality of a man is not measured by how well he treats the knowledgeable and competent, but rather how he treats those less fortunate than himself.


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 04, 2007 10:47 am 
Offline
Pro

Joined: Mon May 29, 2006 2:58 pm
Posts: 370
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.

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 04, 2007 11:31 am 
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.


Top
  
 
 Post subject:
PostPosted: Fri May 04, 2007 2:47 pm 
Offline
Knowledgeable
User avatar

Joined: Mon Jul 24, 2006 2:04 pm
Posts: 339
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:

_________________
NetGore Free Open Source MMORPG Maker


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 04, 2007 7:50 pm 
Offline
Pro

Joined: Mon May 29, 2006 2:58 pm
Posts: 370
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

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 04, 2007 8:54 pm 
Offline
Knowledgeable

Joined: Tue Apr 17, 2007 10:18 pm
Posts: 148
Location: USA, Texas
xD, well anything thats better then the DX7 right now thats compaitble would be good in tut :o


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 04, 2007 9:32 pm 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
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.

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 06, 2007 10:43 pm 
Offline
Knowledgeable
User avatar

Joined: Sun May 28, 2006 7:22 pm
Posts: 101
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.

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 07, 2007 1:28 pm 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
But have we got to the point where using DX9 and DX10 is a serious advantage for the games we are creating?

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 07, 2007 3:26 pm 
Offline
Knowledgeable
User avatar

Joined: Sun May 28, 2006 7:22 pm
Posts: 101
Unless the game your creating is in 3D, or you want/need the extra speed ... nope.

_________________
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 67 posts ]  Go to page 1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: Majestic-12 [Bot] and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group