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.

DarkBASIC Discussion / Not going to a gosub?

Author
Message
Zeus
19
Years of Service
User Offline
Joined: 8th Jul 2006
Location: Atop Mount Olympus
Posted: 26th Nov 2007 22:52
I am having a little problem,



When the object (3) collides with (4) it is suppose to show the loading screen until it is finished fully loading, instead it does nothing. Any explanations?

Thanks Jordan

demons breath
22
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 26th Nov 2007 22:57
well for one thing, it doesn't look like your dawghouse gosub has a return, so the programme will end immediately afterwards...

Libervurto
20
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 26th Nov 2007 23:09
I smartened your code up a bit as the indenting was a bit crazy.

I don't understand why you show sprite 250 and then 3 lines later hide it again, this all happens before syncing so it shouldn't show up on the screen anyway.

I have a feeling we aren't seeing all the code, is there more?

"You must be someone's friend to make comments about them." - MySpace lied.
Zeus
19
Years of Service
User Offline
Joined: 8th Jul 2006
Location: Atop Mount Olympus
Posted: 26th Nov 2007 23:30
You aren't seeing all the code before that. That is the load screen that hides after it does all of that and nevermind now because it works.

Login to post a reply

Server time is: 2026-07-05 14:20:37
Your offset time is: 2026-07-05 14:20:37