PDA

Click to See Complete Forum and Search --> : ok, its a dumb game, but


Sep 10th, 2000, 11:02 AM
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!

Sep 10th, 2000, 11:03 AM
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]

WP
Sep 10th, 2000, 01:28 PM
I saw your code, and the problem is that you typed your
path in hard code. you can replace that code with the following:


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

Sep 10th, 2000, 03:13 PM
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

WP
Sep 10th, 2000, 04:25 PM
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

willem.pardaens@tijd.com


WP

Sep 10th, 2000, 04:53 PM
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