Mirage Source

Free ORPG making software.
It is currently Fri Apr 26, 2024 8:05 am

All times are UTC




Post new topic Reply to topic  [ 45 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Sun May 03, 2009 12:20 am 
Offline
Persistant Poster
User avatar

Joined: Thu Mar 29, 2007 10:30 pm
Posts: 1510
Location: Virginia, USA
Google Talk: hpmccloud@gmail.com
Yep, I did it again! Here is my very own DirectX 8 Class with a demonstration! The project should be like a book :) ENJOY!

1.1: Added a full screen option :) 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 :D Also did support of different width and height surfaces...

1.3: Added MP3 support :D 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

_________________
Nean wrote:
Yes harold. Give it to me.

Image
Image


Last edited by GIAKEN on Thu Jun 04, 2009 4:44 pm, edited 3 times in total.

Top
 Profile  
 
PostPosted: Sun May 03, 2009 1:37 am 
Offline
Persistant Poster
User avatar

Joined: Wed Nov 29, 2006 11:25 pm
Posts: 860
Location: Ayer
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.

_________________
Image


Top
 Profile  
 
PostPosted: Sun May 03, 2009 8:06 am 
Offline
Persistant Poster
User avatar

Joined: Thu Mar 29, 2007 10:30 pm
Posts: 1510
Location: Virginia, USA
Google Talk: hpmccloud@gmail.com
Version 1.1 should be coming out soon :) 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 :P).

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

_________________
Nean wrote:
Yes harold. Give it to me.

Image
Image


Top
 Profile  
 
PostPosted: Tue May 05, 2009 5:57 pm 
Offline
Persistant Poster
User avatar

Joined: Thu Mar 29, 2007 10:30 pm
Posts: 1510
Location: Virginia, USA
Google Talk: hpmccloud@gmail.com
Just updated to the newest version :)

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 ;)

_________________
Nean wrote:
Yes harold. Give it to me.

Image
Image


Top
 Profile  
 
PostPosted: Tue May 05, 2009 6:25 pm 
Offline
Persistant Poster
User avatar

Joined: Thu Mar 29, 2007 10:30 pm
Posts: 1510
Location: Virginia, USA
Google Talk: hpmccloud@gmail.com
Just now updated again :D Much better.

_________________
Nean wrote:
Yes harold. Give it to me.

Image
Image


Top
 Profile  
 
PostPosted: Tue May 05, 2009 6:25 pm 
Offline
Persistant Poster
User avatar

Joined: Fri Aug 15, 2008 3:11 pm
Posts: 633
yupdated with what

_________________
╔╗╔═╦═╦══╦═══╗
║║║║║║║╔╗║╔═╗║
║║║║║║║╚╝║║║║║
║╚╣║║║║╔╗║╚═╝║
╚═╩╩═╩╩╝╚╩═══╝


╔╦═╦╦════╦═══╗
║║║║╠═╗╔═╣╔══╝
║║║║║║║║╚═╗
║║║║║║║║╔═╝
╚═╩═╝╚╝╚╝ ?


Top
 Profile  
 
PostPosted: Tue May 05, 2009 6:29 pm 
Offline
Persistant Poster
User avatar

Joined: Thu Mar 29, 2007 10:30 pm
Posts: 1510
Location: Virginia, USA
Google Talk: hpmccloud@gmail.com
Huh? :|

_________________
Nean wrote:
Yes harold. Give it to me.

Image
Image


Top
 Profile  
 
PostPosted: Tue May 05, 2009 10:12 pm 
Offline
Persistant Poster
User avatar

Joined: Thu Aug 17, 2006 5:27 pm
Posts: 866
Location: United Kingdom
Ignore him Giaken you are rocking our socks off.


Top
 Profile  
 
PostPosted: Wed May 06, 2009 3:08 am 
Offline
Persistant Poster
User avatar

Joined: Wed Nov 29, 2006 11:25 pm
Posts: 860
Location: Ayer
Doomy wrote:
yupdated with what


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

_________________
Image


Top
 Profile  
 
PostPosted: Wed May 06, 2009 3:11 am 
Offline
Persistant Poster
User avatar

Joined: Thu Mar 29, 2007 10:30 pm
Posts: 1510
Location: Virginia, USA
Google Talk: hpmccloud@gmail.com
Yeah...

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

_________________
Nean wrote:
Yes harold. Give it to me.

Image
Image


Top
 Profile  
 
PostPosted: Wed May 06, 2009 5:27 am 
Offline
Persistant Poster
User avatar

Joined: Fri Aug 15, 2008 3:11 pm
Posts: 633
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

_________________
╔╗╔═╦═╦══╦═══╗
║║║║║║║╔╗║╔═╗║
║║║║║║║╚╝║║║║║
║╚╣║║║║╔╗║╚═╝║
╚═╩╩═╩╩╝╚╩═══╝


╔╦═╦╦════╦═══╗
║║║║╠═╗╔═╣╔══╝
║║║║║║║║╚═╗
║║║║║║║║╔═╝
╚═╩═╝╚╝╚╝ ?


Top
 Profile  
 
PostPosted: Wed May 06, 2009 12:32 pm 
Offline
Persistant Poster
User avatar

Joined: Thu Mar 29, 2007 10:30 pm
Posts: 1510
Location: Virginia, USA
Google Talk: hpmccloud@gmail.com
Because the first post tells each version and what's updated.

_________________
Nean wrote:
Yes harold. Give it to me.

