Adventure Game Studio

Community => General Discussion => Topic started by: on Mon 18/06/2012 03:22:41

Title: making a fighting game with ags
Post by: on Mon 18/06/2012 03:22:41
does anybody know how to make a fighting game with ags cause i know there was a source code and if there is how to get it?
Title: Re: making a fighting game with ags
Post by: EchosofNezhyt on Mon 18/06/2012 03:30:46
I'd check the coding section or the wiki or search the forums.

As for coding a fighting game? Umm if you can code it I don't think you would have to ask. You might wanna try to find a engine made for that if your just starting out, If not there is a few fighting games around here maybe you can get there code.
Title: Re: making a fighting game with ags
Post by: on Mon 18/06/2012 04:36:53
ok and what are those fighting games
Title: Re: making a fighting game with ags
Post by: Jared on Mon 18/06/2012 05:32:46
MAME is the closest thing there is to an AGS for Street Fighter-style fighting games. I'd say checking that out would be the way to go, unless you want a fighting game in the middle of an adventure game.
Title: Re: making a fighting game with ags
Post by: on Mon 18/06/2012 05:45:55
is that a game or an engine?
Title: Re: making a fighting game with ags
Post by: Gilbert on Mon 18/06/2012 06:10:54
MAME is an emulator for a (HUGE) variety of arcade boards. For creation of fighting games, one popular free engine is KOF91 MUGEN (http://mugen.en.softonic.com/).
Title: Re: making a fighting game with ags
Post by: DoorKnobHandle on Mon 18/06/2012 11:24:37
Even though I can't release the source code, feel free to give the Indiana Jones Arcade Fighter I designed and programmed a try, it's very close to Street Fighter II in particular.

(http://www.barnettcollege.com/pix/arcade_fighter_easter2011.png) (http://www.barnettcollege.com/fighterspecial.htm)
Click the picture to get to the download page!

This could help you see what is possible in AGS, you'll see that the art required for all fighters and animations is huge for example, you will notice how the level boundaries work, how fighters get kicked back when they're hit, how they are stunned and so on!
Title: Re: making a fighting game with ags
Post by: on Mon 18/06/2012 19:24:10
how  can i make a game like that?
Title: Re: making a fighting game with ags
Post by: EchosofNezhyt on Mon 18/06/2012 19:40:43
Well... Download ags and setup a level. Start with the core things needed for a fighting game. Though your gonna need to know how to code.
If you don't I'd suggest reading up on it and starting with a simple adventure game.
Title: Re: making a fighting game with ags
Post by: DoorKnobHandle on Mon 18/06/2012 19:47:46
Yeah, you only need two elements which makes this kinda easy all things considered:

1.) the level
2.) the fighters

That's it! The level is going to be just a room background (or more than one arena to fight in), it needs a floor (this can be y-value if the floor is straight or a vector if you want an angled floor) and the left and right walls (these are usually just x-values so they are straight). The background, the floor and the walls are your arena and that's all you need. Your fighters are standing on the floor, they can't go further left than the left wall and no further right than the right wall. The background image is purely cosmetic.

Handling the fighters is more complex, you would use characters of course and then just have them play their proper animation when you hit a button. Move them to the left or right when walking, have them move up and down when jumping, a combination of both movements for diagonal jumps. Check if the arm of the attacking fighter reaches into the sprite of the other one to determine if an attack (like a punch) hit or not.

That's the basics that you can see working in the game I linked!
Title: Re: making a fighting game with ags
Post by: Khris on Mon 18/06/2012 20:05:56
Quote from: ig299 on Mon 18/06/2012 19:24:10how can i make a game like that?

Think about this question for a moment. How likely is it that somebody is gonna give an exhaustive answer to this that won't span several pages / isn't a full-blown tutorial?
It's like asking "how do you build a house?"
My point is, stop asking stupid questions and start learning to be an architect.
Title: Re: making a fighting game with ags
Post by: on Mon 18/06/2012 22:27:06
arcatact what do you mean?
Title: Re: making a fighting game with ags
Post by: on Mon 18/06/2012 22:30:23
and there is one other problem i have how do i set a character to do something with a keyboard beside walking?
Title: Re: making a fighting game with ags
Post by: on Mon 18/06/2012 22:31:39
and you can help scripting so why won't you instead of complaining
Title: Re: making a fighting game with ags
Post by: monkey0506 on Mon 18/06/2012 22:53:40
Because within 5 minutes you just triple posted, and you're clogging up Gen Gen with technical questions that largely stem from you not knowing your own limitations. You do not know how to program, so you are not going to be able to do this in AGS.
Title: Re: making a fighting game with ags
Post by: EchosofNezhyt on Mon 18/06/2012 22:58:41
Just start off simple man, It shouldn't take to long to learn enough to do that. I'm not by any means a scripter/programmer but I haven't found anything to hard to figure myself for making my game.(Though I've messed with java/lua/c++ a bit.)
Title: Re: making a fighting game with ags
Post by: monkey0506 on Mon 18/06/2012 23:06:25
I don't mean to sound so negative, but if you don't know how to program you have limited choices:

- Learn to do it yourself.
- Find someone who is willing to do all of it for you.
- Use a different program.
- Give up entirely and forever abandon this idea.
Title: Re: making a fighting game with ags
Post by: on Mon 18/06/2012 23:15:39
i'm sorry but graving up is not an option in my case
Title: Re: making a fighting game with ags
Post by: Khris on Mon 18/06/2012 23:18:16
ig299:
What I meant is people who want to build houses (architects) need to learn lots of stuff first, for years.
And ig299s who want to make fighting games with an adventure creation program need to learn how to use the scripting language, for months.

If you had asked a simple coding question I'd have provided you with a few lines of code to help you. But coding a 2D streetfighter clone takes a couple of hundred lines of code at least.
Do you not see why your question is useless?

Edit: How do you get from "giving" to "graving"...?
Seriously, you need to learn how to program if you want to do this with AGS.
Title: Re: making a fighting game with ags
Post by: Chicky on Mon 18/06/2012 23:18:57
I'd go with a different program. It seems a little counter productive to use the Adventure Game Studio, no?
Title: Re: making a fighting game with ags
Post by: Snarky on Mon 18/06/2012 23:28:14
Igor, you are headed for another ban. To avoid it, you need to:

-Investigate the topic on your own before you ask such general and basic questions
-Provide enough context in your posts for people to be able to understand what you mean and answer meaningfully
-Check your spelling and write in something resembling correct English
Title: Re: making a fighting game with ags
Post by: monkey0506 on Mon 18/06/2012 23:30:37
Quote from: Khris on Mon 18/06/2012 23:18:16How do you get from "giving" to "graving"...?

You missed one:

Quote from: ig299 on Mon 18/06/2012 22:27:06arcatact

I'm beginning to smell a bit of trawl. Until you can start posting realistic questions in the right forums without blatantly breaking the rules and openly disrespecting and slapping the face of those trying to help you, you can count me as out. Just saying.

Edit: And in light of Snarky's post I might have revoked this if I hadn't already typed it out only to find he posted while I was typing. :P
Title: Re: making a fighting game with ags
Post by: Ryan Timothy B on Mon 18/06/2012 23:35:48
Quote from: ig299 on Mon 18/06/2012 22:27:06
arcatact what do you mean?
Those blasted arcatacts and their confusing trade. Being a programmar and scripting is much easier work though.  :-D

