Loading...
View unanswered posts | View active topics It is currently Fri Mar 22, 2019 12:46 am



Reply to topic  [ 5 posts ] 
 Visual Basic 6 DirectX7 Class Demonstration ver1.3 
Author Message
Hylian Squire
User avatar

Joined: Sun Apr 26, 2009 1:53 pm
Posts: 18
Location: Virginia, USA
Gender: None specified
Post Visual Basic 6 DirectX7 Class Demonstration ver1.3 • Posted: Thu Apr 30, 2009 9:06 pm
Anybody working with Visual Basic 6? I've got a really nice class set up for anybody to use. It will do nearly everything for you when you're dealing with DirectX ;)

Here's a demonstration of some simple DirectX7 DirectDraw and using a class to do it ;) "Follow the Mouse"!

Version 1.1: Nearly completely rewritten my class...it does nearly everything for you now.

Version 1.2: Added more options for the class so you can set how it loads surfaces and so on. I think there's more...I forget.

Version 1.3: Changed how you set the current surface used and surface RECT. Made the .Draw function only need an X and Y :) Fixed a problem with the Display so it used the picture box you set at initialization...and added 3 more drawing so there's a box around your mouse to show off how I fixed the surfaces so they don't go out of the area. Changed a lot of the comments...this project should be like a book now :P

Attachment:
Follow the Mouse4.rar [16.26 KiB]
Downloaded 287 times

_________________
Image
Image


Last edited by GIAKEN on Fri May 01, 2009 1:57 pm, edited 2 times in total.



Profile WWW
Goron Warrior
User avatar

Joined: Wed Jun 11, 2008 2:41 pm
Posts: 642
Gender: None specified
Post Re: Visual Basic 6 DirectX7 Class Demonstration • Posted: Thu Apr 30, 2009 9:10 pm
It didn't follow the mouse out of the window. What a rip off. . .

_________________
Image


Profile
Hylian Squire
User avatar

Joined: Sun Apr 26, 2009 1:53 pm
Posts: 18
Location: Virginia, USA
Gender: None specified
Post Re: Visual Basic 6 DirectX7 Class Demonstration • Posted: Thu Apr 30, 2009 9:33 pm
Yeah in order to do that I'd have to use a picture box...which wouldn't need DirectX7 at all.

_________________
Image
Image


Profile WWW
Hylian Squire
User avatar

Joined: Sun Apr 26, 2009 1:53 pm
Posts: 18
Location: Virginia, USA
Gender: None specified
Post Re: Visual Basic 6 DirectX7 Class Demonstration ver1.2 • Posted: Fri May 01, 2009 8:37 am
Just updated my class :D

_________________
Image
Image


Profile WWW
Hylian Squire
User avatar

Joined: Sun Apr 26, 2009 1:53 pm
Posts: 18
Location: Virginia, USA
Gender: None specified
Post Re: Visual Basic 6 DirectX7 Class Demonstration ver1.3 • Posted: Fri May 01, 2009 1:57 pm
Eh...triple post is ok? I keep updating it pretty fast :P

_________________
Image
Image


Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

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 © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.