jumping

  1. Y

    player can only jump once

    so i'm using phyics in my game but for some reason my player can only jump once (and not even coming close to as high as it should) and after that it looks like my player just wont jump at all. here is the code that should provide the necessary information movement code: ///Movement if...
  2. W

    GML Help with Variables?

    Hello, I'm gonna make this quick, I have a variable for my player's jump speed and I need to adjust the variable from another object as a jump boost power-up. I thought that the way to do this was to put "global." (the full variable would read "global.jumpspeed") before the variable name but...
  3. Nirwanda

    Legacy GM Slightly glitchy jumping

    Following a tutorial by Shaun Spalding, I created a controlled jump but I've run into a bug: if I hold the jump key just the right amount of time, the character will get stuck on the ground: Could it be a bounding box issue? Or is there something wrong with my code? or uhh..What else could it...
  4. S

    Need help with jumping issues

    Hello, im using gamemaker studio 2 and im trying to create basic platformer. Im using this simple code for jumping (in the image) and it works kinda fine except sometimes instead of normal (+60) jump my character does only very small (like +5 or +10) jump. Can somebody help me to solve it...
  5. D

    (SOLVED)I literally have no idea whats causing this?? Could anyone help?

    My player object just will not move on the Y-axis even if my vspd variable is increasing or decreasing, I have tried some debugging to figure out whats causing it, I have looked through all the code the player object is using and still cant see what's stopping it from moving along the Y-axis. I...
  6. M

    Legacy GM Character Jumping Issue

    Hello! While working on my platformer game, I ran into a small snag while testing it. My level has several overhanging platforms where the character jumps up and onto. However, when my character goes directly underneath a platform a certain ways above, a blue line appears under the character...
  7. M

    GML Stuck Wall Hang/Ledge Grab

    Hello, I'm a novice in GML and Game Maker but with a few tutorials I've managed to get pretty far. I'm trying to make a platformer game where the character can jump in the air onto a wall by holding the arrow key in the direction of the wall. (only when he is in the air.) But this is what I'm...
  8. 2

    GML Wall Crawling On Curved Surfaces, clockwise and counter, directional ascent

    How would I do a wall crawling enemy that can handle curved surfaces and go 360 degrees around them, rotate it's sprite (not necessarily the mask), switch movement direction from clockwise to counter clock wise or stop when I tell it to, and jump in the direction of relative up from it's base...
  9. A

    GML Player stuck in jump sprite (Platformer)

    Trying to add jump animation to Player. My approach at the moment is to say that whenever the Player is not touching the floor(obj_wall), play the jump sprite (basically whenever the character is in mid-air) and vice versa. Below is my current code setup (only the //Sprite Control section in...
  10. B

    New, new help with top down jumping game

    I'm not sure where to post this, this is my first post. I've made top scrolling shooters before and get the idea behind it. I can also do basic pacman like games. I'm trying to build a jumping game as a top down. closest thing would be frogger with the logs. The idea is that you would have a...
  11. Luke Pierson

    Jumping Enemies

    Hello GMC! I've been curious for a while about how to make a jumping enemy ai in a sidescrolling game. Haven't found any tutorials on it yet. I'm thinking of anything from a dog, spider or even a knight that will leap at the player to attack. I'm certainly aware of states and whatnot, I just...
  12. phillipPbor

    3D Z-jumping

    I don't know how to make a code for a z jumping's I mean I want to know. but there is a price for the 3d platformer z jumping in a market place, Rene Couture done the push box, but said I need a money and a gm2 license! I CANT EVEN DO THAT! I need a code from anyone. I mean You can PM me if you...
  13. Z

    More efficient platformer

    I was wondering if there is a better way to handle the "physics" for my project jumper. See I just made the player jump and have it add to it twice until it starts falling. I also have a ground pound and sprint ability. Anyway, the main problems are the player jumps too high, doesn't always land...
  14. M

    (Warning, I'm a noob) Problem with object movement (game maker 8.1)

    2 things: 1) When I set vertical speed to 0 (to prevent my character to fall off the screen after jumping), I can't move horizontally until I jump, any way to be able to fix this? 2) Is there any way to limit for how much time I can jump?
  15. D

    How can I make an enemy jump over a block?

    So I'm not making any type of path finding thing, just more of a: when an enemy is chasing the player it jumps up to the player or over a obstacle. I have some code I was trying but I can't get it to work at all, the chase and the collisions work fine but the jump part doesn't and I don't...
  16. X

    Legacy GM 2D Platformer - Feet sticking into ground?(SOLVED)

    Hello. I am creating a 2D platformer and I am having a little issue with my character standing on surfaces. This seems to happen at random and is purely an aesthetic concern as the player does not get stuck or is movement ever prevented(which I don't understand). At worst, it can cause the...
  17. Z

    Game Mechanics Top down movement with different tile heights?

    Can anyone explain a good approach to designing a top down movement system where the player can jump up and down from map tiles of different heights? It doesn't have to be full 3D mechanics (i.e. multiple platforms above each other), just one map surface with varying height. I can imagine that...
  18. S

    Legacy GM Falling through map in 3D game with jump code. Need help!

    Hey guys. Right let me get straight to the point basically in my game it was working fine until i added a jump code. Here's my code to create my floor: var rep = 1; grass = d3d_model_create(); d3d_model_floor(grass,-32000,32000,0,32000,-32000,0,rep,rep); ground_tex...
  19. Z

    How to create a proper jumping system?

    Me & my friends are involved in creating a game. He did the code for the jumps & is based on gravity. Whenever the character falls down after it jumps, it appears to be going down slowly and seems to be floating. Since I'm in charge of refining & cleaning up codes, I'm thinking its better to...
  20. C

    How do i limit the number of jumps in a side scroller

    I recently started using game maker and have begun making a simple side scroller but am having trouble limiting the amount of jumps a character can make. I tried to fix this problem on my own to no prevail. Here is the code i am using for movement var num limit = 0; if...
Top