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.

Author
Message
THijs681
20
Years of Service
User Offline
Joined: 24th Feb 2004
Location: somewhere on the earth
Posted: 27th Mar 2004 14:35
can anyone give me the code for AN SHOOTING OBJECT , LIKE IN TANK 2?
sponge008
20
Years of Service
User Offline
Joined: 8th Feb 2004
Location: MA, USA
Posted: 27th Mar 2004 18:22
Could you be more specific, please? I do not understand your question.
THijs681
20
Years of Service
User Offline
Joined: 24th Feb 2004
Location: somewhere on the earth
Posted: 27th Mar 2004 20:05 Edited at: 27th Mar 2004 20:05
In the tank 2 demo you see that cool shot, but i can't figure out how it works, can please give me a step to step tutorial, or a simple source code?
(im using DB classic)
comando 300
20
Years of Service
User Offline
Joined: 23rd Nov 2003
Location:
Posted: 27th Mar 2004 20:33
why you don't start with simple things?

CURRENT PROJECT: RETRO PAC-MAN
THijs681
20
Years of Service
User Offline
Joined: 24th Feb 2004
Location: somewhere on the earth
Posted: 27th Mar 2004 20:35 Edited at: 27th Mar 2004 20:35
cuz i have already created a pacman and a pong, now i wan't to take a step further and making a 3rd person shooter.
BearCDPOLD
20
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 27th Mar 2004 22:43
Shooting works in a couple ways. There's ray-traced shooting, and projectile-launching shooting, that's just what I call them, probably not proper terminology.

With ray-traced shooting, you track a line from the end of the gun barrel straight out until it hits something. Then you place textured plains around the gun barrel to make it look like fire, and you animate stuff along the invisible line from the barrel to the object it's pointed at, then you make an effect on the object the line collided with like a decal or explosion. You can then deal damage to the target if it applies.

With projectile-launching you have a bullet object, position it at the gun barrel, and just move it forward and forward and forward until it hits something.

That's kind of a rough ouline, see what you can get with it and keep posting.

Crazy Donut Productions, Current Project: KillZone
Web Site Button Does Not Work, Visit Here: http://www.geocities.com/crazydonutproductions/index.html
THijs681
20
Years of Service
User Offline
Joined: 24th Feb 2004
Location: somewhere on the earth
Posted: 29th Mar 2004 20:40
can you post an example?
sponge008
20
Years of Service
User Offline
Joined: 8th Feb 2004
Location: MA, USA
Posted: 30th Mar 2004 02:38
if mouseclick()=1
make object sphere,1,.20
position object 1,camera position x, cam. pos. y, cam. pos. z
rotate object 1,camera angle x,cam. ang. y,cam. ang. z
shot=1
endif
if shot=1 then move object 1,10
if object collision(1,0)>0 then shot=0

That's projectile style.
THijs681
20
Years of Service
User Offline
Joined: 24th Feb 2004
Location: somewhere on the earth
Posted: 30th Mar 2004 20:30
3rd person i mean, i shal post an example about wath i have soon.
CdPirate
20
Years of Service
User Offline
Joined: 16th Mar 2004
Location:
Posted: 31st Mar 2004 00:21
Good to see new shooting games. Kill Kill Kill!!!

Pentium4 3.06Ghz 512MB ddr ram 120 GB hard drive...

And Winblows XP.
Peter H
20
Years of Service
User Offline
Joined: 20th Feb 2004
Location: Witness Protection Program
Posted: 31st Mar 2004 03:00
Quote: "Good to see new shooting games. Kill Kill Kill!!!
"

ummm... ...did you forget to take your medicine again?...

"Your wife is death. How? NO idea. But it is murder. REVENGE!!!!!!!!!"
THijs681
20
Years of Service
User Offline
Joined: 24th Feb 2004
Location: somewhere on the earth
Posted: 2nd Apr 2004 12:33
here it is, sorry for the waiting, i have very much homework.
THijs681
20
Years of Service
User Offline
Joined: 24th Feb 2004
Location: somewhere on the earth
Posted: 4th Apr 2004 16:13
...
walaber
20
Years of Service
User Offline
Joined: 22nd Oct 2003
Location: Los Angeles, CA
Posted: 4th Apr 2004 17:29
nice start.

where's that pacman game?

seriously unless this is a joke, you need to take it slower.

Go Go Gadget DBPRO!

Athlon XP 2400+ || DDR-SDRAM 1GB || Nvidia GeForce 4 Ti4200 AGP 8x 128MB
THijs681
20
Years of Service
User Offline
Joined: 24th Feb 2004
Location: somewhere on the earth
Posted: 4th Apr 2004 19:37
I think it's better to make as much as you can in your game, don't say "i do that in the next game, i'm a beginner and i can't do that."
If you know how to do it , you won't forget it.
This is my 3rd programming language already, and i know what i'm doing.
THijs681
20
Years of Service
User Offline
Joined: 24th Feb 2004
Location: somewhere on the earth
Posted: 4th Apr 2004 21:13
I already have a 3D model for the player, a landscape, enemies , and threes.

It is gona be a quake3/unreal tournament/3Dmonsterhunt -like game in 3rd person.
screenshots i will sendt soon.
THijs681
20
Years of Service
User Offline
Joined: 24th Feb 2004
Location: somewhere on the earth
Posted: 4th Apr 2004 21:14 Edited at: 4th Apr 2004 21:15
...
attention!
Blanked
20
Years of Service
User Offline
Joined: 27th Mar 2004
Location: UK
Posted: 5th Apr 2004 06:37
There's a multi bullet code in the code snippet section at http://www.thegamecreators.com/?m=forum_view&t=28723&b=6

It's a very good snippet and should be what you need
THijs681
20
Years of Service
User Offline
Joined: 24th Feb 2004
Location: somewhere on the earth
Posted: 5th Apr 2004 18:22
nice , but it is not the effect i am searching for.
THijs681
20
Years of Service
User Offline
Joined: 24th Feb 2004
Location: somewhere on the earth
Posted: 6th Apr 2004 17:49
does anyone can really help me!
THijs681
20
Years of Service
User Offline
Joined: 24th Feb 2004
Location: somewhere on the earth
Posted: 6th Apr 2004 18:42 Edited at: 6th Apr 2004 18:43
okay, i use it, maybe comes a more funny effect later.
now i try to make an AI like in 3D monsterhunt.
THijs681
20
Years of Service
User Offline
Joined: 24th Feb 2004
Location: somewhere on the earth
Posted: 9th Apr 2004 22:07
it's called crazy pacman, and its ot copy-paste, sorry i have no host.

Login to post a reply

Server time is: 2024-09-22 04:24:04
Your offset time is: 2024-09-22 04:24:04