The design and/or logic of how an in-game entity makes decisions about its behavior.

learn more… | top users | synonyms (1)

-2
votes
2answers
124 views

In XNA, how do I make a sprite move towards another?

I am making a shoot-em-up with a player-controlled sprite with a gun: I have most of the game working, but I have gotten to the point where I need to load in the enemy characters and make them move ...
3
votes
1answer
218 views

Local avoidance together with any-angle types of A* Pathfinding

Recently I have been implementing the Block A* any-angle path-finding algorithm in a project I have, for which I need extremely efficient results due to the large number of NPCs. However, I still do ...
2
votes
1answer
497 views

NegaScout with Zobrist Transposition Tables in Chess

I'm trying to put Transposition tables into my alpha beta scout. I do see an incremental speed boost I think toward mid or late game, however, even with a table size of 1-2GB, its may or may not be ...
1
vote
1answer
152 views

ECS: AI components and systems

I'm trying to find the best design pattern for my AI code using an ECS. Right now the entities that act as CPU-controlled have components like: WeaponComponent ChargeComponent MovementComponent ...
0
votes
1answer
115 views

libgdx FollowPath proper usage

I'm developing top-down rpg game and got some problems using https://libgdx.badlogicgames.com/gdx-ai/docs/com/badlogic/gdx/ai/steer/behaviors/FollowPath.html I have a path (picture 1), in this case 2 ...
0
votes
1answer
122 views

Integer linear program solver based AI

Is Integer Linear Programming a viable solution for a turn based game AI? My current AI solution uses an ILP solver. If you are unfamiliar with ILP, it uses a collection of Booleans to find most ...
-1
votes
1answer
268 views

Help with fleet combat strategy game AI

can you tell me how to implement a game AI like the sea battle Ai in NAPOLEON:total war. I want to finish a small game,which the ship can occupy the island to produce more ships and my fleet can ...
4
votes
0answers
129 views

AI using character controller makes unwanted change to it's y position

The enemy parent object does not have any colliders except for the character controller. It starts out with y = .57 and immediately jumps to y=1.6355 because of my call to CharacterController.Move(.) ...
4
votes
0answers
92 views

Conceptual question regarding Belief-Desire-Intent agent

I've been researching the Belief-Desire-Intent model and the way they used it in the original Black and White Game(which is the same, but they also defined decision trees as opinions). I have a ...
2
votes
0answers
175 views

How can I use iteration to lead targets?

In my 2D game, I have stationary AI turrets firing constant speed bullets at moving targets. So far I have used a quadratic solver technique to calculate where the turret should aim in advance of the ...
1
vote
0answers
23 views

How can I model AI Interactions across the entire game world without computing them individually?

I'm making a 2D top-down tile-based game in C++ using SDL2. The game uses a very large world map (think Dwarf Fortress). My world terrain is generated using a noise function, another function is ...
1
vote
0answers
116 views

Libgdx and gdx-ai: How to implement wander behavior?

So I follow the original gdx-ai documentation and created 2 circles to test Steering behavior. The image shows arrival behaviour but I am still quite lost about how they work. Screen class: public ...
1
vote
0answers
36 views

Examples about how to tie AI actions to animations?

I wrote a simple test AI for a character; and all that it should do is to be idle while a parameter is below threshold; otherwise it should perform actions based on other parameters. So for example ...
1
vote
0answers
181 views

Tip on turn based game AI

I'm quite new in video game AI, and I'm trying to design an AI for a turn based game. The rules are simple: The battle field is represented by an NxM board. The game is between two team, each team ...
1
vote
0answers
16 views

Why BlackBoardValue Says Invalid And False? UnrealEngine4

Think my ai do not move towards the sound because of the blackboard keys , one says invalid and another says false , i think that is the reason.... Enemy Ai should move to the location where sound is ...
1
vote
0answers
168 views

How to target moving object in 2D game

