All Questions
12 questions
0
votes
1
answer
247
views
How will I make my character jump only when it is pressed once
I have scoured through the internet to find a solution of this but this is the only solution that I could find but it cancels the ...
2
votes
2
answers
396
views
Parabolic Jump Libgdx Without Box2D and With Vectors
I have tried to write a jump method that sketches out a parabolic jump but it results in either no movement, or a jerky upward movement when I try to scale up dt. I have the following things defined:
...
3
votes
2
answers
1k
views
Creating proper jump mechanics in LibGDX with Box2D?
I'm trying to create a proper jumping system for a 2D platformer with box2D, however, I'm not exactly sure how to make a good jumping system. Right now, I'm just doing
...
1
vote
2
answers
6k
views
how to make my character jump
I want my player to jump and i tried my best to do it and i couldn't. Basicaly my class are splitted(i have speparate player class and keyboard class) which i thought would make my life easier but ...
2
votes
1
answer
3k
views
How to jump in Box2D with LibGDX
I am making a 2D platformer in LibGDX with both Ashley and Box2D.
I have it so, that the PlayerControllerSystem watches for the jump key being pressed:
...
1
vote
1
answer
110
views
Collision Detection Unresponsiveness
I'm creating a simple jumper game in Libgdx that makes the player jump over obstacles in order to stay alive.
The only problem is that the collision detection for when the player just touches the ...
1
vote
1
answer
117
views
dynamic body jumping out of water object
In my game I have my main object, a jetski, which will dive down into water, when the screen is touched. I managed to code the jetski diving down, with Box2d and some buoyancy forces. But when the ...
0
votes
1
answer
481
views
Libgdx - Jumping, What am i doing wrong?
I really can't work out whats wrong with my code. I have an input listener for gestures, when I Swipe the position goes up on the y axis fine but he doesn't come back down, if with Gravity added. I'll ...
0
votes
1
answer
145
views
Jumping distance due to X velocity
I would just like to know if there is a way to work out the distance of a jump depending on how fast the player is going. For example if the player has a velocity X of 10 and he presses the jump ...
2
votes
2
answers
646
views
Wall jumping collision detection anomaly
I'm creating a game where the player ascends a tower by wall jumping his way to the top. When the player has collided with the right wall they can only jump left and vice versa. Here is my current ...
1
vote
2
answers
261
views
Updating the jump in game
I am making a Java game and I want my game to run the same on any FPS so I'm using time delta between each update. This is the update method of the Player:
...
0
votes
2
answers
201
views
Java game: jumping glitch on multiple collisions
I need help with checking for intersections in a game I'm creating. When a character collides with a single obstacle on the screen everything works as intended, but when multiple obstacles are added ...