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 / Im confused at the problem i am having....

Author
Message
Spunky sk8er
19
Years of Service
User Offline
Joined: 22nd Feb 2006
Location: Ehm.... no
Posted: 2nd Mar 2006 23:32 Edited at: 2nd Mar 2006 23:34
well it says error at line 6.... but i dont know any other way for it to make only 3 objects when a button is pressed... like dropping a bomb..


plz help Iv'e tried stuff but i dont know what to do....
Spunky sk8er
19
Years of Service
User Offline
Joined: 22nd Feb 2006
Location: Ehm.... no
Posted: 3rd Mar 2006 00:31
*bump*
Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 3rd Mar 2006 01:26
You make objects before you use them, not during using them. What is probably happening.. (Can't be sure, but doesn't matter) is that the objects are being made too many times, because they are in a loop. Anyway just make them before the game actually starts playing.

General Sephiro
20
Years of Service
User Offline
Joined: 27th Sep 2004
Location:
Posted: 3rd Mar 2006 02:03 Edited at: 3rd Mar 2006 02:04
or you could put in.. a simple if statement,



Login to post a reply

Server time is: 2025-05-23 10:35:50
Your offset time is: 2025-05-23 10:35:50