Jump to content
xisto Community
lacking_imagination

How Do I Make A RPG Battle System? final fantasy style

Recommended Posts

um, lets see, go learn C++ and opengl. At that point the rest should be rather obvious, either in terms of execution or in terms of the next step. Warning: this will be time consuming.You might also try python. Its very easy to learn, but I don't know how suited it is to gamemaking. Probably good enough....so go learn that instead of C if this is all you plan to do.

Share this post


Link to post
Share on other sites

Well I always promote Java as a robust and hardcore secure programming language. Java would be perfect. In java you use blocks of code called methods. For one method, it could be used to select who's turn it is next and then it will call the perform list method which will call the attack method or move method. It could get quite confusing, but I believe it would be the best way to do it. Good luck.

Share this post


Link to post
Share on other sites

I use flash mx, but I was wondering how to/what language I would need to make a final fantasy-like turn based battle system for a rpg I'm making. "So, any help you could give us would be... Helpful?" MP&THG

<{POST_SNAPBACK}>


I'm not really sure how to make a RPG battle system. The program that I would recommend that'll help you make one, is RPG Maker 2000. Even though you may not be using the game language itself, you can reference it for when you start to make your Battle Engine. Just a thought! :P

Share this post


Link to post
Share on other sites

Go to your local library (real one... not on computer but that one with books :P) and get some books with pen and paper RPGs - they have their battle system describec carefully so you would see how it can looks like - then you should play for a while some computer RPGs and decide about all things... Good is article on [Gamasutra] - " Applying Risk Analysis To Play-Balance RPGs"... to view ityou must regiester...

Share this post


Link to post
Share on other sites

You could use GameMaker. To be downloaded at https://www.yoyogames.com/. You can find an example of a RPG style text-box at their forums: http://forums.xisto.com/no_longer_exists/ I hope it's what you're looking for. I don't think it will be possible in Flash MX. GM is not as powerfull as C/C++ but it's more powerfull then Flash and I'm sure it will be possible and more easier to learn then C/C++.

Hope I helped,

-=Jeroen=-

Share this post


Link to post
Share on other sites

personally i think you'd need to be programming for about 10 years and know exactly what you're doing before doing something like that... i've been programming 17 years and doing the whole thing would still be a challenge... easiest way to do something like that would be with AGS.. there are readme files about how to put RPG adventure elements into your game.. and i guess that would be the easiest for you.. but probably still would be over your head.... take a course... if you need to ask a question like that don't even bother :o

Share this post


Link to post
Share on other sites

I have designed battle systems earlier, and have coded a few. The issue is you cannot just code a battle system on its own, with out any other systems like characters (PC and NPC) systems, equipment systems, environment systems and other things in place. And for that, you should be first seeking how the FF battle system works - not in terms of programming it, but in terms of designing it. Just to get the idea of what I am speaking, let us say there is a charcter named 'A', a monster named 'B'. A attacks B with a weapon C.Now, you need to have some set of rules layed down which lets us know how much damage B takes from A due to C. Also, what other stats of A effects this action - what other stats of B effects this action. Building a RPG game is based on the design of the whole gaming-system, and after that, coding it is as simple as just implementing few formulas already stated. Yes, ofcourse, then we need to think on how we program the presentation - that is a different issue altogether.So, I would suggest that you first look out how the Final Fantasy world works, and try to lay down the design. After that, the coding would seem quite obvious. If not, we are all here to help you out.

Share this post


Link to post
Share on other sites

Yea designing an RPG battle system would take almost more planning then coding. There are tons of things you would have to decide. You could make every charcter get 1 action per turn, each attack doing a base value only, and each character performing an action in turn. THat would be super simple to code, but fairly plain and boring in game.Once you add weapon variables into the damage amounts, random damage modifiers (like the die rolls in D&D based games), different speeds between attacks for dif characters, enemies each with dif abilities and rates of attack and whatnot, and all that other stuff the system would just snowball. I'd say before even thinking about coding, do as is suggested by others and research and plan. The Final Fnatasy games would indeed be a good place to look, as well as D&D. There are alot of comp RPG's based on the D&D ruleset and usually they are really well balanced as the system is very refined. Of course, it's your RPG so you can make your own choices as you please.Basically that's my reccomendation, if you are going to take this seriously, don't rush into it. Take your time to know what you're going to do before actually trying to do it.

