help code

  1. V4NTT4BL4CK

    GMS 2.3+ Collision issues!!!

    I've been working on this prototype minigame to learn how to use Game Maker Studio 2, but I have a problem that I don't have with other '' walls '' or colliding objects ... when I jump to the roof or platform, my character should stop and return to the ground when he touches the object but...
  2. T

    dnd Code error error

    ############################################################################################ ERROR in action number 1 of Create Event for object <undefined>: Variable <unknown_object>.hsp(100003, -2147483648) not set before reading it. at gml_GlobalScript_anims (line 6) - if(!(hsp == 0))...
  3. J

    Issue with GUI flashing or disappearing

    I'm running into an issue of the GUI that I'm drawing flashing or in certain situations, it will completely disappear. In my player object, I'm drawing normal stuff like health bars using draw_sprite_ext and some debugging text to monitor some variables with draw_text. The other thing I'm...
  4. 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...
  5. R

    Help with layer_sequence_create

    I'm using layer_sequence_create to create a transition from one room to the next the code is -------------------------------------------------------------------- function TransitionPlaceSequence(_type) { if (layer_exists("transition")) layer_destroy("transition") var _lay =...
  6. 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 =...
  7. 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{...
  8. S

    HELP, I would like to make an option in my game to quickly uninstall it without searching everywhere in the computer

    I would like to make an option in my game to quickly uninstall it without searching everywhere in the computer. I searched for like 10 mins and found nothing about it so i'm starting to wander if it is possible. I want a full unistall so that therre is nothing left on the computer pls. Using...
  9. R

    please help

    well, I was trying to make a system that when you're colliding with the obj_mosca{ eat = true } ,and when it's not{ eat = false } and when eat = true and the keyboard_check (vk_space) { instance_destroy (); } but even if the player is not colliding, when pressing space the obj_mosca is...
  10. FranciscoJGamer

    SOLVED [Problem] Adapt the camera to room size

    I am doing an action rpg but I have a problem when creating small rooms (shorter than the width of the camera or lower than the height of the camera) since the camera, due to the edges that I put on it, moves from place to leave the room instead of staying in it, so the room is on one side of...
  11. P

    I can't use "with another" correctly

    I recently tried to create a "copy" of super mario bros and I got to the part where I wanted that when I touched the blocks they would go up a bit and then descend I found out how to make them go up and down with alarms, so when I used "with other" to use only one, it didn't work, code: if y>...
  12. B

    Initiating a player object animation contingent on the meeting of two other objects.

    I currently have a 'key object' in my room which, if it is in contact with another object, and the enter key is released, the room restarts. When the same conditions are met, but those two objects are not in contact when the enter key is released, the game moves to the next room. My player...
  13. M

    That feeling when Game maker is acting weird

    Hey! I hope you guys are having a nice day today! I dont wanna be much of a bother so imma just get to the point, im 13 and just got into coding ive been following this guy Shaun Spalding and recently finished episode 12 (also heads up I have NO experience with coding before this lol) anyway...
  14. ReikonMage

    SOLVED Help with Drawing a grid using a sprite...

    Hello, I have been trying to make a tactical Rpg game similar to Final Fantasy tactics or Devil Survivor. But drawing a grid using a sprite is providing me troubles. In context, I have a sprite that I made to resemble the grid. The code I have should draw the sprite-like a grid when it hits the...
Top