ladder

  1. S

    Windows Problem with Ladder State Machine

    Hi i'm making a platformer/metroidvania and I'm new to Game Maker Studio 2. I'm having difficulty getting a ladder state machine script to work due to an error. Here's my code: scr_getinputs(); hsp= 0; vsp= 4* (key_down -key_up) x = (instance_nearest(x,y,oLadder).x) if (key_jump) ||...
  2. M

    SOLVED How to jump off of objects? (Ladders, etc.)

    I'm very new to programming, and as for jumping so far, I'm able to get my character to jump on a common wall object that's below me. I've since implemented a ladder (using Shaun Spaldings tutorials) and I'm able to climb up and down it, and left and right, but haven't been able to work out...
  3. J

    SOLVED Need help with current ladder code - all assistance appreciated

    I'm trying to do some basic ladder code without state (since I'm not very good writing them) and below is what I have (scroll to the end of second code posted). While the current ladder code works my problem is the player 1) keeps bouncing on top of the ladder once they reach the top----bouncing...
  4. Jin9310

    Free Loading Stories: Treadmill

    Few days ago I have finished my new little game project, the frenetic-button-smashing experience -> https://jin9310.itch.io/treadmill I am still learning the GML and wanted to start a small series in which I will learn something new and each story will include a loading screen somehow. In this...
  5. Architheutis

    Simple movement display doesn´t work (ladder-climbing - (SOLVED!))

    Hi Folks. Here is a very simple code-block for ladder-climbing. My game hero is working absolutely fine. I made further idles for climbing a ladder. He climbs up and down, as I wanted. But: He doesn´t play the full loop of the climb-idle "sPlayerLadderClimb". You can only see the first image of...
  6. KyleRansford

    GMS 2 How to Create "Mega Man Style" Ladders

    Hello, everyone! I'm having trouble finding out how to create ladders in a platform game. The type of ladder system I'd like to create is like in Mega Man where while climbing, the player can still shoot left or right and jump off of the ladder. I haven't created in ladder functions at all...
  7. P

    GMS 2 Ladder doesn't work /SOLVED

    Can you help me with fixing this? step event key_right = keyboard_check(vk_right); key_left = keyboard_check(vk_left); key_up = keyboard_check(vk_up); key_down = keyboard_check(vk_down); key_jump = keyboard_check(vk_space); //React to inputs var move =...
  8. N

    Ladder Animation Problem

    Hi all, For my 2D platformer, I have implemented a simple ladder system. However, whenever my character climbs the ladder, the sprite is stuck on the first frame of the sprite, instead of cycling through the animation. Here's the code; vsp = 0; grav = 0; if vsp = 0 { sprite_index =...
  9. A

    [SOLVED] Climb Animation during Climbing

    Hi Guys I have an animation cycle i'd like to play while the character is climbing... preferably forward while ascending, reverse while descending. my "walk" animation cycles while hsp > 0 and i'm touching the ground. but, my "climb" animations don't cycle through their frames while moving up...
  10. Dharmatrooper

    Tile based collision platformer improvements

    Hello, newb here. Is there any tutorials how to implement ladders, moving and one-way platforms for tile based collision check platformers? Also can't clearly understand how to correctly implement tile based collisions check for characters that bigger than the tile.
  11. M

    [Solved] I have a problem with ladders

    I have a big problem with ladders. Let me explain what's the problem: I have ladders that are attacked with a wall both above and below, and my player gets stuck there and remained locked inside. Thank you in advance for your help. This is the code I used. //Ladders: if...
  12. Ayziak

    GMS 2 Setting room speed to compensate for low fps.

    So my game runs at 60fps, but not all systems seem to be able to handle that. I don't mind my game running at lower speeds, but what causes a problem is Studio's way of handling low fps's. instead of everything making less smooth, it just makes everything run slower. What I was hoping to do was...
  13. phillipPbor

    Legacy GM ladder climb sprite

    I have been trying my best to make a climb sprite animation work. but some how it dose the same. //Ladder..................................................................................... if (KyJ || KyD) { if place_meeting(x,y,par_ladder) ladder = true; } if (ladder) { vsp = 0...
  14. phillipPbor

    Legacy GM ladder up

    trying to make a ladder once again. but the ladder needs work... but I am stuck you see I was trying to make player react to ladder. but... I just got errors for making it. I really hope you have some ideas.
  15. tibbycat

    [SOLVED] Walking on top of ladder (changing state)

    Hi, I'm relatively new(ish) is to Gamemaker and I thought I'd post here as I'm making a platform game having modified Shaun Spalding's State Machine tutorial and I'm currently stuck trying to get my player to change into the normal state when in the climbing state and reaching or landing on the...
  16. M

    Ladder Animation

    First off, hello everyone.So i am new to this forum and also new to the Gamemaker.I started making a game and i am testing it but there is a problem with coding.I have an animation which works with ladders but there is another animation for a power-up.When i take the power-up my character turns...
  17. M

    Legacy GM Trouble with ladders and a ladder.state script

    Alright guys, this is my first post in the forum and my first attempt at creating a game on my own, so bear with me. Two issues I'm struggling with at the moment... Issue #1 - My obj_player can climb ladders. That code is written and works perfectly fine besides one minor detail. When the...
  18. S

    Growing Vine

    Hi, all! Relative n00b to GM, GML, and these forums, so I apologize for any missteps in my plea for help. I'm working on my first game—an arcade platformer akin to Wrecking Crew—and I've run into a snag for which I haven't been able to find any tutorials or help or advice: how should one go...
Top