Posted by Lance 24.4.252.137 using Mozilla/4.5 [en]C-AtHome0405 (Win95; U) on April 01, 2000 at 16:43:36:
In Reply to: Here's the basics..(more) posted by MrG on April 01, 2000 at 14:48:52:
First I have a program (which will continue to grow) that dtermines what battle formations to choose from. Each area in the game will have 5 seperate formations. Then I determine who is one the team (characters) and set the enemy stats (as variables). Then I have something run that checks if battle!==0 (explained later) and if so sets player stats (as variables). Then I do my equation with speed to figure out battle order. Then I load the graphic interface and check variables to determine what moves players have. Then the battle begins.
I will first need to discover distance between players and enemies (haven't figured that out yet) to determine range. Then I do a crapload of variable work and math equations for damage ect. I have a method that checks every turn what players and what enemies are dead. When all characters, or all enemies are dead, I set battle! to battle! + 1 to keep me from setting player stats every battle. Then I play around with more variables for exp and level ups!
I am not giving out the source!!! Yet!!! It is to crappy right now.
I hope I helped.
-Later o_0
-Lance