Tagged Questions
A simple term for "translation", the change of position of an entity typically on the route of going from point A to point B.
32
votes
5answers
761 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 ...
20
votes
6answers
1k 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 ...
14
votes
6answers
600 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 ...
14
votes
4answers
1k views
Top Down RPG Movement w/ Correction?
I would hope that we have all played Zelda: A Link to the Past, please correct me if I'm wrong, but I want to emulate that kind of 2D, top-down character movement with a touch of correction. It has ...
13
votes
2answers
385 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 ...
12
votes
5answers
568 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 ...
10
votes
4answers
336 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 ...
10
votes
2answers
675 views
RTS Game Protocol
I've been thinking about a multi player RTS game. The part that I can't seem to get around is keeping unit movement synced. If I move unit A to spot XY, I have to communicate that back to server that ...
9
votes
4answers
902 views
Curved movement between two points
What is a good technique to enable an object to move between to points in a nice curved motion?
The end position could also be in motion, such as the trajectory of a homing missile.
8
votes
5answers
473 views
Player moving up, is he jumping or climbing?
In a 2D physics-based platformer game that has ladders in it, how do you determine whether the player moving up is caused by a jump or him climbing a ladder, such that you know what animation to play? ...
8
votes
2answers
905 views
How do I tackle top down RPG movement?
I have a game that I am writing in Java. It is a top down RPG and I am trying to handle movement in the world. The world is largely procedural and I am having a difficult time tackling how to handle ...
7
votes
4answers
343 views
Moving objects colliding when using unalligned collision avoidance (steering)
I'm having trouble with unaligned collision avoidance for what I think is a rare case. I have set two objects to move towards each other but with a slight offset, so one of the objects is moving ...
7
votes
2answers
1k 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. ...
6
votes
4answers
320 views
Equation for bouncing graph?
I basically want my camera in 3D move automatically. Currently, I have linear movement which is rather dumb, so I'd like to do a bouncing movement.
However, what is a good equation for bouncing? I ...
6
votes
2answers
647 views
How to manage enemy movement and shoot in a shmup?
I'm wondering what is the best (or at least a good) way of managing enemies in a shoot-em-up.
Basically, what I'd do would be a class that manages displaying and updating positions of all the ...