PDA

View Full Version : VB - DX87



nugget
December 10th, 2005, 06:40 PM
I've been working on a 2D rpg for about a week

now, its going to have online gameplay. ANd I was wondering about a code to

make a windowed GUI.

For eg, you can drag the windows from within the

game, like inventory window, stats, etc. I don't want a static

GUI.

edit: I used directx7 (directdraw)
and visual basic 6

Cparty
December 10th, 2005, 07:21 PM
Well...what are you using to code it?

nugget
December 10th, 2005, 08:29 PM
The topic title says it, VB = Visual basic, DX7 = DirectX7

(DirectDraw in this case)

Cparty
December 10th, 2005, 09:28 PM
I just realized that lol, umm can't help you in this department

never really worked with VB

nugget
December 10th, 2005, 09:42 PM
What have you worked with? another language sample

code can always help.

Netrosis
December 11th, 2005, 02:33 AM
I used VB 5. Im not sure

how different the code is in VB 6, and whether its backwards

compatable.

Are you using separate Forms as the interface, or is it

built in frames or what?

If you want people to help you need to

specify specifically it is you want them to be able to drag.

Including

what object type it is.

nugget
December 11th, 2005, 09:22 PM
Naw, its not multiple

forms, Its only one form tht uses full screen mode with DirectDraw, so I

wouldnīt be allowed to use multiple forms.

I was thinking of making

UDT for the windows like

Public Type WINDOWS
x as long
y as

long
drag as boolean
visible as boolean
End Type

But I donīt

kno how to make it draggable n stuff...

rezuth
December 11th, 2005, 09:30 PM
As far as anything besides

RAD applications VB suuuuuuuuucks, If your even serious you should go for C#

and then convert to C++. However I think you would get more help at

www.gamedev.net then here.

nugget
December 12th, 2005, 07:45 PM
Theres nothing you can't do with VB6 for a 2D online simple RPG that you

can do using c#,c, or c++. So yea, im using VB6 for times sake. WHen I go

onot a real big project i'll go to c++.