A moving surface in a game that can be stood on. Can move back and forth, along a track, or in any other way that serves to kill characters just as often as it helps them.

learn more… | top users | synonyms

14
votes
3answers
4k views

How do I handle moving platforms in a platform game?

I don't want to use box2d or anything, I just want simple moving platforms (up-down, left-right, diagonal and circular paths). My question is to handle the update order / control hierarchy so that the ...
8
votes
1answer
5k views

How to handle physics of moving platforms in a platformer?

So after a few hours of searching on the internet, I have yet to find a pleasing answer on how to handle moving platforms in a 2d platform game. So I decided to make a simple prototype where you ...
6
votes
1answer
447 views

Collision Detection problems for vertically moving platforms

Background My game is a static screen (ie, no scrolling) 2d platformer and my CD routine is split into 2 - after vertical movements, (ie, gravity etc) I check for collisions, and if they are ...
6
votes
2answers
1k views

Correct order of operations in a platformer game loop

I've run into an issue with my Mega Man engine, and the structure of my game loop is making it very difficult to fix. With Rush Jet, or any falling platform, Mega Man needs to stay attached to the ...
5
votes
5answers
8k views

Moving from XNA to Android

I've been using XNA to learn game programming for some time, and I'm interested in moving to Android. Having said that; the learning curve to get started seems to have ramped up exponentially. I ...
3
votes
1answer
150 views

Pathfinding over a moving platform

I have beens struggling with the following. In the game I am developing with Unity 5 in C#, I need to implement basic pathfinding over moving platforms (not with moving platforms). It means, I am not ...
2
votes
1answer
357 views

How is a moving object like a platform represented in a 2d Tilemap

I'm having trouble understanding how I would implement a moving platform in the actual map file. Lets say its a file of character's and maybe the letter 'P' would stand for Platform. Then, how would ...
2
votes
1answer
61 views

Decelerate moving platform at targets

I'm trying to make a moving platform move at a constant speed and then when it is near the target start to slow down, I have trying to do this with Lerp, but I'm not satisfied with the results because ...
1
vote
1answer
169 views

Increasing friction or Adding force relative to transform position in Unity 2D?

Back again with a quick question! I have a few basic platforming mechanics going on in this scene. I have a prefab platform with an animation that loops back and forth between two different x ...
1
vote
1answer
253 views

How to handle NPCs and other entities on moving objects like trains or planes [duplicate]

I was always wondering how trains or other moving platforms are implemented in games. For example: there a many games where you can walk on the back of a truck or on a train that starts to move. ...
0
votes
1answer
338 views

Having to check collisions twice per game tic

I have vertically moving elevators (3 solid tiles wide) and static solid tiles. Each are separate entities and therefore have their own respective collision routines (to check for, and resolve, ...
0
votes
1answer
456 views

BOX2D Kinematic Platform with parallax layer

I am using a kinematic body for my moving platform on x-axis, so I set the linear velocity to b2vec2(5,0). When the player jump on the platform, it works like it is suppose to. But the thing is ...
0
votes
0answers
32 views

Move player with platform libgdx

I'm learning libgdx and I'm having a problems with moving platforms. I have a bridge class with float values for move_amplitude(distance the bridge moves) and move_time(duration it takes). The bridges ...
0
votes
0answers
39 views

Sub pixel Sprite jitter on moving platform

I have written a simple 2D platform game in C++. Coordinates are stored as integers, not floats. To facilitate smooth acceleration, the positions and velocities of the game objects are stored in sub ...