Results 1 to 9 of 9

Thread: Game size question

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2001
    Location
    South Carolina
    Posts
    2

    Question 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.

  2. #2
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800
    What on earth do you need 90 forms for?????

  3. #3
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    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."

  4. #4
    Zaei
    Guest
    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.

  5. #5
    pjvdg
    Guest
    90 forms.... That's asking for troubles...

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

  6. #6
    Fanatic Member PsychoMark's Avatar
    Join Date
    Feb 2001
    Location
    Netherlands
    Posts
    540


    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)

  7. #7
    Lively Member
    Join Date
    Apr 2001
    Location
    England
    Posts
    69

    Wink 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

  8. #8
    Frenzied Member Jotaf98's Avatar
    Join Date
    Jun 2000
    Location
    I'm not gonna give you my IP address! Ok... Portugal, South-Western Europe, 3rd rock from the sun (our star is easy to find, a 47 Ursae Majoris in the Milky Way :p )
    Posts
    1,457
    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...
    Code:
    Temp = Me.GetIQ()
    'Error 9: Overflow
    'DON'T PANIC! :eek:

    To learn how to use realistic effects in your games like fire, rain, snow and magic effects, read my article on particles systems here.


    Jotaf's Theories!
    "Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision."

  9. #9
    pjvdg
    Guest
    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
  •  



Click Here to Expand Forum to Full Width