Questions tagged [fighting-game]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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'...
Matías Cánepa's user avatar
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 ...
guiege's user avatar
  • 1
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 ...
FrontEnd's user avatar
  • 1,687
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 ...
user avatar
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 ...
Adam's user avatar
  • 3
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 ...
user avatar
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 ...
WCKennedays's user avatar
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 ...
DRing's user avatar
  • 121
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 ...
LebRon's user avatar
  • 252
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 ...
Jason's user avatar
  • 413
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 ...
Merle's user avatar
  • 77
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, ...
clickbait's user avatar
  • 257
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 ...
digiholic's user avatar
  • 141
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 ...
Michael Choi's user avatar
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 ...
Carlos Ferreira's user avatar
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 ...
Daniel Zamilatskiy's user avatar
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 ...
Notbad's user avatar
  • 1,095
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 ...
Cristian Ceron's user avatar
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: ...
Cristian Ceron's user avatar
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. ...
Blue Wizard's user avatar
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 ...
Nightzus's user avatar
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 ...
Blue Wizard's user avatar
-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 ...
GarlicDipping's user avatar
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 ...
kira's user avatar
  • 51
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 ...
Matt's user avatar
  • 51
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 ...
thinkfuture's user avatar
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 ...
user avatar
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 ...
Lanbo's user avatar
  • 1,007