A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [first-person-shooter]

A 3D or pseudo-3D action game genre categorized most famously by its first-person perspective and a bias towards ranged projectile combat.

Filter by
Sorted by
Tagged with
50
votes
3answers
16k views

What is the little dot/icon at the center of the screen in an FPS game called?

So I am developing a game and trying to find one of those to use, but I don't know what to search for. If you don't know what I am taking about, look at these examples: What are these called?
38
votes
1answer
7k views

Mouse aim in an FPS

I would like to make a First Person Shooter and move the camera with the mouse. The problem is that when the cursor reaches the limits of the screen, the camera won't turn anymore. How can I keep the ...
29
votes
14answers
9k views

How to implement “bullet time” in a multiplayer game?

I have never seen such a feature before, but it should provide an interesting gameplay opportunity. So yes, in a multiplayer/real-time environment (imagine FPS), how could I implement a slow motion/...
23
votes
2answers
13k views

What to send to server in real time FPS game?

What is the right way to tell the position of our local player to the server? Some documents say that it is better to send the inputs whenever they are produced. And some documents say the client ...
17
votes
4answers
7k views

How to keep my Quaternion-using FPS camera from tilting and messing up?

I am using an FPS-like camera, and it uses quaternions. But, whenever I try looking up and then sideways, it tilts, and sometimes it can turn upside down. How can I fix this?
15
votes
5answers
6k views

What's the best head-bob formula?

Given a point in space, a direction of travel, and a time since start, what's a convincing, non-sickening formula to simulate head bob? What's been successful in previous games? Has there been any ...
14
votes
4answers
3k views

Prevent players from wallhacking in an online FPS?

Why do we still complain about wallhackers in multiplayer first-person shooters? Isn't it possible to perform occlusion culling for all players server-side? For example, send player xyz information ...
14
votes
2answers
2k views

Shooting the bullet out of the gun instead of the camera, yet keeping it accurate with respect to the reticle

I'm working on a first person game, and I've ran into a problem. In my game, there's the player's gun being rendered, as well as a reticle in the center of the screen - like this: First, Let's ...
13
votes
1answer
3k views

Implementing network smoothing

We are making a multipler first person shooter. The client sends it's position to the server at a fixed rate (currently at 10Hz). The server sends a single message contatining all player's positions ...
12
votes
2answers
690 views

How does Halo draw projectiles?

I am trying to draw projectiles and doing billboarding. A projectile consists of a bill-boarded "particle" and a "tracer". When I billboard a projectile, it cannot be seen when the player's viewing ...
12
votes
2answers
3k views

Multiplayer FPS server side performance

This is related to MMO Performance except that question is about bandwidth. This is about cpu load. I put together a simple FPS using node.js and webGL. It's extremely simple, a lot like the ...
11
votes
5answers
4k views

What makes aiming in a console first person shooter feel good?

I think it's pretty much universally agreed that simply mapping the analog stick to rotational speed of the character is not good enough to make console first person shooter feel good. So what are ...
11
votes
3answers
607 views

Gravity strength in first person games

In our game, we set the acceleration due to gravity to the appropriate value of 9.8 m/s^2. Although physically correct, it feels more like moving around on the moon.. It feels about right at a value ...
11
votes
3answers
3k views

FPS Collision detection and movement

How is collision detection and movement typically handled in a FPS, particularly handling slight changes in ground height such as stairs (both on incline and decline)?
11
votes
2answers
823 views

Examples of TIN-based terrain formats in FPS games

Do you know of any terrain formats for FPS games that use a triangulated irregular network (TIN) instead of a grid for elevation representation? Or at least a game whose development tools accept a TIN ...
10
votes
3answers
6k views

How to implement mouselook in the browser?

I am currently creating a 3D first-person shooter game in the browser using WebGL. How would I implement mouselook/free look for such a game?
10
votes
1answer
1k views

How do I create good looking plasma explosion effects?

Is this just a billboard quad with a bloom shader?
9
votes
2answers
1k views

Is Xbox Live suitable for a multiplayer FPS?

I'm working on a basic first person shooter. I would eventually also like to publish it on Xbox Live. If I do this, will I still have access to parties (invite and chat)? Does Microsoft provide ...
9
votes
1answer
6k views

Is there any game engine capable of true binaural positional 3D audio? [closed]

I am by no means a game designer, so I apologise in advance if I fail to use the proper jargon. Feel free to correct my mistakes. My understanding is that, at the moment, in most if not all first-...
7
votes
3answers
8k views

Perfect FPS camera angle

I am making a multiplayer FPS and I am in search of some helpful tips on the perfect FPS camera angle. Because it is a multiplayer, I am making a full body model holding the gun, I find, however, that ...
7
votes
1answer
485 views

How can I minimise data sent through a network in a modern FPS?

I am aware of snapshot interpolation with the use of delta compression as being a technique used to minimise the amount of data sent in a modern FPS game like Quake 3, but what other techniques are ...
6
votes
5answers
18k views

How does one develop a first person shooter with a one man team? [closed]

I have an idea for a first person shooter game and I have plenty of free time to work on it. I know java and objective-c very well and I also know autodesk inventor (which is similar to 3ds max). ...
6
votes
5answers
1k views

In FPS's what is the primary reason for unused ammo in a removed magazine returning to the ammo pool?

All FPS's I know of return unused ammo in a removed magazine back to the users overall ammo count. For example, I have 3 magazines with 30 rounds in each, I fire off 25 rounds and do a magazine ...
6
votes
2answers
5k views

FPS networking with server sending input instead of gamestate

Why do all fps games have the server send gamestate instead of input which is smaller? One reason I can sort of see is that if the server sends input to the clients and a packet gets dropped then the ...
6
votes
5answers
1k views

FPS games: don't they have unrealistic one-eyed view? What are the causes?

I have played many fps games, and noticed that the camera perspective is similar to the 'one eyed view' of the surroundings. It does not feel like bilinear. :/ Is it because of the single flat view ...
6
votes
1answer
1k views

Need help for weapon models for Unity

I've been working on this FPS game and I've gotten to the point where I need to start adding the weapons in and have been having trouble creating (unsure of what engine to use) them. Is there an ...
6
votes
2answers
271 views

Which fixed framerate should i choose for physics thread?

I am writing first-person shooter game with fast motion. I have a fixed high-frequency physics loop thread, which is separated from variable-frequency rendering thread. I need to choose the physics ...
5
votes
5answers
4k views

Why do most FPS games have a machine gun, shotgun, and sniper rifle?

Most folks who've played FPS games would have noticed that the same weapons tend to reappear again and again, such as machine guns and shotguns. There was once a lot of innovation in the types of ...
5
votes
2answers
6k views

FPS Crosshair, Should it be drawn on center of the screen or to the forward of bullet spawn point?

so my question is where to draw crosshair? I have some things in my mind like: 1): Draw it on the center of camera(which will stays on the center of screen always), but as my gun is little lower to ...
5
votes
3answers
588 views

Why aren't game bullets implemented as if they were real bullets?

Let's say I'm working on a 3D first-person shooter and the boss is a stickler for realism, and orders me to implement the bullets as tiny projectiles that travel, say, 1000 meters per second. What ...
5
votes
2answers
21k views

Simple framerate counter?

I'm making a first person shooter, and I've seen questions like this before, but the answer is either overly complicated or they're using SDL, GLFW, GLUT, or something else. I'm not using any of that. ...
5
votes
1answer
703 views

How can I implement view wobble when my player is running?

I'm creating a FPS in XNA. So far its' going great. What I'm looking at doing is replicating the camera movements that you see in Modern Warfare. So, if you are walking the camera stays pretty ...
5
votes
2answers
2k views

Recommended 3D camera settings and model sizes for an FPS

I'm making a simple FPS and I can't decide on the size of my models and my camera settings. Could someone please recommend a good combination of: camera field of view near and far planes model ...
5
votes
1answer
875 views

