Skip to main content

Questions tagged [jumping]

Filter by
Sorted by
Tagged with
3 votes
4 answers
276 views

So I was implementing deltatime adjustment into a game when I thought of this problem. Consider a control case, with no adjustment for framerate: Here, our character jumps up to a max height of 12.5 ...
Sad Robot's user avatar
0 votes
0 answers
75 views

I am developing an endless runner mobile game, Similar to Subway Surfers. I make my player character rotate slightly left or right and then return to facing forward when sliding left or right. The ...
Achie1's user avatar
  • 181
1 vote
1 answer
119 views

I am currently making a game in c++ using sfml, I encountered a problem where if I jump in my game, the jump mechanic allows the player to jump repeatedly in mid-air which is something I do not want. ...
Cheez's user avatar
  • 11
0 votes
0 answers
80 views

I'm making a basic 3D First Person project using the movement code below, but I can only jump at a certain angle. How can I fix this so that my character can jump anywhere? ...
MarsDarklighter's user avatar
0 votes
2 answers
199 views

I am making a 2.5D runner game and I want to switch my input from the legacy Input Manager to Unity's new Input System package. I am facing a problem when I'm trying to implement the double jump when ...
Sami Rehman's user avatar
0 votes
1 answer
268 views

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 ...
dechire's user avatar
  • 13
0 votes
1 answer
164 views

Been learning my first platformer game based on this tutorial. I decided I wanted to go off book and make it so the player could jump a second time before hitting the ground. I used the blit function ...
jacko_123's user avatar
0 votes
2 answers
883 views

