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
2answers
324 views
How do I move a sprite around using tile based movement in Java?
So, I'm new to Java and I want to get a sprite to move around the screen, like a tile-based movement. I really would like some help and some resources or tutorials could work. I've done a little C#, ...
0
votes
1answer
197 views
I am looking to make a spaceship tilt as it corners but I cant get it to return
I am using the TL game engine I am not allowed to use a physics engine but I need to make the spaceship lean as it corners, I can make it lean but cannot make it return to its starting position. I ...
3
votes
1answer
373 views
XNA 2D Board game - trouble with the cursor
I just have started making a simple 2D board game using XNA, but I got stuck at the movement of the cursor.
This is my problem:
I have a 10x10 table on with I should use a cursor to navigate. I ...
2
votes
0answers
148 views
What is causing this behavior with the movement of Pong Ball in 2D? [closed]
//edit after running it through the debugger it turned out i had the display function set to x,x...TIL how to use a debugger
I've been trying to teach myself C++ SDL with the lazyfoo tutorial and ...
4
votes
2answers
856 views
Is it safe to set FPS rate to a constant?
I learned from game class that in update function, every movements must be time dependent for the sake of linearity in movement.
We made a simple game. Every move like going left, right or jump is ...
0
votes
1answer
128 views
trouble in making a game questions?
all i've a little trouble understanding some concepts while making game please give your suggestions on my questions.
I have a animated sprite image this i want to move this image according to given ...
2
votes
3answers
1k views
Car movement in arcade racing game
I am finishing a very basic 2D racing game with top-down perspective. I can't get the appropriate formulas to make the movement of the cars fun and addictive... Do you have tips on how to achieve that ...
2
votes
1answer
580 views
2D bullet movement speed problem [duplicate]
Possible Duplicate:
Moving from A(x,y) to B(x1,y1) with constant speed?
My problem is that I can't get my bullet movement right. The current update code I have for it is:
speedX = deltaX;
...
2
votes
3answers
368 views
Best way to implement mouse-based movement in MMOG
I want to design an MMO where players click the destination they want to walk to
with their mouse and the character moves there, similar to Runescape in this manner.
I think it should be easier than ...
2
votes
1answer
1k views
Speed of bodies in Box2D and libgdx
I want to move my bodies at higher speeds, but they have a top speed.
I have an Ortoghraphic camera defined at 800x480.
My world doesnt have gravity.
I apply an impulse of 1000,and a force of 1000 ...
1
vote
1answer
321 views
Why does my 2d collision and movement not work properly?
I'm trying to write(in c++ using sdl) a mario like game as in a tile based world with by pixel movement for the character and I've run into some problems I cannot seem to find the source of:
1.The ...
4
votes
3answers
1k views
Moving from A(x,y) to B(x1,y1) with constant speed?
I currently have something like:
float deltaX = point0.getX() - point1.getX();
float deltaY = point0.getY() - point1.getY();
And every 0.01 seconds I refresh my objects position like this:
...
0
votes
2answers
490 views
How to move the ball in straight line in gamesalad?
I have an actor named ball and I want to move it in a straight line which is created by actor ball's X and Y coordinate and cursor's X and Y coordinate. I have Move To behavior in gamesalad but I ...
0
votes
1answer
311 views
How can I determine which direction a 2D collision is occurring from?
The problem is as follows:
Think 2D Zelda (Links Awakening, A Link to the Past) style movement where you can run into walls from any of the four cardinal directions, or basically up, down, left, and ...
2
votes
1answer
276 views
Move Sprite from A(x,y) to B(x1,y1);
I have a sprite with an UpdateHandler that can change it's position every 0.1 seconds.
My Question is , given the Sprites current position, how can I move it to another position(like from 10,10 to ...
2
votes
1answer
775 views
C++/SDL Getting Multiple Bullets On-Screen
I've finally gotten this laser thing to work for my Space Shooter, and so far I've come across a slight problem. I've gotten the laser to position itself at the starting position correctly and move ...
-2
votes
2answers
348 views
Move camera on X and Z only
How would you implement movement on a camera in order to always move it on X and Z coordinates, and if the camera has pitch yaw or roll it still moves only in those coordinates and doesn't fly up?
3
votes
2answers
285 views
Is this aiming mechanic usable in a third-person top-down game?
Long story short: I've switched to a third person - top down perspective. The camera is fixed and looks down at the player. How can I implement 3d aiming ? The player needs to aim left and right as ...
10
votes
4answers
695 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? ...
-1
votes
1answer
816 views
How to make Moving road/track for android game?
I am very much new to Android game development. and i have little idea about the canvas and open GL. in one of my requirement i wanted to draw a moving road/track(Jazzy). how should i start. please ...
1
vote
1answer
271 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 ...
2
votes
2answers
486 views
Actionscript 3.0 - Enemies do not move right in my platformer game
I am making a side-scrolling platformer game in Flash (Actionscript 3.0). I have made lots of progress lately, but I have come across a new problem.
I will give some background first. My game level's ...
5
votes
1answer
507 views
How can I implement view wobble when my player is running?
I'm creating a FPS in XNA. So far its' going great. What I'm looking at doing is replicating the camera movements that you see in Modern Warfare. So, if you are walking the camera stays pretty ...
10
votes
4answers
404 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 ...
1
vote
6answers
482 views
How do you simulate frictionless movement?
I am building a game in which I want to simulate smooth movement of an object upon pressing a key or any other event. Could someone advice me to get that feel of gliding of an object, sliding on a ...
4
votes
1answer
523 views
C# Top down movement limitation
I'm using C# and Visual Studios 2010 with XNA 4.0+lua, and my teacher has asked us to make a 2D RPG game similar to zelda(top down). I was aiming to use just one image for each map region, instead of ...
2
votes
1answer
269 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 = ...
1
vote
2answers
643 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 ...
1
vote
2answers
486 views
XNA: How to make the Vaus Spacecraft move left and right on directional keys pressed?
I'm currently learning XNA per suggestion from this question's accepted answer:
Where to start writing games, any tutorials or the like?
I have then installed everything to get ready to work with XNA ...
2
votes
2answers
401 views
How do I handle user input with good class structure/architecture for an Android game?
How do I handle user input having "good" class structure and following normal game architecture*?(see below). At first I didn't think this question was Android specific, although, after seeing a great ...
0
votes
1answer
475 views
Is my technique for client-side character movement in an MMORPG reasonable?
I started an MMORPG game, and I can already make a character move around the map and see other characters. But I have doubts about my architecture.
I have a loop which, every x milliseconds, request ...
3
votes
1answer
299 views
How can realistic 3D body-part movement be implemented?
Say you create a person, monster or robot, with arms, legs, head(s) ... in 3D in a game.
How do you coordinate the body-part movement to achieve the fluidity of real living beings? Is there some ...
-1
votes
1answer
617 views
2D top down movement
I'm trying to make my first real time game.
I'm having problems with the movements using the mouse though. If close to theX axis, the player is moving fine, but if close to the Y axis(going ...
4
votes
2answers
356 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 ...
0
votes
2answers
203 views
how can I move an actor in opposit direction of mouse's position in GameSalad?
I have a moving actor named ball and I want to move it in the opposite direction of my mouse's position.
In my code in Move To behaviour for X-axis location I write
-game.mouse.position.X
and ...
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 ...
3
votes
1answer
412 views
How do you get an object to orbit around a certain point on a 2d plane?
I had a concept for a game come to me this morning but I can't figure out how I'd go about implementing the movement.
The general idea involves the left and right controls causing a sprite to go ...
14
votes
2answers
1k 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 ...
15
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 ...
0
votes
1answer
464 views
What is the best mechanism for controlling a character in a 2D Android game?
Im developing a 2D RPG for Android where the character can move up, down, left, and right like in top-down RPGs like Pokemon.
What is the best input mechanism to use to control the character? A ...
1
vote
1answer
199 views
I need help with specific types of movement
I'm adding movable crates to my game and I need some help with my movement code. The way I've set up my movement code the crate's X and Y are moved according to a vector2 unless it hits a wall. Here's ...
4
votes
1answer
540 views
Tried and true basic movement physics (jumping, not walking through stuff)?
If I sat down long enough, I'm sure I could make this happen, but I don't want to reinvent the wheel if I don't have to, especially if XNA has patterns in place for doing this.
For now, I'm working ...
11
votes
4answers
3k 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
2answers
2k 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 ...
38
votes
5answers
1k 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 ...
3
votes
4answers
496 views
Who controls my player's movement?
In my game, does my player object control the movement, or does the map object control it? (Or some other object?)
The player doesn't know about the map's contents to stop at solids, interact with ...
0
votes
2answers
594 views
How do i get my tilemap to move at the same speed as my character
I have a little problem in my solution, i'm trying to make a pretty big map for the players to walk around in.
I decided to use a tile-engine, but when I move my character it moves faster than my ...
4
votes
4answers
1k views
Make player to always move along the terrain
I'm working on a 2D platformer side scroller game. I am giving high impulse to player, the player starts moving and if it hits a slope on terrain, it gets a vertical movement and starts to fly over ...
3
votes
0answers
298 views
How can I make bodies that do not stick to the wall in Bullet Physics? [duplicate]
Possible Duplicate:
Physics engine recommendation which can simulate pool game correctly?
I made a Billiards scene with Bullet Physics, but I've got a problem. When the ball is slowing down ...
1
vote
2answers
545 views
Collision Problems
I'm having some troubles with a 2D platformer type game (there's more to it, but that's all that matters for this question). I had collision with the platforms working fine, but if the character hit ...
