Making a Fighting game in Godot

UltimaComi

New Challenger
Level 0
28%
Joined
Jan 17, 2025
Messages
7
Level up in
18 posts
Reaction score
35
Points
77
I don't usually post here, but I would like to share something I've been working on as of recent. For the past year, I have been working in Godot to learn game development. I only really made one thing notable which was my attempt at remaking the physics at Mega-Man X4 but now I decided to focus something I really wanted. Which is making a fighting game. As of now, I've only coded movement, hitboxes, hurtboxes, health, and side switching. At this current moment, I am still trying to wrap my head around input buffering and gatlings mostly because I want the game to play very similar to something like Darkstalkers or Guilty Gear. If you have any advice or knowledge of the topic feel free to share, it will only keep me motivated to finish my prototype fighting game.
 

Attachments

  • proto_screenshot.png
    proto_screenshot.png
    78.7 KB · Views: 74
  • ss_2.png
    ss_2.png
    76.9 KB · Views: 56
I don't usually post here, but I would like to share something I've been working on as of recent. For the past year, I have been working in Godot to learn game development. I only really made one thing notable which was my attempt at remaking the physics at Mega-Man X4 but now I decided to focus something I really wanted. Which is making a fighting game. As of now, I've only coded movement, hitboxes, hurtboxes, health, and side switching. At this current moment, I am still trying to wrap my head around input buffering and gatlings mostly because I want the game to play very similar to something like Darkstalkers or Guilty Gear. If you have any advice or knowledge of the topic feel free to share, it will only keep me motivated to finish my prototype fighting game.
That’s pretty sweet dude good luck out there
 
I don't usually post here, but I would like to share something I've been working on as of recent. For the past year, I have been working in Godot to learn game development. I only really made one thing notable which was my attempt at remaking the physics at Mega-Man X4 but now I decided to focus something I really wanted. Which is making a fighting game. As of now, I've only coded movement, hitboxes, hurtboxes, health, and side switching. At this current moment, I am still trying to wrap my head around input buffering and gatlings mostly because I want the game to play very similar to something like Darkstalkers or Guilty Gear. If you have any advice or knowledge of the topic feel free to share, it will only keep me motivated to finish my prototype fighting game.
a man in a suit and tie is standing in front of a window and says i respect that

I believe you can do it.
 
That's sick man, fighting games have to be some of the funnest games to design and play around with. I've been thinking of getting into Godot too, but I'm not sure yet. How was your experience with it?
 
That's sick man, fighting games have to be some of the funnest games to design and play around with. I've been thinking of getting into Godot too, but I'm not sure yet. How was your experience with it?
Godot is honestly the most positive experience I've had with a game engine. Very user friendly and I really like the interface. I highly recommend it!
 
Im not familiar with fighting games nor standards for input buffering in fighting games, but what you could do is have an array that you append values to for different moves/buttons, and simply read the first index to actually control the character.
You will need to have some way of actual detecting button combo's tho such as maybe tracking the time passed between button presses, and if its within a threshold pass a value for that particular combination.
One the first index is read to control the character you simply discard the array entry at that index which should line up the next entry to be read at the next tick/update.

Should find everything to do with arrays in the docs
 
Cool stuff. I've kicked-around making a fighting game but never more then just thinking.
I have zero clue how real fighting games work for move detecting, but the way I picture doing it is with a series of timers. For instance, when a "down" input is detected the "down_timer" starts decreasing. While "down_timer > 0" if a "right" input is detected then "down_right_timer" starts ticking down. Finally, if "high punch" is detected while "down_right_timer > 0" "DoMove(fireball_strong)", or whatever.

Horribly inefficient as laid-out, but that's what I envisioned. Good luck.
 
Cool stuff. I've kicked-around making a fighting game but never more then just thinking.
I have zero clue how real fighting games work for move detecting, but the way I picture doing it is with a series of timers. For instance, when a "down" input is detected the "down_timer" starts decreasing. While "down_timer > 0" if a "right" input is detected then "down_right_timer" starts ticking down. Finally, if "high punch" is detected while "down_right_timer > 0" "DoMove(fireball_strong)", or whatever.

Horribly inefficient as laid-out, but that's what I envisioned. Good luck.
Actually this isn't entirely inefficient but instead of having a separate timer for each input. You could just set a variable that will store the amount of time that passes in game whenever an input is being held and it will reset whenever the input was released and will start when a new input is pressed. (This is basically like the display of milliseconds that are in training mode; it could also handle charge inputs or something similar to Cody's Zonk Knuckle in SF4) Also, I have a timer that activates every 0.2 seconds after an input is released. All I need is a modular way to introduce special moves and abilities.
 

Attachments

  • 2025-06-09_16-37.png
    2025-06-09_16-37.png
    53.5 KB · Views: 9
This is really impressive. Looking forward to seeing more!
 
I wish you the best of luck with your project! I started following a YT series on Godot and got as far as making a 3D test environment with run, walk, crouch and jump mechanics (including primitive crouch animation). It was alot of fun and very eye-opening. It made me wish I knew C# and had a comprehensive understanding of the features of the software. But I guess that's where practice comes in!
 
I wish you the best of luck with your project! I started following a YT series on Godot and got as far as making a 3D test environment with run, walk, crouch and jump mechanics (including primitive crouch animation). It was alot of fun and very eye-opening. It made me wish I knew C# and had a comprehensive understanding of the features of the software. But I guess that's where practice comes in!
You can do it!!! Godot is a really awesome engine. You'll learn it in no time.
 
Beware: There have been no replies in this thread for 90 days.
Keep that in mind when expecting a reply from the people on it,
You can also start a new thread instead. This is just a heads-up, bumping is allowed in this forum.

Users who are viewing this thread

Connect with us

Support this Site

RGT relies on you to stay afloat. Help covering the site costs and get some pretty Level 7 perks too.

Featured Video

Latest Threads

16-bit Castlevania Titles

It’s kind of amazing how Konami went 10/10 with Castlevania on three different consoles in the...
Read more

PSP Visual Novels

I felt this was an underdiscussed niche...
Read more

Nioh


Just ordered this looks exactly like something id play.
Read more

PS1 Obscure Games List

Hello, everyone.
I wanted to compile a list of obscure PS1 games, since the same games are...
Read more

How to deal with Video Game Overload

Hey everyone, just wanted to know how you are dealing with something I'd call Video Game...
Read more

Online statistics

Members online
121
Guests online
3,173
Total visitors
3,294

Forum statistics

Threads
13,025
Messages
317,092
Members
872,857
Latest member
llllilllil

Advertisers

Back
Top