|
-
Apr 26th, 2001, 02:39 PM
#1
Thread Starter
New Member
Game size question
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.
-
Apr 26th, 2001, 03:22 PM
#2
Frenzied Member
What on earth do you need 90 forms for?????
-
Apr 26th, 2001, 03:27 PM
#3
Frenzied Member
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?
Harry.
"From one thing, know ten thousand things."
-
Apr 26th, 2001, 07:33 PM
#4
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.
-
Apr 27th, 2001, 05:40 AM
#5
90 forms.... That's asking for troubles...
Couldn't you just use 1 form and change the content on that form?
-
Apr 27th, 2001, 08:09 AM
#6
Fanatic Member

Wow, I think even the complete Office 2000 package multiplied by 20 doesn't have that many forms!! Get rid of those ASAP...
Teaudirenopossum.Musasapientumfixaestinaure.
(I can't hear you. There's a banana in my ear)
-
Apr 27th, 2001, 11:17 AM
#7
Lively Member
Tip
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 [email protected] to find out how) to link up the files
-
Apr 27th, 2001, 11:40 AM
#8
Frenzied Member
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
Code:
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...
-
Apr 27th, 2001, 01:35 PM
#9
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....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|