help a brother out

  1. 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...
  2. M

    Drag And Drop How can I make two objects repel each other?

    So I'm trying to make a racing game with DnD and i'm trying to make the two cars repel each other when they collide, but i'm pretty new to GMS. I've tried several things but I just don't seem to be able to do it. Please help. The attached picture is how it looks...
  3. LinkDudeWolf

    GMS 2.3+ Help with clearing Gamepad Buttons

    so I use keyboard_clear(keyboard_lastkey); to clear previous keyboard keys, how would I do the same thing but with a Gamepad/Controller buttons?
  4. LinkDudeWolf

    GMS 2.3+ Help with overlapping if statements

    So the problem I'm having is that when I press Z it sets Z to be left, what I want to do is when I press Z you can afterward press any key and that will be left, so basically when I press Z it just sets it immediately my question is how to stop that is there perhaps a function for that? if...
  5. LinkDudeWolf

    GMS 2.3+ Transferring an Object's existence between rooms

    So I'm trying to save Object3's existence when moving between rooms, for example when I go to a certain room and destroy Object3 then move to a different room and come back the instance is active again even though I haven't activated Object3. I use for moving between rooms and saving the data...
  6. N

    Collision problems (DnD)

    So, I'm making a Top-Down game, and I'm trying to program walls in, but when the player touches them, they are unable to move in the other axis. For example, if they touch a block on the left side, they can't move up or down. Is there any solution for this? I'm using Drag and Drop for this...
  7. Y

    how to take input's from letters in game maker studio 2

    i don't know how to take input in like letters i only know the if(keyboard_check(vk_key)) plz help me
  8. Y

    GMS 2.3+ What tutorial should i use to get started !!!

    please help i ma new to game maker and i am enjoying the community but i don't know how to get started what tutorial should i start with i don't want to be overwhelmed thank you :)
  9. LinkDudeWolf

    GMS 2.3+ Movement Help

    So I'm using a movement code that has a small problem when I collide with an object and move diagonally on that object, that object jitters, basically the object it's colliding with become shaky when moving diagonally on that object. can someone explain why? Here's the code: Step Event: var...
  10. Y

    i don't know how to fix this plz help me

    when i try to run any project it gives me this Eror i don't know how to fix it this is the the eror it comes from the output " "cmd" /c subst Z: "C:\Users\Yussif\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE" elapsed time 00:00:00.2851125s for command "cmd" /c subst Z...
  11. LinkDudeWolf

    GMS 2.3+ Help with collision movement

    I'm trying to make my character move up and down when colliding with an object and still pressing left (for example when I collide with an object and keep colliding while pressing the left key I can move up and down) Key Down - Left Event: x=x-2.5 sprite_index = Sprite6; image_index += 0...
  12. LinkDudeWolf

    GMS 2.3+ Object Layering

    So I'm making an rpg game similar to Earthbound and I'm trying to make my character be able to go behind objects with the object being in front of the character and the character in front of the object with the character being in front of the object how would I do this?
  13. LinkDudeWolf

    GMS 2.3+ Help with Ini

    So I'm trying to make the camera change upon pressing the key "O" which it does but doesn't get saved using the basic game_save and game_load functions so I want to start using the ini save and load functions but I'm still a beginner can anyone help me understand where I would put what so that I...
  14. R

    Help plz

    hello, I want to make a code that makes the system automatically decide one of those objects that I put in the parentheses of choose when the animation ends, but the system always chooses the same sequence of numbers. if I close and open the game, it gives 5, if I just reset the room it gives...
  15. R

    Help plz!!!

    i want to make a game that restarts the pc, there is any code that can do it?
  16. R

    HELP ME PLZ

    I want to make a system for buttons that when you press them you have 5 seconds until it returns to normal //create event timerpressed = false //alarm0 event timerpressed = false //step event if place_meeting (x,y,obj_player){ timerpressed = true alarm[0] = 300; } if timerpressed =...
  17. R

    help plz

    I want to make a system for buttons that when you press them you have 5 seconds until it returns to normal //create event timerpressed = false //alarm0 event timerpressed = false //step event if place_meeting (x,y,obj_player){ timerpressed = true } if timerpressed = false{...
  18. Tiamat

    GML Trouble with collision

    I was programming to make the character only move horizontally while in the air(thankfully got that to work), but the collision with the character and wall is extremely weird. Horizontally, the character floats from the platform a few pixels away, and as it approaches the wall vertically, the...
  19. Bochinator

    GMS 2.3+ Enemies follow the player without overlapping

    Hi, this is my first post. I've had GameMaker for a year now so I know the basics. My current project is a simple arena shooter. The player object moves around the room and enemies follow it around. Originally, I used the mp_linear_step_object function for enemy movement. It worked pretty well...
  20. R

    GMS 2.3+ Gamepad input partially detected

    aight so i hate to do this but i have no idea how to fix this and ive been looking over documentation all day trying to find this out. I am making a game on the desktop edition for windows and I want to add controller support. To learn to do it, I made a throwaway game and created an object...
Top