Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => Topic started by: mdjenkins86 on August 01, 2006, 05:15:00 am

Title: Fight: Building a battle system
Post by: mdjenkins86 on August 01, 2006, 05:15:00 am
Okay this topic is for me to help organize what it is I am trying to do with the battle program for TSOD.
Goals:
Semi Realtime Battle System that pauses you decide to act.
Auto Action for opponets and allies that are set to auto.  In other words, I want to make it so that the user can set all of  their team members to auto and watch them make decisions.  This way, the user can get ideas from watching the AI battle.
Summons
Item useage
Tag team atacks
Scripts and Dialog that execute during battle and change scenerios.
Closeups of characters and opponets when they do major attacks.
Victory Dance
I want it to be easy to use but strategic none the less
Title: Fight: Building a battle system
Post by: mdjenkins86 on August 01, 2006, 05:50:00 am
Concept: Using a while loop or using goto

I thinks it is much easier to use a while loop because it is more structured and seems to run faster for what I need to do.  So c1-->
CODE
ec1whilec2
ec2 1 enimy and 1 ally is alive, execute program.
Title: Fight: Building a battle system
Post by: mdjenkins86 on August 01, 2006, 06:01:00 am
What about the progam itself: fight...psudeo!!!!!!

c1-->
CODE
ec1Fight(enimys As matrix, team As matirx, script As string)
{
...
while
end
...
}c2
ec2

enimys Name, HP, DP, Weapon, Attack, Defense, Accuracy...
[{Justin,99999,19999, Sword,100,255,61...},{Phenoix,34000,27000, NONE, 255,200,100...}]

team is pretty much the same...

script can be anything
Title: Fight: Building a battle system
Post by: DJ Omnimaga on August 01, 2006, 06:12:00 am
aaah I c, sound cool altough its a triple post I cant wait to see it in action!
Title: Fight: Building a battle system
Post by: Alex on August 07, 2006, 07:39:00 pm
Yep it's all about making the engine as flexible as possible, and divided into separate, smaller functions. Using this style it's very easy to debug and to add new features.

I wish you the best of luck in completing this ambitious project. I am glad to see you returned to this platform, I thought you migrated to the PSP.

- Alex
Title: Fight: Building a battle system
Post by: DJ Omnimaga on August 08, 2006, 12:14:00 pm
hey alex nice to see you back! But I think mdjenkins disapeared once again :(sad.gif
Title: Fight: Building a battle system
Post by: Liazon on August 08, 2006, 02:10:00 pm
aww, this sounded like it'd be such a good rpg!
Title: Fight: Building a battle system
Post by: mdjenkins86 on August 10, 2006, 02:03:00 am
I'm still here, just been very busy.  
Title: Fight: Building a battle system
Post by: DJ Omnimaga on August 10, 2006, 02:41:00 am
I c >.< *xlibman
Title: Fight: Building a battle system
Post by: mdjenkins86 on August 10, 2006, 04:55:00 am
oh and my hp laptop suffered massive hardware failure.  So I have to get a new computer before I can finish...
Title: Fight: Building a battle system
Post by: DJ Omnimaga on August 10, 2006, 04:59:00 am
ouch that sucks, I hope you didnt lost anything precious :(sad.gif
Title: Fight: Building a battle system
Post by: DJ Omnimaga on September 17, 2006, 10:33:00 am
hmm seems like mdjenkins is gone again...