Image
Image


Top
 Profile  
 
PostPosted: Sat May 30, 2009 7:21 pm 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
I edited and optimised the code to run faster, and cut down on texture corruption, but it's a decent base, overall.

Download:
Attachment:
clsDX8.rar [2.77 KiB]
Downloaded 416 times


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

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

Image

_________________
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  
 
PostPosted: Sat May 30, 2009 8:02 pm 
Offline
Pro
User avatar

Joined: Tue Apr 22, 2008 2:15 am
Posts: 597
YA! optimizations!


Top
 Profile  
 
PostPosted: Thu Jun 04, 2009 4:45 pm 
Offline
Persistant Poster
User avatar

Joined: Thu Mar 29, 2007 10:30 pm
Posts: 1510
Location: Virginia, USA
Google Talk: hpmccloud@gmail.com
Updated.

Don't use Robin's, he sucks.

_________________
Nean wrote:
Yes harold. Give it to me.

Image
Image


Top
 Profile  
 
PostPosted: Thu Jun 04, 2009 5:20 pm 
Offline
Banned
User avatar

Joined: Mon Jun 05, 2006 9:22 pm
Posts: 394
Location: USA
GIAKEN wrote:
Updated.

Don't use Robin's, he sucks.


Lulz, and the sky is purple.


Top
 Profile  
 
PostPosted: Thu Jun 04, 2009 6:46 pm 
Offline
Persistant Poster
User avatar

Joined: Thu Mar 29, 2007 10:30 pm
Posts: 1510
Location: Virginia, USA
Google Talk: hpmccloud@gmail.com
James wrote:
GIAKEN wrote:
Updated.

Don't use Robin's, he sucks.


Lulz, and the sky is purple.


And your lip is...gone.

_________________
Nean wrote:
Yes harold. Give it to me.

Image
Image


Top
 Profile  
 
PostPosted: Thu Jun 04, 2009 8:44 pm 
Offline
Banned
User avatar

Joined: Mon Jun 05, 2006 9:22 pm
Posts: 394
Location: USA
GIAKEN wrote:
James wrote:
GIAKEN wrote:
Updated.

Don't use Robin's, he sucks.


Lulz, and the sky is purple.


And your lip is...gone.


Is it? (Checks) Still there....you blind now too? o.O


Top
 Profile  
 
PostPosted: Thu Jun 04, 2009 9:11 pm 
Offline
Persistant Poster
User avatar

Joined: Thu Mar 29, 2007 10:30 pm
Posts: 1510
Location: Virginia, USA
Google Talk: hpmccloud@gmail.com
Apparently :(

_________________
Nean wrote:
Yes harold. Give it to me.

Image
Image


Top
 Profile  
 
PostPosted: Thu Jun 11, 2009 11:29 pm 
Offline
Regular
User avatar

Joined: Sat Sep 13, 2008 8:25 pm
Posts: 69
Location: Slovenia
Did that with GIAKEN's dx8 class help

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

_________________
Image


Top
 Profile  
 
PostPosted: Fri Jun 12, 2009 4:03 am 
Offline
Persistant Poster
User avatar

Joined: Wed Nov 29, 2006 11:25 pm
Posts: 860
Location: Ayer
Blodyavenger wrote:


Awesome!

_________________
Image


Top
 Profile  
 
PostPosted: Fri Jun 12, 2009 6:59 am 
Offline
Regular
User avatar

Joined: Sat Sep 13, 2008 8:25 pm
Posts: 69
Location: Slovenia
Thanks :) I'll have to peek in Robin's class as well now :P

_________________
Image


Top
 Profile  
 
PostPosted: Fri Jun 12, 2009 7:05 am 
Offline
Persistant Poster
User avatar

Joined: Fri Aug 15, 2008 3:11 pm
Posts: 633
bloody would you ever give me your dx8 class?

_________________
╔╗╔═╦═╦══╦═══╗
║║║║║║║╔╗║╔═╗║
║║║║║║║╚╝║║║║║
║╚╣║║║║╔╗║╚═╝║
╚═╩╩═╩╩╝╚╩═══╝


╔╦═╦╦════╦═══╗
║║║║╠═╗╔═╣╔══╝
║║║║║║║║╚═╗
║║║║║║║║╔═╝
╚═╩═╝╚╝╚╝ ?


Top
 Profile  
 
PostPosted: Fri Jun 12, 2009 7:16 am 
Offline
Regular
User avatar

Joined: Sat Sep 13, 2008 8:25 pm
Posts: 69
Location: Slovenia
It's not mine class, it's GIAKEN's doomy ;) (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.

_________________
Image


Top
 Profile  
 
PostPosted: Fri Jun 12, 2009 7:31 am 
Offline
Persistant Poster
User avatar

Joined: Fri Aug 15, 2008 3:11 pm
Posts: 633
Blodyavenger wrote:
It's not mine class, it's GIAKEN's doomy ;) (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

_________________
╔╗╔═╦═╦══╦═══╗
║║║║║║║╔╗║╔═╗║
║║║║║║║╚╝║║║║║
║╚╣║║║║╔╗║╚═╝║
╚═╩╩═╩╩╝╚╩═══╝


╔╦═╦╦════╦═══╗
║║║║╠═╗╔═╣╔══╝
║║║║║║║║╚═╗
║║║║║║║║╔═╝
╚═╩═╝╚╝╚╝ ?


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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:  
cron
Powered by phpBB® Forum Software © phpBB Group