A genre of action game whose focus is on platform-based movement. It is equally present in both the 2D and 3D game worlds.

learn more… | top users | synonyms (1)

2
votes
1answer
69 views

Box2d C++ x velocity slowing for no apparent reason

I'm making a 2d platformer in C++, using Box2d for physics and sfml for rendering, I want the player character to move with a constant velocity in the x direction, and to jump when the spacebar is ...
1
vote
1answer
217 views

Camera movement and threshold not working

I have a platformer that is in progress, part of this has a camera which I only want to move when the character moves out of a certain threshold, to try to accomplish this I have the following if ...
0
votes
1answer
225 views

Collision with Two Angled Platforms

I've encountered a problem in my attempt to implement Collision Handling for a game I'm creating, involving a collision with two angled platforms. I'm using GJK-EPA for detecting/handling collisions ...
-1
votes
1answer
121 views

Adding a small slide when player releases left/right key

The aim is for the player object to slow down and stop instead of just stopping dead. The following codes works ok when the player is not jumping, but gets stuck in an object if the player is in the ...
-1
votes
1answer
231 views

Pixel perfect collisions for platforms

i'm trying to do a pixel perfect collision but i don't know how to handle collisions when there is a jump . Here i have one image of a sample map: But maybe I've done a bad supposing all pixel like ...
-2
votes
1answer
574 views

Why does my sprite shake while moving?

Player movement causes its sprite to shake a bit. I don't what is causing it or how to fix it. I recorded a video of the problem. In the recording, it looks like the world is shuddering, but only ...
2
votes
0answers
29 views

Jumping higher when the player touches a trigger collider in Unity

Im using Unity2D and im facing an issue whenever my character (uses a Rigid Body and Fixedupdate to move) touches any type of box collider with a trigger set to true (even just an empty gameobject) it ...
1
vote
0answers
223 views

beginContact triggered more than once on some objects

Short version: It looks like beginContact is detecting continuous collisions. I'd like to avoid that. Long version : I use Box2Dweb to write a 2D platformer. It's my first game using this lib, and, ...
0
votes
0answers
25 views

Processing.js for loop not executing all the way

I'm trying to add elements to an ArrayList (in Processing.js, basically a javascript array) in a for loop. BEcause of the many objects I need to add, the for loop is not incrementing all the way ...
0
votes
0answers
136 views

How to design basic physics and movement behavior for 2D platformer?

I want to make a simple 2D platformer. I know some basic 2D physics and how to implement them in a game. How to make a character jump, accelerate, decelerate, etc. But I have no idea how to actually ...