Edit: And yes, being serious here. As Khris mentioned, Ig, you're asking a broad question. Instead of asking a few simple questions that you can't find in the manual or using the forum's search, those would be easy to answer. Using Khris's analogy: we're not going to tell you how to build a house, but we'll give you a few pointers on how to hold a hammer.
Title: Re: making a fighting game with ags
Post by: on Tue 19/06/2012 01:14:58
well i know how to do basic stuff like characters and rooms but my problem always was getting the character to do something with a press of a key on a keyboard like in that Indiana Jones game
Title: Re: making a fighting game with ags
Post by: Gilbert on Tue 19/06/2012 02:27:46
As I mentioned, try MUGEN instead. If you cannot even handle it you probably cannot do it with AGS. AGS was not designed for making fighting games in the first place. Being able to do so is one thing, but that doesn't mean you should/can do this with it.
Title: Re: making a fighting game with ags
Post by: Jared on Wed 20/06/2012 04:01:20
Oh, man. Can't believe I confused MUGEN with MAME. Sigh.

But yes, MUGEN is the tool to use for a fighting game. It really is made for it and is fairly easy to use, even if, from memory, it has very limited GUI.
Title: Re: making a fighting game with ags
Post by: Eggie on Thu 21/06/2012 19:42:35
One of the first things you come to when you're scrolling down the global script in the default game template is code for making the character move when keys are pressed. I don't know why you wouldn't have seen it before being that you know the basics of the software but, you know, you could give that a look.
Title: Re: making a fighting game with ags
Post by: an Urpney on Sun 24/06/2012 23:23:08
I'm sorry, Community... I couldn't stop myself.
http://www.mediafire.com/file/r31ofwciat85xne/Stickman_Revange.rar
(Z - punch)
Download at your own risk and you probably will regret if you do.
Title: Re: making a fighting game with ags
Post by: on Sun 24/06/2012 23:55:52
Quote from: an Urpney on Sun 24/06/2012 23:23:08
Download at your own risk and you probably will regret if you do.

I did and I did. Downloading *and* regretting. But in a good way ;-D

MUGEN seems to be a pretty fun program, though; I never knew about it! Very easy to set up, and that's coming from someone with almost ZERO experience in fighting games (Puzzle Fighters probably doesn't count). I should give it a try, ig!
Title: Re: making a fighting game with ags
Post by: Radiant on Mon 25/06/2012 09:50:31
(http://crystalshard.net/img/qstfgt3.jpg) (http://crystalshard.net/index.php?g=12)
Title: Re: making a fighting game with ags
Post by: on Fri 27/07/2012 21:54:21
but you have made a fighting game like ocean spirit denies and i just have a problem with a code for getting the character to do something with a pres of a key so if you could help me with that that'll be grate
Title: Re: making a fighting game with ags
Post by: KodiakBehr on Wed 01/08/2012 20:49:54
For the record, questions like "[how do I get] the character to do something with a pres (sic) of a key" are best-placed in the Beginner Questions forum.  In the meantime, I would suggest you go to the Help menu within AGS and do a search for IsKeyPressed.
Title: Re: making a fighting game with ags
Post by: suicidal pencil on Sun 05/08/2012 02:07:23
(http://i0.kym-cdn.com/entries/icons/original/000/000/554/facepalm.jpg)

kinda how I felt reading this catastrophe of a thread...

ig, if you are indeed serious and are not a troll, and you really want to use AGS, then create a small game (one room) first, and experiment with it. Open up the demo game that comes with AGS and peruse it's source. AGS has the capability to create some pretty complicated and amazing games, but the farther you drift from P&C adventure games the more work you'd need to do.

If you decide to continue making a fighting game, learn to code. We'll help you with problems, but we wont code the whole f*cking thing for you. That, and it feels quite nice to solve a rather thorny programming problem without any help.

On the reverse side, it's infuriating to stare at a simple problem and see nothing but complex solutions, or no solutions at all
Title: Re: making a fighting game with ags
Post by: Andail on Sun 05/08/2012 20:46:43
Before more people feel inclined to moderate Ig, let me just direct your attention to his permanent ban.

EDIT:
... which has now been made unpermanent.
Title: Re: making a fighting game with ags
Post by: on Sun 19/08/2012 01:18:21
For now i'll hold off on the idea but later we'll see.