Mirage Source
DirectX8 Class Demonstration :) ver1.3 - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: Programming (https://mirage-engine.uk/forums/forumdisplay.php?fid=24)
+----- Forum: Visual Basic 6 (https://mirage-engine.uk/forums/forumdisplay.php?fid=32)
+----- Thread: DirectX8 Class Demonstration :) ver1.3 (/showthread.php?tid=2779)

Pages: 1 2


DirectX8 Class Demonstration :) ver1.3 - GIAKEN - 03-05-2009

Yep, I did it again! Here is my very own DirectX 8 Class with a demonstration! The project should be like a book Smile ENJOY!

1.1: Added a full screen option Smile In the future I will make the text easier to handle...

1.2: Changed how textures are handled during runtime...it's A LOT better. You used to set the texture before each draw, but I changed it so you only had to set it once at the beginning...and it only sets the texture if it's not already set to that...so if you only use 1 texture, it only gets set once during the whole run time of your program Big Grin Also did support of different width and height surfaces...

1.3: Added MP3 support Big Grin Changed how the class initializes. Make sure you add "ActiveMovie control type library" in your Project references for DirectShow. Fixed a texture error, switched around 2 paramaters in TextureControl...and uhh...not sure what else.

http://mayhem.auburnflame.com/DX8Engine4.rar


Re: DirectX8 Class Demonstration :) ver1.0 - Tony - 03-05-2009

Great work once again, Harold.

I'm not going to use it but it should be very useful to people who want to use DX8 easily.


Re: DirectX8 Class Demonstration :) ver1.0 - GIAKEN - 03-05-2009

Version 1.1 should be coming out soon Smile It will include more options /fixes and Tony is helping me with enumerating devices and what-not to get full screen to work perfectly (I don't know about enumerating too much Tongue).

Any help / ideas / suggestions / whatever would be appreciated Big Grin If this gets popular enough I will create a small RPG-like demonstration for it possibly...or maybe convert MS4 over or something.


Re: DirectX8 Class Demonstration :) ver1.1 - GIAKEN - 05-05-2009

Just updated to the newest version Smile

Just did a full screen option that will adjust to your game screen's size. IE make sure you make your game screen 800x600, 1024x768 or whatever monitors can handle or else you'll get an automation error...I also added a .Fullscreen flag in the class so if you need to check if you're in full screen you can use that Wink


Re: DirectX8 Class Demonstration :) ver1.2 - GIAKEN - 05-05-2009

Just now updated again Big Grin Much better.


Re: DirectX8 Class Demonstration :) ver1.2 - Doomy - 05-05-2009

yupdated with what


Re: DirectX8 Class Demonstration :) ver1.2 - GIAKEN - 05-05-2009

Huh? :|


Re: DirectX8 Class Demonstration :) ver1.2 - Coke - 05-05-2009

Ignore him Giaken you are rocking our socks off.


Re: DirectX8 Class Demonstration :) ver1.2 - Tony - 06-05-2009

Doomy Wrote:yupdated with what

Your going back to that idiot who never made sense. All your posts seem like some shitty ass spam.


Re: DirectX8 Class Demonstration :) ver1.2 - GIAKEN - 06-05-2009

Yeah...

Well no downloads yet? Big Grin I'm going to add music / sound soon Big Grin (MIDI, WAV, and MP3 support Big Grin).


Re: DirectX8 Class Demonstration :) ver1.2 - Doomy - 06-05-2009

it was my keyboard i couldn't correct it because all the letters were mixed up. its fixed now though.

i had said what did you update it with.
since in the last post you didn't say what was updated


Re: DirectX8 Class Demonstration :) ver1.2 - GIAKEN - 06-05-2009

Because the first post tells each version and what's updated.


Re: DirectX8 Class Demonstration :) ver1.2 - Robin - 30-05-2009

I edited and optimised the code to run faster, and cut down on texture corruption, but it's a decent base, overall.

Download:
[ATTACHMENT NOT FOUND]

Once it adds DirectMusic and DirectSound3D it'll be good.

Here's what I did with it in a blank MS4:

[Image: lolmenu.png]


Re: DirectX8 Class Demonstration :) ver1.2 - Pbcrazy - 30-05-2009

YA! optimizations!


Re: DirectX8 Class Demonstration :) ver1.3 - GIAKEN - 04-06-2009

Updated.

Don't use Robin's, he sucks.


Re: DirectX8 Class Demonstration :) ver1.3 - GIAKEN - 04-06-2009

James Wrote:
GIAKEN Wrote:Updated.

Don't use Robin's, he sucks.

Lulz, and the sky is purple.

And your lip is...gone.


Re: DirectX8 Class Demonstration :) ver1.3 - GIAKEN - 04-06-2009

Apparently Sad


Re: DirectX8 Class Demonstration :) ver1.3 - Blodyavenger - 11-06-2009

Did that with GIAKEN's dx8 class help

http://www.youtube.com/watch?v=nDp45Rf4a2w&feature=channel_page


Re: DirectX8 Class Demonstration :) ver1.3 - Tony - 12-06-2009

Blodyavenger Wrote:Did that with GIAKEN's dx8 class help

http://www.youtube.com/watch?v=nDp45Rf4a2w&feature=channel_page

Awesome!


Re: DirectX8 Class Demonstration :) ver1.3 - Blodyavenger - 12-06-2009

Thanks Smile I'll have to peek in Robin's class as well now Tongue


Re: DirectX8 Class Demonstration :) ver1.3 - Doomy - 12-06-2009

bloody would you ever give me your dx8 class?


Re: DirectX8 Class Demonstration :) ver1.3 - Blodyavenger - 12-06-2009

It's not mine class, it's GIAKEN's doomy Wink (I added almost nothing to it, so yeah)
What you see is just using class which you can have as well from the download
link above.


Re: DirectX8 Class Demonstration :) ver1.3 - Doomy - 12-06-2009

Blodyavenger Wrote:It's not mine class, it's GIAKEN's doomy Wink (I added almost nothing to it, so yeah)
What you see is just using class which you can have as well from the download
link above.
what exactly did you do to it though?
i haven't really checked it out because he said he was going to release a new one soon. i was waiting fori t


Re: DirectX8 Class Demonstration :) ver1.3 - Tony - 12-06-2009

Blodyavenger Wrote:It's not mine class, it's GIAKEN's doomy Wink (I added almost nothing to it, so yeah)
What you see is just using class which you can have as well from the download
link above.

A particle system. Cool.. do that yourself? 8-)


Re: DirectX8 Class Demonstration :) ver1.3 - Blodyavenger - 15-06-2009

Yep, I did that by myself and I like it Smile Although, it's quite simple to do that