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 / multi bullet shooting code

Author
Message
steve c
21
Years of Service
User Offline
Joined: 30th Jan 2004
Location: united kingdom
Posted: 1st Aug 2004 05:42
well can anyone give me it ive checked the code base cant find anything there so can somone pls help

i used to be indecisive but now ime not so sure
Kohaku
21
Years of Service
User Offline
Joined: 3rd May 2004
Location: The not very United Kingdom
Posted: 1st Aug 2004 06:03
Go to the bottom of this forum (DarkBASIC), and type 'bullet' into the search box.

Infra-Dark
#coding, like coding, but with a #
http://www.knova.dbspot.com/
dj BlackDragon
21
Years of Service
User Offline
Joined: 23rd Sep 2003
Location: who knows
Posted: 1st Aug 2004 06:37
no body will just hand out code.If you show us some work that you've done then i might give you a snippet.

Bye,
Ian

current project:Quest for the Five Staffs of Draconia
steve c
21
Years of Service
User Offline
Joined: 30th Jan 2004
Location: united kingdom
Posted: 5th Aug 2004 06:33
did you mean all my code or just the shooting bit well heres my shooting code


i used to be indecisive but now ime not so sure
BatVink
Moderator
22
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 5th Aug 2004 22:35
Your code is for one bullet. You need to create many objects, and manage them with an array. At the simplest level, a single dimension array of Dead or Alive (0 or 1) for each bullet would suffice.

BatVink
http://biglaugh.co.uk/catalog AMD 3000+ Barton, 512Mb Ram, 120 Gig Drive space, GeForce 5200 FX 128 Mb, Asus A7N8X Mobo.
Terms & Conditions apply
steve c
21
Years of Service
User Offline
Joined: 30th Jan 2004
Location: united kingdom
Posted: 6th Aug 2004 03:21
i have made lots of bullets but how would i do what you said i really dont know thanks

i used to be indecisive but now ime not so sure
steve c
21
Years of Service
User Offline
Joined: 30th Jan 2004
Location: united kingdom
Posted: 6th Aug 2004 06:45
i have made lots of bullets and i have been trying different commands so when the first bullet is shooting you can shoot the next one and stuff but no luck so can u pls explain or somthing thanks

i used to be indecisive but now ime not so sure
steve c
21
Years of Service
User Offline
Joined: 30th Jan 2004
Location: united kingdom
Posted: 7th Aug 2004 03:58
pls anyone

i used to be indecisive but now ime not so sure
Kohaku
21
Years of Service
User Offline
Joined: 3rd May 2004
Location: The not very United Kingdom
Posted: 7th Aug 2004 07:05
Quote: "Go to the bottom of this forum (DarkBASIC), and type 'bullet' into the search box.
"


Dude!

http://forum.thegamecreators.com/?m=forum_view&t=4203&b=10

Infra-Dark
Bring the 20 liners back!
#coding, like coding, but with a #
steve c
21
Years of Service
User Offline
Joined: 30th Jan 2004
Location: united kingdom
Posted: 7th Aug 2004 21:41
i have loads of times but i cant find anything

i used to be indecisive but now ime not so sure
steve c
21
Years of Service
User Offline
Joined: 30th Jan 2004
Location: united kingdom
Posted: 7th Aug 2004 21:57 Edited at: 7th Aug 2004 22:34
ok i tried in the code snips forum i found somthing i am trying it now bye

i used to be indecisive but now ime not so sure
Kohaku
21
Years of Service
User Offline
Joined: 3rd May 2004
Location: The not very United Kingdom
Posted: 7th Aug 2004 22:27
Good luck dude.

Infra-Dark
Bring the 20 liners back!
#coding, like coding, but with a #
steve c
21
Years of Service
User Offline
Joined: 30th Jan 2004
Location: united kingdom
Posted: 9th Aug 2004 02:08
i tried using the codbase code but i couldent use it that well so i wrote my own it works fine apart from when you shoot the first bullet the ammo keeps going down until you shoot the second one heres my code anyone know why


i used to be indecisive but now ime not so sure

Login to post a reply

Server time is: 2025-05-25 10:25:52
Your offset time is: 2025-05-25 10:25:52