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 / Bullet code problems

Author
Message
Travis
21
Years of Service
User Offline
Joined: 9th Nov 2003
Location: West Aust.
Posted: 22nd Jan 2004 10:33
heh well iv made some code to get bullets working on my game
its a bit more complex then others but theres just somthing that im missing



i think iv stuffed up a logic statment or somthing liek instead of move bullets when there alive i move them when there dead thus they dont move, but i cant see it
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 22nd Jan 2004 13:44 Edited at: 22nd Jan 2004 13:57
[EDIT][/EDIT]

Jess.

[EDIT] Don't use nested loops like that... instead of using a Do... Loop in the sub ( which aparently never ends ), use a While... EndWhile or something similar.[/EDIT]


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
Travis
21
Years of Service
User Offline
Joined: 9th Nov 2003
Location: West Aust.
Posted: 22nd Jan 2004 13:46 Edited at: 22nd Jan 2004 14:37
[EDIT][EDIT]
(i had "** ******" but i took that out cause i proved jt wrong and he took his comments out)


and i only used that cause it was a quick example

Login to post a reply

Server time is: 2025-05-22 14:08:38
Your offset time is: 2025-05-22 14:08:38