Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Menu is messed

Author
Message
Dared1111
17
Years of Service
User Offline
Joined: 25th Oct 2006
Location:
Posted: 31st May 2007 22:55



it skips without the buttonpressed and if i have it it wont go to the next part

[link]"http://www.greatgamesexperiment.com/user/Dared1111/" my account on GGE[\link]
MikeB
17
Years of Service
User Offline
Joined: 5th Apr 2007
Location: My Computer, Shropshire, England
Posted: 31st May 2007 23:07
Works for me.... I can click on New Game, and then it shows a screen saying "scarecrows".


E.D.

Dared1111
17
Years of Service
User Offline
Joined: 25th Oct 2006
Location:
Posted: 31st May 2007 23:51
but when you click scarecrows does it do anything?

[link]"http://www.greatgamesexperiment.com/user/Dared1111/" my account on GGE[\link]
LBFN
17
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 1st Jun 2007 03:58
Dared1111

The program is working the way I think you want it to. When you click on 'Scarecrows' it goes to ScarecrowL1start and falls through to gameL1 and basically gets stuck in and endless loop within gameL1. The only thing the 'subroutine' (it's not really) gameL1 does is center the mouse on the screen. I inserted a short print statement within the gameL1 code and it printed it just fine, indicating the program was there.

Have you thought about using gosub instead of goto? It makes your code MUCH easier to debug. With a large program you would waste a lot of time trying to find an error with goto.

LB

Login to post a reply

Server time is: 2024-09-26 22:51:20
Your offset time is: 2024-09-26 22:51:20