I am working on targeting system for 2D game. Two objects move in space. Each one have Position and Velocity vector. Ship object shoots moving objects in space. Ship can shoot in any direction, but ...
1
vote
0answers
270 views

Recursive backtracking sometimes missing a tile?

I have a basic recursive backtracking alghorithm for a maze. It pretty much works but ocasionally leaves some tiles in the corners untouched. This is the recursive function: void ...
1
vote
0answers
88 views

Best way to solve the game 'bricolage'

I am trying to solve the following game http://www.hacker.org/brick/ using some kind of AI. The target of this game is to finally clear the board by clicking on groups of at least 3 bricks of the same ...
1
vote
0answers
29 views

Internal FSM transition from an external Raycast's results

I'm making good progress on my shooter, I've now moved onto the AI. Currently I perform a Raycast from my base Weapon class to check for impacts, and then invoke a function on the hit object after ...
1
vote
0answers
656 views

Algorithm for potential fields

Rather than computing potential fields in a grid and performing a lookup for them, I've decided to query the potential fields at a given point in 3D space by simply querying all the objects in a ...
1
vote
0answers
266 views

When attaching AI to a vehicle should I define all steps or try Line of Sight?

This problem is related to an intersection simulation I am building for university. I will try to make it as general as possible. I am trying to assign AI to a vehicle using the JMonkeyEngine ...
0
votes
0answers
4 views

How to ensure a condition in a behaviour tree when processing followin nodes?

Exmaple Tree (Source): As far as I understood, a sequencer iterates over the children until one failed or all are successful. If one children returns "running", the sequencer will start to process ...
0
votes
0answers
54 views

Basic chasing AI - deciding speed

We're working on a simple game where the player is pursued upwards by a malicious entity. I'm not sure on the best way to go about doing this, taking into account the following points: This is a 2D ...
0
votes
0answers
31 views

AI models with prioritised tasks

I'm searching around for models to implement a (simple) AI in a RPG game and was hoping you could give a direction (and possibly, a Java implementation if you know one). This is the thing I'm hoping ...
0
votes
0answers
81 views

Monte Carlo Tree Search (MCTS) for General Game Playing (GGP)

I am trying to implement a MCTS with UCB (upper confidence bounds) to balance the relation between exploitation and exploration. A lot of General Game Playing (GGP) agents have implemented this and ...
0
votes
0answers
148 views

spaceship movement ai in 3d space

how to control spaceship. let it movement like spaceship movement in 3D space. All the steering behavior on the internet is 2D. And when agent seek or arrive to point behind, it's direction turn back ...
0
votes
0answers
63 views

Faulty AI for Connect Four game

I'm trying to implement the mixmax algorithm (without alpha-beta pruning yet) for the AI for the Connect Four game. I know that there are a lot of papers with the best rules to handle this kind of ...
0
votes
0answers
67 views

Goal keeper AI with animation

I'm working on football simulation game. I am trying to implement Goal keeper AI. I did calculated ball trajectory and intersect point. I wanted to Goal keeper to dive to the interaction point and ...
0
votes
0answers
161 views

Using unity's car ai for enemy tanks or creating a simple vehicle ai?

I'm creating a simple game that you are a guy with anti tank / rpg-7 and you have to destroy waves of enemy tanks and jeeps that come toward you. Do you think it is an overkill to use unity's car ai ...
0
votes
0answers
59 views

Does the LibGDX AI extension work on IOS?

Does the LibGDX AI extension work for IOS? Here it does't show how to add it to the IOS dependencies. I don't have an IOS device but I want to release my game for IOS. I just don't to finish my game ...
0
votes
0answers
146 views

unity3d - AI terrain detection

My goal is to have my animals walk around within a certain range. Everything works except for when it comes to the y axis. I can choose a position for it to walk and it will go there but I have no way ...
0
votes
0answers
206 views

Implementing a group formation behavior

I am trying to implement a group formation behavior where all the units in my group follow a leader and maintain their position throughout. So far I am able to move them, rotate and follow the leader. ...