PDA

Click to See Complete Forum and Search --> : Game size question


kobe42137
Apr 26th, 2001, 02:39 PM
I have a huge game with 90 forms. I was able to make it an executable file but I am having trouble getting it to run. Could this be because of the size of it? It didn't compile when I made it executable.

SteveCRM
Apr 26th, 2001, 03:22 PM
What on earth do you need 90 forms for????? :eek:

HarryW
Apr 26th, 2001, 03:27 PM
:eek: Good grief, that's a lot of forms. I doubt the problems are to do with the number of forms, but you never know. Do you get any error messages?

Zaei
Apr 26th, 2001, 07:33 PM
It may be a problem with the number of forms. I had a game once, where all of the animation data was in a single module (something like 8500 lines of "Head(2).X = 4500"). When i went to compile it, i got to sit around for at least 8 minutes, if it compiled at all. But, in all seriousness, NEVER have that many forms.

Z.

pjvdg
Apr 27th, 2001, 05:40 AM
90 forms.... That's asking for troubles...

Couldn't you just use 1 form and change the content on that form? :confused:

PsychoMark
Apr 27th, 2001, 08:09 AM
http://psprogramming.virtualave.net/smilies/fear/eek2.gif

Wow, I think even the complete Office 2000 package multiplied by 20 doesn't have that many forms!! Get rid of those ASAP...

madmartin
Apr 27th, 2001, 11:17 AM
Here is a simple workaround

Divide your VB project into a few smaller projects then package them all seperately into seperate EXE files

You can use the Shell (see VB help file or e-mail me at Martin4106@aol.com (Martin4106@aol.com) to find out how) to link up the files:o

Jotaf98
Apr 27th, 2001, 11:40 AM
90 forms?!

I'm sure they're just copies of a single form or something, no way you would make THAT many forms! In this case, you should load new forms using


Dim i as integer
For i = 1 to 90
Load Form1(i)
Next i


That would load 89 copies of Form1. This would work with controls, but I'm not sure as to forms, I think they have a collection or something...

pjvdg
Apr 27th, 2001, 01:35 PM
I suggest you read a book like:
'Learning the very very basics of Visual Basic.... For Dummies' ;)

Try programming an application first, a game is always more difficult to code so start off easy.... :cool: