Results 1 to 6 of 6

Thread: ok, its a dumb game, but

  1. #1
    Guest

    Smile

    ok,

    hiya, i just made this really dumb game, and im almost a complete newbie, but if you guys would test it and tell me what i can do to help it, that would be great. warning, the picture = loadpicture ("this part is wrong")
    so if you could help me that would be awesome,

    heres the address:

    http://www.genevaonline.com/~dewolf/face shot.zip


    -thanks again!

  2. #2
    Guest
    make sure you get the whole address!

    ps. thats not my face! its my brothers.

    [Edited by t_dawolf on 09-10-2000 at 12:06 PM]

  3. #3
    Hyperactive Member WP's Avatar
    Join Date
    Aug 2000
    Location
    Belgium
    Posts
    278

    Lightbulb App.Path

    I saw your code, and the problem is that you typed your
    path in hard code. you can replace that code with the following:

    Code:
    Dim File as string
    
    Select case Right(App.Path,1)
    Case "\"
    File = App.Path & "1Guy02.bmp"
    Case else
    File = App.Path & "\1guy02.bmp"
    End Select
    
    Guy.Picture = LoadPicture(File)
    PS: You can set the App.Path with a \ in a variable so you don't always have to verify it.

    WP

    Visual Basic 6.0 EE SP5 / .Net
    Windows XP

  4. #4
    Guest
    ok,

    i put in the code, and it only worked the first time! i know that there is something obvious that i missed but can you pleeeassseeee tell me?

    -thanks

  5. #5
    Hyperactive Member WP's Avatar
    Join Date
    Aug 2000
    Location
    Belgium
    Posts
    278

    ?

    when you want me to answer your question, you have to tell me a little bit more. why didn't it worked the second time?
    you can sent your code to

    [email protected]


    WP

    Visual Basic 6.0 EE SP5 / .Net
    Windows XP

  6. #6
    Guest
    ok,

    i got the picture thing working, thanks for the code. the new version of the game is now at the link, thanks alot WP! also, please help me by making modifications, or telling me how to improve it some more!

    -thanks

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