Behavior is the set of actions taken by an agent based upon its decision making system. Behavior is the applied result of the AI directing an agent. Questions on behavior should focus on actual or desired results of AI

learn more… | top users | synonyms

0
votes
1answer
118 views

Behavior Trees and Animations

I have started working on the AI for a game, but am confused how I should handle animations. I will be using a Behavior Tree for AI behavior and Cocos2D for my game engine. Should my ...
9
votes
3answers
612 views

How do I make complex AI manageable? [closed]

In the past, I've used simple systems like finite state machines (FSMs) and hierarchical FSMs to control AI behavior. This pattern falls apart very quickly or any complex system. I've heard about ...
3
votes
2answers
120 views

Behavior Tree Iteration Rate

How is a Behavior Tree iterated in a game? For example, let's assume you have an extremely large Behavior Tree with about a hundred Actions/Conditions. If we were to run one action or condition ...
1
vote
2answers
167 views

Single or Multiple Behavior Trees?

I just finished coding a generic Behavior Tree structure for my games. My question is, when creating behaviors for enemy AI's, do I create one large behavior tree with every possible configuration as ...
6
votes
1answer
169 views

Behavior Trees :: Actions That Take Longer Than One Tick

From what I understand on Behavior Trees, each Behavior should be a short goal oriented Action that could be done in a few iterations. So for example, below is an image of a Behavior Tree: Now let ...
7
votes
1answer
326 views

Can a rules engine produce manageable and complex AI?

I am currently in the middle of creating an AI village simulation in Java. Having implemented a simple rules engine for dialog, I am wondering if this DSL can be extended for AI. I have previously ...
1
vote
3answers
167 views

Reward volatility of League of Legends matchmaking system

According to this article in league of legends matchmaking there's an average of 50/50 chances of winning or loosing a game based on how system ranks a specific account (player skill). However this ...
5
votes
1answer
429 views

Component/Entity-based design + Behavior Trees => how to integrate?

For my current project I implemented a component/entity-based system, basically following most of the best-practice there is in this rather undefined area. So I got (slightly extended) Entities, ...
4
votes
2answers
484 views

Bejeweled-like game, managing different gem/powerup behaviors?

In general, what I am asking is, given any game where a game element can look/behave/affect-other-elements one way under one set of conditions, and look/behave/affect-other-elements a different way ...
2
votes
1answer
297 views

Space invaders clone not moving properly

I'm trying to make a basic space invaders clone in allegro 5, I've got my game set up, basic events and such, here is the code: #include <allegro5/allegro.h> #include ...
7
votes
3answers
797 views

Is BDD (Behavior Driven Development) used in games?

I have been reading about BDD - Behavior Driven Development for a while, and I find it really easy and usefull to convert features into code. BDD users often call it TDD done right. BDD is a tool for ...
2
votes
1answer
116 views

What is a trainer from a coder prospective?

What steps usually takes or modify a trainer? How a trainer can change the way a game behaves? Edit: with the word trainer I mean the applications, usually a single executable, that can unlock and ...
0
votes
2answers
205 views

DX11 - Weird shader behavior with and without branching

I have found problem in my shader code, which I dont´t know how to solve. I want to rewrite this code without "ifs" tmp = evaluate and result is 0 or 1 (nothing else) if (tmp == 1) val = X1; if (tmp ...
9
votes
1answer
4k views

Behaviour tree code example?

http://altdevblogaday.org/2011/02/24/introduction-to-behavior-trees/ Obviously the most interesting article I found on this website. What do you think about it ? It lacks some code example, don't ...
4
votes
1answer
211 views

Winning isn't everything (organic Hierarchy)

Suppose that you have a simple online browser based game* in which the characters are all landed nobles - Barons. When the game starts all players are on relatively equal footing. There is a game ...
2
votes
1answer
308 views

Attributes and Behaviours in game object design

Recently I have read interesting slides about game object design written by Marcin Chady Theory and Practice of the Game Object Component Architecture. I have prototyped quick sample that utilize all ...
8
votes
2answers
438 views

Implementing behavior in a simple adventure game

I've been entertaining myself lately by programming a simple text-based adventure game, and I'm stuck on what seems like a very simple design issue. To give a brief overview: the game is broken down ...
1
vote
1answer
271 views

What exactly is the difference between separation and obstacle avoidance

I've been reading some literature that explains both separation and obstacle avoidance. On first sight, they both seem very similar in what they are supposed to do: keeping objects apart form each ...
3
votes
2answers
481 views

Is it correct to assume that behavior trees work for AI, but the player character and static entities still need state machines?

When I read discussions about state machines vs. behavior trees, it is often in favor of using one over the other. However, this seems odd to me that you wouldn't still need a state machine to manage ...
6
votes
2answers
344 views

Techniques for bot movement in (first person) shooter games

I was wondering what kind of technologies were used in FPS games to move bots around the level. I know the pathfinding is done using waypoints or navigation meshes but how do the bots actually rotate ...
5
votes
2answers
426 views

Seperating entities from their actions or behaviours

I'm having a go at creating a very simple text based game and am wondering what the standard design patterns are when it comes to entities (characters, sentient scenery) and the actions those entities ...