Questions tagged [fighting-game]
The fighting-game tag has no usage guidance.
28
questions
0
votes
1
answer
63
views
Optimal position detection for character
In a classic fighting game like Mortal Kombat, character A is on the left facing right and character B is on the right facing left.
At some point the characters can swap positions and hence where they'...
0
votes
0
answers
67
views
How would I go about making Pushboxes in a 2D fighting game?
I am working on a 2D fighting game engine in C++ and SDL2 and everything so far is going swimmingly. I have hitboxes, hurtboxes, and pushboxes as you would expect of a typical fighting game. How ...
12
votes
4
answers
5k
views
What is the function or benefit of including juggling mechanics in a fighting game?
I am putting together the initial design ideas for a 3D fighting game. Overall the style of the combat I would like to be something between UFC and DOA games, so focused on realism but the pacing more ...
0
votes
0
answers
906
views
Unity Input Buffers
I’m working on the framework for my 2.5D fighting game in Unity (it’s gonna be similar to Street Fighter IV) and I’ve got movement down so I want to start adding attacks. Since there’s going to be ...
0
votes
1
answer
239
views
Refactoring fighting game Movement class responsibilities
I'm a web developer, new to C# and trying to learn Unity. I've learned the C# syntax, I understand how to write working code, although I'm having a hard time understanding when and to what classes ...
2
votes
2
answers
253
views
How to make fighting roster actually fair and FEEL fair?
I plan on creating a fighting game in the future, and I'm wondering how to make a roster functionally fair, and feel fair. You see, Super Smash Brothers Ultimate is functionally fair (I think), but at ...
0
votes
2
answers
4k
views
JavaFX - How do I create a health bar?
I tried searching online on how to implement health bar with Java FX in a 2D side-view Java fighting game but I can only find those that goes with 'awt' and 'Swing'.
The health bar I'm picturing are ...
1
vote
1
answer
316
views
Box2d punch detection
So working on a 2d fighting game and wondering whats a good method for detecting punch collision. Ive got a few questions on how to implement the attack stuff. Im using box2d (and Libgdx) for the ...
1
vote
1
answer
128
views
Synchronise events in Multiplayer Game
I am trying to make a fighting game where two characters are fighting with hands or can have some weapon in their hands. It's a multiplayer game targeting initially for mobile devices. In Game, there ...
4
votes
2
answers
586
views
What should I use as units for my 2D game?
I'm trying to create my first C++ 2D fighting game from scratch, using SDL, and so far I got things to where I am able to move a couple sprites around using some keyboard keys. Right now, I have it so ...
1
vote
1
answer
5k
views
How do I program attacks and combos in a fighting game?
I'm working on a game a bit like "Super Smash Bros.", using C++ and SFML. I can't figure out a good way to program attacks.
First, I coded individual functions for each attack. The problem with this ...
2
votes
1
answer
2k
views
How to solve "server lag" problems that break the game
How do real-time multiplayer games deal with latency problems (or “server lag”)?
Imagine an online fighting game where 2 players battle head-to-head in real time. When a player performs an action, ...
1
vote
1
answer
3k
views
Unity C# Input Buffering
So, I've got a fighting game with some pretty tight input windows, and I'd like to buffer the inputs for a few frames.
Basically, if the fighter is in the neutral state, pressing attack should lead ...
7
votes
2
answers
210
views
Maintaining/Updating Large Amount of Player States
I am developing a fighting game to practice my skills in Java and I would like to know what would be the best approach for figuring out how to easily expand the amount of states a player can have ...
6
votes
1
answer
1k
views
How can I handle fighting game collisions for complex animations?
Imagine that I have an animation like this.
As you can see, this attack hits in three horizontal places.
The opponent facing this player could be hit mid and low (standing or crouching).
The same ...
4
votes
2
answers
4k
views
How do I implement a hit box system in a fighting game?
In a fighting game, a move that you execute is basically just a series of hit boxes that are enabled and disabled at certain times. I want to know how do you create this hit box system.
I have no idea ...
6
votes
2
answers
1k
views
Is it safe to base a combo system in frames instead of time?
I'm building a prototype for a fighting game (not vs, something like Final Fight). I'm trying to define the data for the player combo tree and had a look around looking for inspiration and have seen ...
1
vote
1
answer
702
views
What are the basic equations in 2D physics collisions?
I'm making a 2D fighter, and I have gotten a basic engine, but right now I need to add the collisions, but I'm sure a basic AABB check will not be enough.
I'm sure it needs some basic 2D physics ...
4
votes
1
answer
3k
views
How to implement a professional fighting game input buffer?
Ok guys, I understand how to make a basic input buffer.
Here is my code:
...
3
votes
1
answer
1k
views
Fighting Game Camera Positioning in SDL
I'm working on a 2D fighting game (using SDL) much like the original Killer Instinct on SNES. I want the camera to keep both players an equal distance from the left and right sides of the viewport. ...
1
vote
1
answer
853
views
Timing in fighting game using animations time?
I am developing a 2D fighting game in C++. I have made the basic components such as moving, guarding and even a combo system that works perfectly well.
My main concern now is that I want the game to ...
1
vote
2
answers
2k
views
UDP Netcode Architecture for Fighting Game
I am programming a fighting game that uses a UDP client/server architecture for multiplayer. The server can handle multiple clients, two of which (or one being the server) are playing and the rest are ...
-1
votes
2
answers
674
views
How to prevent multiple hits from a single attack that lasts multiple frames?
I went through many websites explaining fighting game systems, frames, hitboxes, but I couldn't find the answer so I ask here.
Basically fighting game hitbox system works like this :
Player A starts ...
1
vote
1
answer
523
views
When to use AI prediction in a Fighting Game
I am making a fighting game AI that can predict the player's next move using a N gram predictor. Once I have the prediction, when do I use it? Do I wait until the player makes a move and then use the ...
3
votes
2
answers
3k
views
How can I determine an appropriate frame count for various fighting game animations?
I am currently starting to outline a fighting game I'm doing with a friend. The biggest obstacle for me now is determining frames for every move.
How can I determine how many frames should a quick ...
4
votes
1
answer
236
views
Estimating players' odds of winning in a fighting game
I'm creating a fighting game where two opponents face off against each other in the ring. While I've been able to figure out the odds of a player winning based on previous wins/losses, I have yet to ...
7
votes
2
answers
11k
views
Fighting Game and input buffering
In fighting game, there is an important thing called input buffering. When your character is doing an action, you can input the next action that will activate as soon as possible (the buffer is 5-10 ...
8
votes
3
answers
4k
views
How to implement AI for fighting game
I built a 2D fighter yesterday.
The second 'player' does hardly anything. Actually, nothing. To be honest, I have never made a game before that had an opponent like this.
So my question is, how ...