A simple term for "translation", the change of position of an entity typically on the route of going from point A to point B.
0
votes
1answer
38 views
How to implement deceleration and stopping over a certain distance
So I have a a character, say a spaceship. It needs to move distance R, and in direction T (Theta). So say if The object is at (0,0), and it needs to get to (4,3), it has R = 5 and T = about 36 ...
0
votes
2answers
64 views
Displaying possible movement tiles
What's the fastest way to highlight all possible movement tiles for a player on a square grid? Players can only move up, down, left, right. Tiles can cost more than one movement, multiple levels are ...
3
votes
2answers
114 views
+100
How to combine tap and long hold gesture recognizers?
I have a game in which the player moves around a sprite by tapping on various sections of the screen (left, right, up, down). So far, each tap moves the sprite one tile (I use a tile system for ...
-1
votes
0answers
58 views
Intelligent collision detection with movement [closed]
i am new to this stack-exchange page and i need an hint how to implement correct "implementation of movement-/collision behaviour".
I never developed games before...and never with Javascript/HTML5. I ...
2
votes
1answer
162 views
How do I implement movement in a WPF Adventure game?
I'm working on making a short WPF adventure game. The only major hurdle I have right now is how to animate objects on the screen correctly. I've experimented with DoubleAnimation and ...
-1
votes
0answers
46 views
Mouse controlled camera bisbehaving. [closed]
I wish to implement a free roam camera that I can control with a mouse in OpenGL. Unfortunately, moving the mouse seems to rotate the camera incorrectly (along weird axes) when my camera is facing a ...
3
votes
0answers
61 views
Simple movement restrictions to semi-realistically model human movement in top down 2D game?
I am writing a sports simulation game in which the simulated players will interact physically with each other (i.e. tackle, push, bump...) as well as do individual actions such as changing direction ...
0
votes
2answers
135 views
Asteroids Movement
I have been making an asteroids clone, in C#. However, the ship's movement is... not quite right.
My plan is this: there is a speed, and two directions, namely the direction the ship is facing ...
11
votes
1answer
293 views
Pathfinding on a uneven planetary surface
My question is what would be the best approach to pathfinding on an uneven planetary surface?
Background Information
I have created a planet from displacement mapping 6 sphere projected planes. ...
0
votes
1answer
105 views
Pong horizontal movement algorithm
I was just wondering about the horizontal movement of a pong ball? What is the general algorithm used with this? The ball in my pong game just move vertically and I don't know about the algorithms ...
3
votes
2answers
258 views
How to achieve smooth movement with a fixed timestep
Previously in the update method of my game I was using a variable time step which provided very smooth movement of a player sprite except when the frame rate would drop, even slightly. At that point I ...
-1
votes
1answer
91 views
A paddle in my pong game isn't moving [closed]
I'm working on a little pong game in LWJGL but only one paddle moves. I've tried to switch around some code in the hopes it would work again but it still doesn't.
Here is my paddle class:
public ...
2
votes
1answer
173 views
2D Top down acceleration vector
I have been wanting to solve the issue of movement once and for all... with all that I have learnt and read through, should be a piece of cake one would have thought... , seems it isn't. Having ...
0
votes
1answer
117 views
Interpolating a player between two 2D points?
I would like a player to be able to move in a direction smoothly, whilst sticking to a fixed grid. Much like in Pokemon, how the player can move, but when the key is pressed and released quickly, they ...
2
votes
2answers
109 views
Smoother controls
I am trying to move my background left if the user hits the right key. and right if the user hits the left key, so that it will look like the player is moving.
The problem is that whenever I hold the ...