help

  1. H

    GMS 2.3+ Decimal point path speed not working?

    I'm making a train game with a randomly generated looping train track, along it there is a train object that uses path finding to loop the tracks. It was relatively easy to set up, but at some point, I decided to set my path speed to 1.5, since 1 was too slow and 2 was too fast for me to do...
  2. Marquitos3000

    GMS 2 Tile Collision problem

    Hi, I´m making an RPG game and I use a tileset collision system. I have one tileset for the collision blocks and I have this in my character´s collision script: var _collision = false; //Tiles horizontales if (tilemap_get_at_pixel(collisionMap, x + hSpeed * 2, y)) { x -= x mod TILE_SIZE...
  3. Alemar5

    Could you help me with a reflection and water distortion shader?

    Hello friends, this is my first time in this community, so hello hehe, I am developing an rpg and I would like to have a shader that makes a reflection and a distortion in the water, I would like it to be similar to this: https: / /marketplace.yoyogames.com/assets/6081/realistic-water-reflection...
  4. B

    Help me with the jump?

    Hola disculpa las molestias, tengo un problema serio con hacer que una variable funcione xD y me ayudes a resolver mi código? aquí está mi código: [CÓDIGO = gml] Que quiero que no pueda saltar si está en el aire, solo cuando la velocidad vertical sea igual a 0 /// Saltar // Animación if vspeed...
  5. flyinian

    SOLVED Need some eyes real quick

  6. Marquitos3000

    GMS 2 Collision problem

    Hi, I´m making a tile based collision system and I use this script: var _collision = false; //Tiles horizontales if (tilemap_get_at_pixel(collisionMap, x + hSpeed, y)) { x -= x mod TILE_SIZE; if(sign(hSpeed) == 1) x += TILE_SIZE -1; hSpeed = 0; _collision = true; } //Cometer...
  7. Marquitos3000

    Windows Movement problem

    Hi, I´m making an RPG game and I use this code in my character´s step event: //Estado del jugador keyLeft = keyboard_check(vk_left); keyRight = keyboard_check(vk_right); keyUp = keyboard_check(vk_up); keyDown = keyboard_check(vk_down); keyActivate = keyboard_check_pressed(ord("z")); keyAttack =...
  8. Marquitos3000

    Question - IDE License question

    Hi, My GameMaker studio 2 license will expire soon and I was wondering what happens when it expires. Your Proyects in progress will be deleted or will be there when you renovate the license?
  9. L

    Windows PLEASE HELP HOW TO MAKE SPRITE CHANGE BY MOVE

    Hello my name is Lucas and im pretty new to GMS2/GML and its being really dificult to learn, since all the tutorials are outdated i managed to program the basic movement and collision and now im trying to make my sprite change by the direction the player moves, and i dont find any tutorial that...
  10. N

    Windows Can't run project

    i can't run project. it doesnt show anything in compile nor syntax errors output: elapsed time 00:00:00.0730003s for command "cmd" /c subst Y: "C:\Users\User\AppData\Local\GameMakerStudio2\GMS2TEMP" started at 07/12/2021 18:03:22 "cmd" /c subst X...
  11. L

    GMS 2 Help!!

    Hello! im in the making of a game where you can run around as a ghost interacting with things where it either turn it off and on or play an animation once and ive put a code like this into object sofa if (keyboard_check(vk_up)) and place_meeting(x,y+1,player) { image_speed = 1 } else...
  12. A

    SOLVED what does ";" means in GML?

    ok so ive been seeing some ";" in codes but never got interessed enough to ask what does it mean. uh help?
  13. Q

    Variable not set before reading it

    Hello everyone. I'm having an error programming the character's movement. I LITERALLY CANNOT MAKE HIM WALK AT ALL. The movement I want to do is in rpg style. I spent 30 minutes copying a tutorial code from youtube, this part is literally IDENTICAL. But here is my code: #region Horizontal...
  14. S

    GMS 2.3+ How do I choose value from the list?

    How do I choose 1 random value from the list? I'm stupid, I don't understand.
  15. L

    GMS 2.3+ Setting up black sidebars

    Hi guys. Hope the title is a bit informative but in case more info is needed, here is the longer version of what I'm trying to do. Now I have set up a camera for my game and now I'm trying to implement a new feature to it. Specifically what I'm trying to do is have a black outline on both the...
  16. hitch55

    GMS 2.3+ Generate random request in minigame

    Hey. I'm creating a drink making mini-game and wondering how to generate random requests. Like where do I store the recipes, and then how do I have the game pull one of the drink names to request from the player - then after they make the drinks, have the game check the ingredients to make sure...
  17. L

    how to make a animation play once

    yes hello idk if im plain stupid ive been looking around for hours for this answer and its really simple i want to press a button like E when i press the button my objects sprite play the animation once and then stop and go back to normal just once anyone can help?
  18. M

    GMS 2.3+ Help Please! New to GameMaker & Struggling With Sprite Direction!

    Hi all! I recently downloaded GameMaker and started doing some tutorials on Youtube to teach myself the basics. I'm happy to be part of the GameMaker family and have always had a passion for gaming, with only recently having the idea of trying to create my own game from scratch. I have a...
  19. D

    GMS 2 I need a wait command!

    We are new to GMS2 with my friend. We are making a project together and we cannot find a timer command. We used Scratch earlier on and there was a "Wait _ Second" command. Now our character is going to jump but the 1st 2nd 3rd and 4th sprites are preparing to jump sprites so when we hit jump...
  20. S

    Nine-slice collision doesn't work.

    I tried to make a box object that has nineslice with precise collision, the object shows up fine but the collision doesn't, does anyone have any idea? B.T.W I am using image_xscale and image_yscale to scale the object.
Top