Teen Programmers Unite  
 

 

Return to forum top

VB6 game dev

Posted by Hardlaugh_ [send private reply] at December 08, 2002, 09:30:56 AM

Arr!

I'm planning to do a game in VB as a project for school. Of *course* i've been on all the major and not-so-major VB game dev pages around, but most of the, sorry, crap i've looked into doesn't work or only works half-way, so i'd be glad to hear from someone who has experience in game or graphics dev with (specifically) VB 6.

Posted by Psion [send private reply] at December 08, 2002, 08:28:15 PM

Are you forced to use VB?

Posted by ItinitI [send private reply] at December 08, 2002, 09:33:46 PM

Check over at Young Programmer's Network, I think some one there is fluent in VB.

Posted by gian [send private reply] at December 09, 2002, 02:54:24 AM

Personally I would avoid doing games (or anything) in VB. If you are forced to, then I would recommend starting your car in the garage or perhaps making some toast in the bath.

Posted by DragonWolf [send private reply] at December 09, 2002, 07:14:26 AM

Gian: If you program using DirectX and the winAPIs VB will run some pretty damn decent games.

But, if your using DirectX and winAPI you might as well use C/C++.

Posted by Hardlaugh_ [send private reply] at December 09, 2002, 07:47:43 AM

Eheh, i would never *ever* program in VB if i had the choice. But the subject is Visual Basic and i can't hand in something i program in an other language. So. Btw i found a method to get to a frame buffer relatively easily in the meantime by using SAFEARRAYs :)

Posted by CViper [send private reply] at December 09, 2002, 02:36:07 PM

Write a black-box DLL/library in your favorite language and just make it interface with VB.
Then write some decent amount of never-called VB code and hope you teacher at school isn't too bright.

(that's something like my contigency plan for such situations)

Ok, jokes aside. I think there is some documentation included in the DirectX SDK's specific to VB (never looked at those though). Generally the doc's are quite informative, so it's worth a look.

Posted by Hardlaugh_ [send private reply] at December 10, 2002, 01:15:02 PM

Ayeah. I actually started searching for information on interfacing DLLs with VB before i read Your post :) This would be the first time i'm writing a DLL. Do you have a good URL on how to interface it with VB?

Posted by CViper [send private reply] at December 10, 2002, 03:18:25 PM

http://www.developerfusion.com/show/1973/

that's what I found when googling for it... Can't help you more, since I don't really know much about VB. Writing DLL's is easy though; it's almost like compling a normal .exe's :)

Posted by Hardlaugh_ [send private reply] at December 11, 2002, 12:21:21 AM

Well this must be a case of 'synchronicity' or what a Jungian would call it. Again, i found exactly the same document before having read Your post :)

Posted by CViper [send private reply] at December 11, 2002, 12:46:33 AM

lol :)

You must be logged in to post messages and see which you have already read.

Log on
Username:
Password:
Save for later automatic logon

Register as a new user
 
Copyright TPU 2002. See the Credits and About TPU for more information.