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
TGWDNGHN
22
Years of Service
User Offline
Joined: 2nd Oct 2002
Location:
Posted: 12th Oct 2002 07:07
can someone show me a simple code snippet on how to make a gun (a cylinder),about 10 bullets (for a medium shooting speed) and make the gun fire when spacekey is being pressed?
The Darthster
22
Years of Service
User Offline
Joined: 25th Sep 2002
Location: United Kingdom
Posted: 13th Oct 2002 02:20
Here you go.

TGWDNGHN
22
Years of Service
User Offline
Joined: 2nd Oct 2002
Location:
Posted: 13th Oct 2002 21:10
Thanks...i'll play around withit so it won't freze my pc and so I can get the hang of it...so i can make my own...

Feenix
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location:
Posted: 16th Nov 2002 20:47
thanks. I will find this useful as well.

Feenix
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location:
Posted: 17th Nov 2002 23:08
Can anyone tell me how you bob the camera as you walk so it adds to the realism..

Mirthin
22
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Land of the Rising Haggis
Posted: 18th Nov 2002 19:12
Pseudo code...

While the player is walking
make camera go down for x millimetres
make camera go up for x millimetres
loop that sequence
end

This has "Fiasco" written all over it.
Feenix
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location:
Posted: 18th Nov 2002 21:48
I noticed in Quake it is not the screen which moves but the gun itself. Ho do you bob the gun if it is locked..

Mirthin
22
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Land of the Rising Haggis
Posted: 19th Nov 2002 13:42
Unlock it and do as above.

This has "Fiasco" written all over it.
peteg
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location:
Posted: 25th Nov 2002 02:14
can anybody help me, in my game, i have the camera is above and lookin down on an angle at the shooter, but now when i shoot, the bullets go down on that angle too, how can i get the bullets to shoot straigt while still lookin down on an angle

GMan
21
Years of Service
User Offline
Joined: 6th Dec 2002
Location:
Posted: 6th Dec 2002 19:29
hey, creatin a 2d, 2 player tank game, Aerial view. Cant get bullets to work at all. Any ideas?

John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 7th Dec 2002 03:31
Just make them lines if its 2d, and when they are shot inc the postition of the line from the end of the barrel.

RPGamer

Current - RPG: Eternal Destiny : Help Wanted!
Upcoming- MMOFPS- Paintball Game: HELP WANTED!
Http://halbrosproductions.netfirms.com
Goldeneye Nemesis
21
Years of Service
User Offline
Joined: 9th Dec 2002
Location:
Posted: 9th Dec 2002 12:51
In my FPS I simply fed a sine wave into the Y-Axiswhen the camera moved, which made my player bob. You could do this with the gun instead. Its the simplest way by far.
See my FPS at
www.enigmatek.co.uk/goldeneye

PiratSS
22
Years of Service
User Offline
Joined: 18th Oct 2002
Location:
Posted: 18th Dec 2002 00:29
Here is the bullet fixer!



I am the greatest thing since sliced bread!!

Login to post a reply

Server time is: 2024-11-23 18:17:44
Your offset time is: 2024-11-23 18:17:44