I'm working on a 2D top-down game (like the picture below) and am wondering what can I do for "jumping" So far, I've done these: adding two events in jumping animation (one for when the ...
Arian_ki's user avatar
  • 691
0 votes
0 answers
202 views

I'm making a short jump test in SFML. However I have a problem: whenever the jump button is pressed the character will jump but will not fall down, he will keep going higher. However, in the beginning ...
dareesome's user avatar
  • 101
0 votes
1 answer
100 views

I have a player who can jump. I want the character to stay in its position and not fall to the floor. This is the code I am using so far: ...
shriram's user avatar
  • 11
1 vote
2 answers
829 views

So, I want to make an object jump an equal height whenever it touches the ground. Something like a bouncing ball. But I can't use Physics Materials. Here are some ways that I tried: Used Physics....
Shromi's user avatar
  • 115
1 vote
0 answers
543 views

I'm new to Corgi Engine and Unity in general. I have an issue that I could find a way to resolve. I'm using CorgiEngine's "RetroLadder" prefab and extended "Rectangle" character ...
Kosmetika's user avatar
  • 121
2 votes
1 answer
1k views

How can I jump down from a platform in Unity? I use two 2D colliders: one is my character, another one is platform. These colliders allow my character to stand on platform. Now whenever a characters ...
some1 here's user avatar
0 votes
1 answer
348 views

What I want to do is to cut a jump midair by turning off the y velocity when the player releases the jump button (like in Hollow Knight). I managed to do that with: ...
Bluebear's user avatar
0 votes
0 answers
88 views

When my player jump beside walls and it reached the top of the wall, it's forcing the player to stop at the point of top of the wall. Like if my player y is higher than the y of the wall, it's making ...
AdolfJames Urian's user avatar
0 votes
2 answers
6k views

I'm making a 2D game with Unity using the new Input System. I used spriteRenderer.flipX to flip the player but since it is made of three parts (body and two eyes), ...
Ali's user avatar
  • 55
0 votes
1 answer
2k views

I have a FPS movement script that I created that has a jump function that looks like this ...
KI.'s user avatar
  • 472
1 vote
2 answers
537 views

First of all I want to mention that English is NOT my mother tongue, I am using GODOT to make my game and that I am only 16, so I don't have any prior programming experience, although, I understand ...
Help_da_Noob's user avatar
0 votes
2 answers
534 views

I'm making a 2D platformer with Unity. I used this tutorial to write the code but with some changes like using the new Input System. Like the tutorial, I've defined three variables called ...
Ali's user avatar
  • 55
0 votes
1 answer
270 views

I have been getting into game development and I have made some progress. I have come across an obstacle which is jumping I managed to get the Jumping to semi work but it doesn't look like a jump but ...
FlimsyEar665012's user avatar
0 votes
1 answer
315 views

I managed to make my 3D player character jump (hurrah!) but I get an unwanted jump upon landing. It's not a mid-air double-jump. If I press space mid air, then after it get backs to ground it ...
Noa Rogriguez's user avatar
1 vote
1 answer
5k views

I'm making a 2D platformer game with Unity and I have some problems with the new Input System. Also, I'm using PlayerInput component with invoke unity events behavior. In fact, I downloaded a player ...
Ali's user avatar
  • 55
0 votes
1 answer
2k views

I am making a simple jump script by adding a separate script to the character. I got the character from the Asset Store and I have left it untouched. I have searched the solution and similar problems ...
Zett's user avatar
  • 113
0 votes
0 answers
99 views

In my 2D Platformer character controller that has both a wall jump and a double jump ability, how would I approach implementing a feature that stops the player from returning to the wall they ...
Ben's user avatar
  • 517
0 votes
1 answer
806 views

I made a simple game in unity where the user taps their phone screen and the player jumps up. When I test it on my phone (not sure if this matters but it's a Samsung s9+), I tap the screen and usually ...
Matheson's user avatar
1 vote
0 answers
242 views

I've got a very annoying problem that I have been stuck on for a few days and I can't figure it out. It is for a wall jump. I basically want my wall jump to have a bit of force away from to wall to ...
Remy Limelight's user avatar
0 votes
0 answers
34 views

I've got animations and simple movements down as well as attacking, although I'm having my difficulties with jumping and I'm not sure how to make it work. ...
fufehamed's user avatar
0 votes
0 answers
342 views

I'm working on simple rpg and having some trouble with player jumping. I'm trying to use unity's raycast to check colliders under the player before jumping again. The problem appears that no matter ...
Bernard Mesh's user avatar
0 votes
2 answers
260 views

I created a script that allows the player to double jump, which works like a charm. The problem is if the player walks off a cliff, they will still be able to jump twice. But that isn't how double ...
Fungigamer's user avatar
0 votes
0 answers
525 views

I want to make a game similar to "Dancing HOP: Tiles Ball EDM Rush" I am trying to make an object jump from point a(z=0) to b(z=10) to c(z=20) and so on, keeping the z axis distance constant for each ...
next age's user avatar
42 votes
1 answer
5k views

I am looking for a conceptual solution to my problem. It's a simple platformer-alike game where player can move horizontally during free-fall. Consider those two cases: In the first case, from game ...
weno's user avatar
  • 541
0 votes
1 answer
282 views

I have a character that moves with a rigidbody. When I jump, it looks fine, but sometimes, my character boosts up while in the air and shoots out of the map very quickly. I checked, and when it ...
Samuel Fyckes's user avatar
0 votes
0 answers
194 views

Fan physics I have a platformer game and want to have fans in it that blow in a given direction and if the player presses the jump button they can go even further. How do I do this? side note: I ...
Kennichi Nitta's user avatar
3 votes
1 answer
2k views

In a platformer game I am working on, I want my character to have controlled jumps. If I simply tap the jump key it will jump a just a little or if I hold it for a time it will jump higher. What do I ...
Kennichi Nitta's user avatar
0 votes
0 answers
143 views

This is my first time doing code for a game so I followed some online tutorials. When I got to the walking and the jumping animation I just can't get it to work whatever I do. I tried multiple codes ...
xXceXx's user avatar
  • 1
0 votes
0 answers
42 views

I am in a 3d environnement, when I jump, i'm calculating the hitPoint of the end jump. I want to know when I jump, if there is a GAP between my initial point, and the end point. But I don't want to ...
Ugo Hed's user avatar
  • 281
0 votes
1 answer
777 views

I'm having some trouble with vertical movement. I'm trying to add double-jumping but none of the scenarios online seem to be working, and I can only ever manage to get a single jump. Here's my code: <...
Matthew Averill's user avatar
2 votes
2 answers
415 views

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: ...
Navid Boloorian's user avatar
0 votes
2 answers
913 views

I want to achieve a platformer jump similar to that of Super Mario Bros. (keep pressed the jump button to jump higher) and I want it to be frame rate independent. At 30 FPS it works as I want. However,...
user1945293's user avatar
0 votes
1 answer
44 views

I have a player character that has three separate coliders that form this shape (one for the top, one for the bottom, and one for both sides) I'm trying to register floor collisions with the bottom ...
Maxim Srour's user avatar
0 votes
1 answer
240 views

I have a platforming game, written in javascript with the Phaser.js framework, where my character collects objects. I thought trying to collect all objects in the least amount of jumps would be ...
B.Batiege's user avatar
-1 votes
1 answer
1k views

...
Gameboy The Collector's user avatar
0 votes
1 answer
185 views

Say my player jumps off from a certain point on a 2D surface. Say my surface is uneven, and has varying y positions along the level, how would I then be able to time my jump animation accordingly? (...
RandomUser's user avatar
-1 votes
1 answer
2k views

...
GameDevMumin's user avatar
3 votes
1 answer
289 views

I am trying to implement simple Newtonian physics for my game. However, my character only jumps half of the height I would expect him to. Physics says that the take-off velocity (impulse) ...
Cygon's user avatar
  • 232
0 votes
1 answer
737 views

I am doing some physics for a platformer game in MonoGame. The jump height changes based on FPS even though I'm using delta time. When the FPS decreases and gravity is added before movement, the jump ...
Martin's user avatar
  • 203
1 vote
1 answer
11k views

I'm trying to implement a jump method into my FPSInput script. I know how to make this work for a Rigidbody, but how can I accomplish this with my Character Controller? Does CharacterController have a ...
avereux's user avatar
  • 121
0 votes
2 answers
10k views

Here is what I want to do: when player jumps I would like to play an animation of jumping once on playing it I would like to stop at the penultimate animation frame till the player falls to the ground ...
Yaroslav's user avatar
  • 771