Techniques for bot movement in (first person) shooter games

I was wondering what kind of technologies were used in FPS games to move bots around the level. I know the pathfinding is done using waypoints or navigation meshes but how do the bots actually rotate ...
5
votes
2answers
790 views

What makes aiming on a PC first person shooter feel good?

I liked this question: What makes aiming in a console first person shooter feel good? So here it is for PC (and its not a dupe because a mouse is hugely different from an analog stick) You've ...
5
votes
1answer
1k views

Why should a FPS game use a “floating arms” approach over full body one?

I've seen many first person shooter games both single and multiplayer using a set of floating arms and a gun instead of using the whole body model. What is the advantage of floating arms? You are ...
4
votes
4answers
1k views

Should the bullet trajectory calculated by server or by client? [duplicate]

In a FPS game like Battlefield or Arma, when playing online, should the bullet trajectory be calculated by the server or by the client?
4
votes
3answers
3k views

Implementing recoil in a realistic and balanced way?

To clarify, I've seen this post already I really like the idea that the chosen answer suggests, yet when I go to implement it the recoil still doesn't "feel" right. The problem is mainly the fact ...
4
votes
1answer
6k views

How is shot synchronization implemented in multiplayer FPS?

I'm building a 2D multiplayer shooter game. I have singleplayer working and started working on multiplayer part (server code,...) and there is one thing I just can't get my head around. When player ...
4
votes
1answer
948 views

Improving first person camera and implementing third person camera

I want to improve upon my first person camera implementation and extend it to, so the user can toggle between third person/first person view. My current setup: draw():: ...
4
votes
1answer
392 views

How to handle walking into walls?

Say we have a player who's walking around in first person perspective. He would like to walk forward, but that would put him inside an object, and that's no good. Right now what I do is... (...
4
votes
1answer
556 views

3d Model Scaling With Camera

I have a very simple 3D maze program that uses a first person camera to navigate the maze. I'm trying to scale the blocks that make up the maze walls and floor so the corridors seem more roomy to the ...
4
votes
1answer
7k views

In UE4, how do I turn my character's body together with the camera?

I made a simple punch animation in Blender and exported it into Unreal Engine 4. In-game, the character appeared from a 3rd-person perspective, but I made it look like first-person by adjusting the ...
4
votes
1answer
337 views

Is it worth it, to try and prevent cheaters?

Perhaps one of the biggest issues that plague FPS-games are cheaters. If you use a server-authoritative model, you will prevent some level of cheating. But why do this if people can still aimbot?
3
votes
2answers
793 views

Automatic weapon recoil with that “Counter Strike”-feel

How would you do it? I already found this function for an impulse (helped by math.SE). It works for single shots, but not for automatic weapons. Any ideas?
3
votes
3answers
685 views

How can I model a “weapon overheating” mechanic?

I want to create a weapon overheating system very similar to the plasma rifle in Halo. You can watch a video of the plasma rifle firing. What I want to do is to create a flexible logic that can be ...
3
votes
2answers
492 views

Multiplayer FPS Gameplay: How to encourage players to dispense ammo?

In the Battlefield: Hardline beta, players can now obtain health and ammo directly from other players, without having to ask for it via the command rose. Here's two examples of how asking for health ...
3
votes
1answer
271 views

How many UDP ports for an MMOFPS

I'm designing an MMOFPS. I'm not sure whether to use one UDP port for all clients or one UDP port per client. Or is there another alternative? Currently UDP is only being used for position data (X,...
3
votes
1answer
2k views

Where can I download the Doom Classic source code, the iOS port? [closed]

Doom classic source code for iOS was released by id software, but there is no working link on their web site where I could get it from. Do you know an alternative source to download the Doom Game ...
3
votes
1answer
815 views

LibGDX - FPS drops

I've been trying to record some gameplay footage of the game I'm currently working on, using the Android SDK and ADB to do it. Whilst the game runs at constant 60 fps in my medium-end phone, as soon ...