Share this post


Link to post
Share on other sites

Unless you could make a php web based one, but i find them to be very boring after a while. Go with what the other people said, learn directX or openGL and make a client and server, which would be the best way to do it. BUT This could take AGES, maybe 1 year maybe more but it might pay off in the end, where you could offer a subscription service if you would like to.

Share this post


Link to post
Share on other sites

Well I always promote Java as a robust and hardcore secure programming language. Java would be perfect. In java you use blocks of code called methods. For one method, it could be used to select who's turn it is next and then it will call the perform list method which will call the attack method or move method. It could get quite confusing, but I believe it would be the best way to do it. Good luck.


Allow me to disagree. Java has it's good points and it's bad points. I wouldn't recommend anyone to even START with Java, first of all. Sure it's a (almost) perfectly safe language, you can't write beyond array boundaries and stuff, but it has quite a lot of details in the actual writing and compiling of the code which doesn't help much. It takes a while for a novice programmer to get around trivial but really annoying problems like having multiple public classes in a single file and all that.

All around I prefer C (C++ has its problems as well) and you could pick up the SDL libraries to easily create 2D games using mostly C. There are loads of tutorials around and the libraries are actually simple to use. Is simplifies mouse, joystick and keyboard input, as well as multi-channel sound output, networking, multi-threading and timing.

Plus, it's and excelent introduction to graphics programming, most people jump off to OpenGL afterwards.

You have more info at http://www.libsdl.org/.

Share this post


Link to post
Share on other sites

I'm a bit late on this topic but don't forget about RPG Maker 2003 and the newer XP version aswell.2003 is basically an updated 2000 version but XP makes quite a few advancements although some annoying if your'e used to previous versions, more colours can be used, less restrictions and such.The newer XP version also comes with a scripting language (Ruby) which you can use to further customize things, it basically lets you get under the hood more so to speak.

Share this post


Link to post
Share on other sites

Not really that hard...

How Do I Make A RPG Battle System?

 

Just search newgrounds.Com under 'RPG battle Tutorial' or 'Battle Tutorial'. I learned how to make a turn based RPG battle in only about an hour using some of the tutorials :)

 

-reply by Person

Share this post


Link to post
Share on other sites

Easiest way

How Do I Make A RPG Battle System?

 

Your best bet is to use RPG Maker 2003. Since both XP and VX (or ZX, or something like that) have come out since it's release, they've essentially stopped charging for the 2003 version. Many legal copies can be found for free with enough searching :P.

 

 

 

-reply by RoyFTW

Share this post


Link to post
Share on other sites

Answer!

How Do I Make A RPG Battle System?

 

Should we get started? Now relax and read this clearly. I will explain everything you need to know... Ok open Flash 2004! make the first frame a name of "setup" and add this actionscript to it: HP = 750; enemyHP = 500; This will tell it to add your hp and the enemie's hp to a number. Now make another frame and put this frame as "You". Ok! Now make a "attack" button. Now put a enemy on one side and you on the other. Above your character make a static text that reads "HP:" now put a dynamic text just right on the right side. Do the same for the other side for the enemy. Now the dynamic texts, put the enemy one a variety "var:" put that as "enemyHP" now yours is "HP" now make the attack button this actionscript: gotoAndPlay("attack") This will go to "attack" frame. Now go make another frame and put it: "attack" name. Now from that frame make a animation of your character attacking. When your done make the last frame actionscript: gotoAndStop("You"); Now go to the frame where your character "hit" the enemy. Put this in THAT frame. _root.EnemyHP = _root.EnemyHP-random(70); Now it will pick a number between 0-70 as the damage. Now put this into the frame where you can press the attack button: stop(); Now make it like that for the enemy attacking. So if its _root.EnemyHP = _root.EnemyHP-random(70); just switch it to this on the enemy attacking you: _root.HP = _root.HP-random(80); Now make 2 frames in the end and put that as the winning frame. And the loosing. So put this into the "You" frame. If (_root.HP==0) { gotoAndStop("lose"); } } if (_root.EnemyHP==0) { gotoAndStop("win"); } } Now name one frame the "win" frame and the "lose" frame now put something in both of them and now your done! just put this into the lose and win frame: stop(); test it and love it!

 

-reply by Augustin De Niek

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.