help a brother out

  1. T

    GMS 2 Sprite to play until its done, then go back to idle...

    im currently making a simple attack animation when pressing "F" but it keeps looping. and ive tried a lot of things :/ this is my first game maker project so yes. im a noobie. I have tried "Animation End Event" then Sprite_Index = sp_CombatOliver1IDLE but "animation end" includes the idle...
  2. Josi Craft's

    Windows how to export a json/ .txt file with the game

    if i have a json ( .txt ) file with my games stats in how do i then export it with the game if you can do it at all....
  3. FlatulenzaFiamm

    GMS 2 Is -6 NOT less than 0?

    Heeyy, today I found something very weird. So I was testing out the "sprite_index" expression, event, whatever it is, and made this very simple code in order to change the sprite: if !hsp_x = 0 { sprite_index = camm } So, basically, if the variable hsp_x is NOT 0, then it will do the...
  4. FlatulenzaFiamm

    SOLVED How to change target of a code

    Hey there comrades. It's me, Santa Claus. I got into the GML undertanding thing and I have to admit: it ain't that different from DnD, eh. I mean, it's abit harder to keep track of some things (because some actions are not called the same way in DnD) but manageable. Can't wait to understand it...
  5. D

    Game Stopped Working

    Hello friends! So, I am a beginner in the world of GMS 2, but not a beginner programmer. I decided making a game for once sounded fun and so I looked up a tutorial. I looked at some tutorials by Shaun Spalding on YouTube for some nice and easy intro coding and looked at the platformer series...
  6. LinkDudeWolf

    GMS 2.3+ Help place_meeting function

    Can someone help me understand why this doesn't work: (place_meeting(Object51.x + 1, Object51.y + 1 , Object1) or place_meeting(Object51.x - 1, Object51.y - 1 , Object1)) when this does work: (place_meeting(x + 1, y + 1 , Object1) or place_meeting(x - 1, y - 1 , Object1))
  7. 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...
  8. 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...
  9. 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?
  10. 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...
  11. 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...
  12. 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...
  13. 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
  14. 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 :)
  15. 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...
  16. 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...
  17. 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...
  18. 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?
  19. 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...
  20. 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...