Anyone know how to make a cool fight system???

elemental gamer
23 Sept 2016, 14:34

im working on a game but i don't know how im gonna do a fight system


onimike
23 Sept 2016, 15:19

Here are some links to The Pixie's combat library's heres the basic combat library http://textadventures.co.uk/forum/samples/topic/4886/rpg-style-combat-library
and here is the more advanced combat library http://textadventures.co.uk/forum/samples/topic/5976/rpg-style-combat-library-2-0
If you choose not to use these library's then you would have to create your own which can be some work depending on type of game your making. I can help more but not the greatest at this but I too made my own combat system to fit my needs with guns, defensive weapons, accuracy, different damages, etc. Pretty simple system works well though Ill make a tut on how to make easy weapon system, ill post when I have it done.

Mike


hegemonkhan
24 Sept 2016, 03:33

here's my old combat code (based upon Pertex' Combat library):

http://textadventures.co.uk/forum/quest/topic/3348/noobie-hks-help-me-thread#22483
http://textadventures.co.uk/forum/quest/topic/3348/noobie-hks-help-me-thread#22486 (and its key/legend --- which I've learned to never use abrevs again, lol)

which you can use for ideas, at least, but its not as good code design as Pixie's (and Pertex' too) Combat libraries


combat can be very simple or very complex, if complex, it can be very challenging to code, as combat is a major game system.


you can't do combat, if you don't understand Attributes and the 'if' Script usage, so if you don't know how to do this stuff, you got to learn it first, before you jump into doing combat.

for more advanced combat, you'll need to understand List/Dictionary Attributes, and using Objects well/advancedly (Object Oriented Design), and many other advanced coding designs and techniques.