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 / game crash

Author
Message
Yamman
19
Years of Service
User Offline
Joined: 11th Jun 2005
Location:
Posted: 28th Feb 2006 17:31
can anyone tell me why when you shoot a lot, the program ends?
to move use the mouse, and to shoot left click
Yamman
19
Years of Service
User Offline
Joined: 11th Jun 2005
Location:
Posted: 28th Feb 2006 18:52
actauly never mind sorry, i just made a stupid mistake.
QuothTheRaven
21
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: United States
Posted: 28th Feb 2006 20:20 Edited at: 28th Feb 2006 20:20
On a slightly off topic note, and I mean to be blunt, but not rude, your code is disgusting. Well...at least it could certainly use some major cleaning. You can speed up code writing with loops...for example, your horible giant list of checks to go to the shooting gosubs can be summed up with a simple for loop:



This would save you countless lines of code and hours of work. If you aren't famaliar with simple programming concepts like for loops and while loops and good programming structure, I would highly suggest reading the help documents on how to use them. They're the meat and potatoes of literally any program ever made. You could speed things up even more by making an array of bullet objects.

Yamman
19
Years of Service
User Offline
Joined: 11th Jun 2005
Location:
Posted: 28th Feb 2006 21:53
thx, i will.

Login to post a reply

Server time is: 2024-09-24 17:37:10
Your offset time is: 2024-09-24 17:37:10