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:
vsp= 4* (key_down -key_up)
x = (instance_nearest(x,y,oLadder).x)
if (key_jump) ||...
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...
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...
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...
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...
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...
Can you help me with fixing this?
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 =...
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
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...
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.
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.
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...
I have been trying my best to make a climb sprite animation work. but some how it dose the same.
if (KyJ || KyD)
if place_meeting(x,y,par_ladder) ladder = true;
vsp = 0...
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.
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...
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...
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...
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...