Ideas.

Haven’t been putting much work into this lately; mainly distracted by some other toys and things as of late so I haven’t been able to get any good ideas going in my head. In terms of taking what I’ve got now, and making it functional, Graff is relatively close in that regard. The “fun” part of “functional” is definitely not there yet, but in terms of “allow the player to enter a dungeon, kill things, grab loot, and exit back out”, the pieces are there, but not put together or fleshed out. In terms of what could go in, here’s a list of ideas off the top of my head:

-Random element to combat
-Combat “abilities”
-Healing
-Shops;NPCs
-Monster variety; new monster behaviors
-Line of sight pathing
-Discrete turn system
-Field of View
-More GUI elements
-More map algorithms
-More transparent or player-affecting item/stat system
-More discrete map transitions than “press W or E”

With combat, out of the above list monster behaviors and combat abilities have the most potential to make things interesting. With abilities, I was thinking of having some sort of system where the player can press a key or hit a button that, for example does a “sweeping” move that hits all adjacent targets, or if the player moves in a direction for 2 squares and then collides with an entity, a “lance” ability is triggered that causes a knockback effect, for example.

Monster behavior is simply new AI patterns. There could be “squads” of entities that all follow a leader until that leader is within range of a target, then the squad begins to follow the target to attack. Likewise ranged attackers could mix things up, as well as trap layers, and so on.

Randomness to combat shouldn’t be that difficult; simply instead of returning (attacker.atk – target.def), return random range(attacker.atk – target.def) within some tolerance.

Though the first issue I should probably tackle is the managing of AI behavior. Currently it’s all hardcoded, and I’d like to get some portion of the entities into a separate file that’s loaded at the start of the game. Perhaps something as simple as the creature’s stats, name, and default AI package, as well as any status effects/resists, and that way adding a new creature is just a matter of writing a new entry into a config file, instead of jamming it into Entity.py somehow.

Advertisements

2 Responses to “Ideas.”

  1. georgek Says:

    I like your ability idea…was it the 7DRL DDRogue that had combo moves you initiated by moving in patterns? Really made combat fun.

    Regarding an entities file, I just did something similar. I’m using YAML which makes the definition really clean — a monster looks like this basically:


    – monster
    – x
    – y
    – something else

    …next definition

    And then you can load this in and create instances however you want — it’s basically a bunch of lists passed into the main program.

    • hahn Says:

      So it is. I (briefly) played another RL that had a similar idea with abilities that I cant remember the name now, but the abilities weren’t as much of a focus as DDRogue seems to make of it.

      Also I checked out yaml, it looks pretty handy. I’ve been using python’s built in configparser for other stuff already, but its annoying since you have to really think your way around it to get nested data in it.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: