Tagged Questions
8
votes
2answers
259 views
Following a path in a smooth fashion
I am currently making a 2d tower defense game with a static, predetermined lane that the enemies follow (i.e. towers cannot block the path and path finding is not the problem I am trying to solve).
I ...
0
votes
1answer
102 views
DPad style movement for AI without using A*
What is the easiest way to implement DPad style movement (No diagonal) for AI without using and A* algorithm? I thought about having the enemy catch up to the player in the Y axis first then the X ...
3
votes
1answer
118 views
AI surrounding algorithm suggestions
I am building up a simulation where predator groups (tribes) try to hunt other agents in the simulation (whom also are clustered in groups).
Now I got to a point where members of a group follow their ...
7
votes
2answers
254 views
How to handle entity path-finding and movement in a large networked world?
Considering the image above with tiles split into 32x32 boxes, I have an entity which is marked to 'aggro' nearby players that come close to it. I'd like this monster to ideally chase the player (and ...
6
votes
4answers
354 views
Implementing AI to hide behind obstacles
I am developing an AI simulation of predator and prey. I would like to simulate the AI hiding behind obstacles, if it is being chased. But I am still trying to figure out the best way to implement ...
2
votes
1answer
221 views
Space Invaders-type game: Keeping the enemies aligned with each other as they turn around?
OK, so here's the lowdown of the problem I'm trying to solve.
I'm developing a game in PyGame that's a cross between Space Invaders and Columns. I'm trying to make the motion of the enemies similar ...
2
votes
2answers
292 views
How to prioritize related game entity components?
I want to make a game where you have to run over a bunch of zombies with your car. When moving around, the zombies have a few things to take into consideration:
When there's no player around they ...
1
vote
3answers
842 views
XNA create differences in enemies
I created an enemy class for my game. It works well, except for one dilemma. When I spawn more than one enemy, eventually they begin to "overlap" and look like one enemy. I was wondering if anyone had ...
1
vote
1answer
273 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 ...
10
votes
4answers
405 views
Where will my character stop?
Many years ago I coded some AI for a budget pseudo-3d game. There was one calculation which I never really figured out the best way to do, and that was calculating where the enemy would end up if it ...
2
votes
1answer
276 views
3D Flight Path Generation and applying a curve to x,y,z
I made a little critter that roams around.
var boundary = 10.0;
var startingPoint = <0.0,0.0>
var destination = ...
4
votes
2answers
365 views
Enemy mathematical behavior
I'm really trying to up my game in game mathematics and now I'm working on enemy movement and a bit of AI. I have an enemy with two modes attack and avoid, based on an integer avoid variable that's ...
22
votes
6answers
2k views
Who does the AI calculations in an MMO?
I am building an MMO and want to add NPCs. The thing is I don't know the basic design. What does the calculations, the clients or the server? I would understand the server calculating events and ...
39
votes
5answers
2k views
Looking for a good technique for character movement in hack&slash game
I'm making hack&slash game and I want my characters move like for example in Torchlight, Diablo, etc.
Currently I generate set of nodes for all walkable areas of a floor. When I click somewhere ...
1
vote
2answers
656 views
Suggestion for C++ reinforcement learning library to control flocking algorithm
I am looking to use reinforcement learning to adaptively modify the weights involved in a flocking algorithm (i.e. 'boids').
Searching google revealed several libraries, but I don't know anything ...
13
votes
2answers
576 views
AI to move custom-shaped spaceships (shape affecting movement behaviour)
I'm designing a networked turn based 3D-6DOF space fleet combat strategy game which relies heavily on ship customization. Let me explain the game a bit, since you need to know a bit about it to set ...
16
votes
6answers
1k views
AI control for a ship with physics model
I am looking for ideas how to implement following in 2D space. Unfortunately I don't know much about AI/path finding/autonomous control yet.
Let's say this ship can move freely but it has mass and ...
13
votes
6answers
1k views
How to build a “traffic AI”?
A project I am working on right now features a lot of "traffic" in the sense of cars moving along roads, aircraft moving aroun an apron etc.
As of now the available paths are precalculated, so nodes ...
8
votes
2answers
3k views
Enemy movement in straight line to player in chase game
I'm creating a game where the enemies spawn randomly on a map then move towards the player every frame at a random speed. The map has no obstacles so the enemies should always move in a straight line. ...