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

learn more… | top users | synonyms (1)

1
vote
2answers
402 views

Are there well known algorithms for efficient map knowledge?

The question subject's is a little confusing, but I had no better way to express my train of thought. I'm working on an RPG at the moment, and I have a question. Using SARSA (State-Action-Reward-State-...
0
votes
0answers
16 views

How should I embed a command-line AI to a game using pygame

Disclaimer: I am a novice in game development I built a command-line AI of a tic-tac-toe game and I'm now trying to build a game with graphical user interface. I choose pygame because the AI is also ...
0
votes
0answers
45 views

which games provide api for ai bots?

I want to learn writing AI code for playing games. I am searching for games that provide official api to write bots for them that can play the game. I would prefer games with C++/Python api as these ...
4
votes
0answers
38 views

Path finding. How to find a safe path for an AI snake?

I have been working on this project on and off! The project involves a game in which a player can compete with a snake ai to get the most apples. The current path finding technique i use (A* ...
0
votes
0answers
30 views

Getting my 2D follower to double jump :L

Ok so here is the current situation, I am essentially trying to get my player's follower to double jump after he jumped. I've successfully got my follower to jump at edges but not so much for double ...
0
votes
0answers
33 views

Find required entities to accomplish specific task in shortest time

I have a grid like map with entities that can perform turn-based actions like moving or growing strength. When I have a task that requires a certain strength, I want to find the entities required to ...
-1
votes
0answers
35 views

What is the best way to implement NPCs/AI in a 3D shooting game?

I've already developed some pretty simple NPCs for a shooting game, but they are way too simple: the enemies cycle through random covers at random times and shoot the player from behind the cover. ...
0
votes
0answers
20 views

Robot Arm Simulation in Unity3D

A friend of mine is having a trouble when he needs to rotate the robot arm simulation he's working on, the robot can already grab stuff with its hands however seems like sometimes randomly crashes ...
0
votes
1answer
46 views

Enemy AI chase twitching left and right to move vertically

I'm making an enemy follow the player based on his possition and attack if he is within a distance and his last movement (if the enemy last moved to the left, it will attack to the left, etc.). It ...
0
votes
0answers
26 views

Unity C# - Using UnityEvents or Delegates to handle multiple checking on update()

I am making a Behavior Tree made of IFs, my technical counselor told me that it was not necessary to use linked lists (as I have seen that it is a standard for BTs), so everything is basically checked ...
1
vote
0answers
50 views

Is there a turn-based strategy game that allows building AI from scratch? [closed]

I'm very interested in programming Artificial Intelligence for a turn-based game as a project. However, I'm looking for a (somewhat modern) game and can't really find one i'm interested in. ...
1
vote
2answers
96 views

Strategies for using Dijkstra's Algorithm on “larger” (4096+ node) graphs (tower defense)

I am using Dijkstra's for pathfinding in my 2d game, my game is similiar in style to a tower defense game which has waves of monsters trying to reach a goal. I am currently building the paths while ...
0
votes
0answers
98 views

AI Navigation C++

I have Blueprint-only (Version 4.13 Unreal Engine) sidescroller project which im happy with until now (set up items, currency, movement, menus.. - basic functionality of a game). I have integrated ...
1
vote
2answers
105 views

How should I handle MMO Enemies

I have some NPCS protecting a treasure room in a friendly building. But if the player comes close they turn hostile. I don't know if the NPCS should attack everyone when triggered or only attack the ...
1
vote
2answers
141 views

Implementing an AI controller for Pacman

I'm currently implementing an AI controller class that is being used to determine the moves that ms.pacman should make to collect pills and avoid ghosts. In order to determine which is the best move ...
1
vote
0answers
70 views

“Solve” a game algorithmically — creating bots (and making them smart) [closed]

EDIT : at first I gave a lot of context for this question, explaining why I wanted to create a bot. I'm sorry it distracted people from my "actual" question. My question is pretty simple : how does ...
0
votes
1answer
62 views

Problem understanding finite state machine

I want to use the finite state machine for the ennemies AI in my game. I implemented the pattern and it work fine for my first enemy (enemy A): Enemy is in IdleState by default When enemy see the ...
0
votes
0answers
24 views

Dealing with future states of predictable entities

I'm developing this AI for a tile-based game. In this game, each turn the actors move a specific distance to their target, consume it if near enough and move on to the next target. If my player wouldn'...
3
votes
1answer
169 views

What physics and pathfinding is used for a 2D top-down rpg game?

Im planning to develop a top-down oblique mobile game. But there is a question to my mind I need to confirm before I start. In the list below is my predicted ideas and questions. If I'm working on ...
0
votes
1answer
58 views

How to create follow leader behavior?

Assume that this behavior has Separation behavior. I tried to implement the FollowLeader behavior from this article. In the code below is my working implementation. But there is a problem, when I ...
0
votes
1answer
88 views

How to make the AI Chase in Multiplayer

Im Currently develop a little Dungeon Crawler. The Singeplayer works fine, but it also should have multiplayer so i implemented it. But there's one problem. I have no idea how to make the AI chase the ...
9
votes
3answers
3k views

What should be created first in a video game? [closed]

When starting developing a video game, should one focus on creating the environment (buildings, trees, mountains etc) first or the A.I. (Playable character, NPCs etc)?
0
votes
0answers
41 views

Unity 3D - Sports teammates AI positioning

We are currently developing a "pok ta pok" (The mayan ball game), and we are trying to solve the part on which the team players position themselves and move according to their position zones and the ...
1
vote
0answers
43 views

Efficient way of training a chabot AI

I am currently working on a chatbot game using Python 2.7.10. I use the Chatterbot library. This library seems to do all I need but the training data (or corpora) are very very limited. I haven't ...
0
votes
1answer
35 views

Unreal - AI's can't target buildings

After following some of the Unreal tutorials, I was able to create an AI that tracks the player. Now I want it to target specific buildings. I have tried various methods of modifying what was ...
0
votes
2answers
94 views

Chatbot AI game

I was looking into getting started with AI and machine learning. As an excuse I wanted to try and make a chatbot centred game. The idea would be to have the player stuck with a chatbot and only be ...
2
votes
2answers
110 views

How to avoid 2d enemy to see through walls

I am using RayCastCallback to detect the line of sight. So I the enemy avoid seeing the player through walls, problem is there's a limited field of view. So I added another two rays to the left and ...
0
votes
1answer
33 views

Having issue having AI move after changing directions

I've frankenstein'd together an AI script for the enemy to chase the player once the player enters the AI's collider. If the player's X is lower than the enemy's X aka he's on his left the enemy turns ...
1
vote
1answer
46 views

AI: dealing with movement driving the same inputs as the player

My AI design is pretty simple. I have different entities that can be possessed either by the player or the AI. Those entities have an "Input" component that holds the states of the actual inputs, like ...
1
vote
3answers
182 views

What is the difference between Non-Player Characters and Enemy Characters?

Non-Player Character also known as NPC is a character that is controlled by a computer itself with an Artificial Intelligence and friendly behavior. (Ex. Merchant, Blacksmith, Pet) Enemy ...
3
votes
1answer
240 views

Machine learning to improve strategy game AI

I am currently working on a simple strategy game as a hobby and I am starting to think about designing an AI to add opponents in the game. The idea behind the game is that you are a space explorer and ...
3
votes
1answer
133 views

How to do multi-agent 2d pathfinding when agents can block each other?

I recently restarted on my long time game development project and had a few questions about how to improve my games AI. I am a little stuck on the best way to implement my Enemy path finding when ...
1
vote
1answer
45 views

Dealing with AI in a simple strategy game

Hi I am currently working on a small real-time strategy game. The game consists in discovering and exploring planets to get knowledge and resource points. Every Unit of Time (UoT) in the game those ...
0
votes
1answer
100 views

Finite State Machines for Enemies (AI vs. Entity States)

Finite State Machines are a great tool for simplifying a system where an Entity has many states it can be in with different conditions that determine what state to transition to. This works well for ...
0
votes
1answer
131 views

Platformer AI Jump Calculation

Thank you for taking the time to read my question, I will try to keep it as concise as I can. I am making a 2D-platformer game. I am in the process of programming AI that can intelligently traverse ...
0
votes
2answers
147 views

Fire Emblem/Advance Wars/Turn Based Strategy like Artificial Intelligence

I have made a Fire Emblem/Advance Wars like game, and I was wondering if there are any particular techniques in the AI's in those games. I was wondering how to let the AI make the best decisions. I ...
0
votes
1answer
154 views

JavaFX snake game AI

I am trying to add an AI simulated snake to my snake game that a player can play against. So far I think I do get the concept of how to do certain things but snake should be able to find the nearest ...
3
votes
2answers
243 views

How would intensive AI pathing be done server-side in an MMORPG?

Take WoW or Runescape for an example. You have an incredibly large map, filled with cities and forests, each filled with people and monsters. Monsters roam around an area at random that is 25x25 ...
3
votes
1answer
110 views

How AI is balanced across different type of races in RTS games?

There are some real-time strategy games (like StarCraft 1 or 2) where AI needs to be balanced across different type of races (in SC it's Protoss, Terran, Zerg), so despite they've different type of ...
0
votes
1answer
168 views

Howto calculate the ideal hit of arrow?

I am trying to make the AI shoot an Arrow and Always hit the target. Assuming that the target is within his range I am stuck what the correct way is to do this. I search and found some solutions but ...
1
vote
1answer
44 views

Interrupt on behaviour tree

I'm using a custom Behaviour Tree library (not UDK or any other engine) so I'm wondering on the best way to cause an interrupt to a currently running node. I don't have decorators or parallel nodes in ...
0
votes
1answer
143 views

Is it possible to embed a chatbot AI in a game?

Is it possible to embed the AI used in evie cleverbot into a game? For example GTA5 or Sims, to enabe conversations and mood that is if you type something and the game characters will react to what ...
0
votes
0answers
83 views

Algorithm for 2d AI aiming to compensate for gravity

In a 2d side-view scenario I have two riflemen aiming at each other. By normalizing the x and y difference they know the direct path to the enemy. However, gravity will pull the projectiles downwards,...
1
vote
2answers
124 views

How to use GdxAI with libgdx ashley ecs framework?

I'm planning to use GdxAI Telegraph in GdxAshley ecs framework, my problem is how I'm gonna create a telegraph component if I wanted to dispatch a message? I have created AIComponent and AISystem. ...
1
vote
2answers
43 views

Best way of approach? Mob moving around a section of tiles

Think the beginning stages of Metroid, where there would be a turtle-like mob that would move around a section of tiles, normally 1-3 in a line. What would be the best approach to accomplish this ...
1
vote
1answer
41 views

Looking for a complete information game slightly more complex than Tic-tac-toe [closed]

I am testing various rating systems (Elo rating and some alternatives). I need a"world" with computer players participating in championships. Computer players are characterized by two parameters: (1.1)...
0
votes
1answer
66 views

Is Rete an efficient algorithm to implement a system that allows NPCs to make decisions based on their world views and inner state?

I'm developing an AI "mind" engine, which allows NPCs (non playable characters) to think and make decisions, based on their view on the game world, and their own inner states (in the future I may add ...
1
vote
1answer
147 views

given the position and velocity of an object how can I detect possible Collision?

I'm trying to detect Collision between autonomous moving objects and steer direction if collision is detected. so far I've been following a tutorial and I'm having a hard time to fully understand how ...
3
votes
1answer
66 views

Multilevel 2D grid graph and A*

I've coded up a little grid based dungeon game. Everything working quite nicely in a Tile[,]. The AI uses basic GOAP for tasks and A* for moving around. Tile reachability is done using a floodfill. ...
1
vote
1answer
114 views

How should my creatures see the world?

This may not be the best forum for this question, but I know a lot of you have dabbled in the field of general AI for games so here it is. I'm doing the cliche population evolution of creatures in a ...