User Tag List

Results 1 to 9 of 9

Thread: Battle Engine

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    The Time-Loop Continues ZC Developer
    Gleeok's Avatar
    Join Date
    Apr 2007
    Posts
    4,826
    Mentioned
    259 Post(s)
    Tagged
    10 Thread(s)
    vBActivity - Stats
    Points
    12,963
    Level
    33
    vBActivity - Bars
    Lv. Percent
    26.65%
    Yep. BattleActions have a delay that is decremented each tick. If "!action.IsReady()" then it cannot be set as the current action. The idea is that if a combatant is unable to act, then he/she is responsible for removing any actions. (or some script)

    Bad targets will just have to be tested I guess. I don't have code for that yet.

    Yes, there is a shit ton of overloaded math routines. Screw rpg maker, we got much better stuff! :)
    -all standard c-lib math
    -vector, bounds, simple collisions, matrix math
    -random, clamp, min, max, lerp, spline, ex; "r = rand( lerp(a, b), vec2().dot )" etc..

    Look in script/api for scripting documentation. It's the best I got right now.

    I added a new script directory with various crap. All modified stats are handled now so if you look in combatant script file that should be everything needed for all attributes. (The underlying implementation may change but as long as you reference by .atk .hp etc nothing will break.)
    I'm currently in the process of adding character battle sprites, loading. If you noticed all the assets are in the repo now. :)


    Gotta go, my coffee is ready!
    This post contains the official Gleeok seal of approval. Look for these and other posts in an area near you.

  2. #2
    Floormaster Imzogelmo's Avatar
    Join Date
    Sep 2005
    Location
    Earth, currently
    Age
    45
    Posts
    387
    Mentioned
    7 Post(s)
    Tagged
    3 Thread(s)
    vBActivity - Stats
    Points
    1,465
    Level
    12
    vBActivity - Bars
    Lv. Percent
    96.04%
    As for formulas,

    Hit determination (for spells) is probably one we want to make in the spell class (with option to override in a few select instances).
    Damage is probably best handled on a spell-by-spell basis (some things may not even cause damage).

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social