help a noob

  1. 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...
  2. André Luiz

    GML i Need help with menu

    Okay..., I’m Brazilian and I’m just typing in English thanks to the Google translator, so don’t be surprised if there’s something weird written, continuing, I was following a tutorial to make a menu, it seemed very simple and functional, (I'll leave the link at the end), but when I finally...
  3. R

    Help plz!!!

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

    SOLVED I need assistance with Save File Directory

    I want to be able to save my game's files in a custom location instead of placing it in the default: Local App Data So far, I learned to create a directory using this code, though I have not tested it yet. I assume this would create a folder in the same location where the executable file is...
  5. R


    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 =...
  6. 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{...
  7. 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...
  8. C

    Help with collision system

    Ok, so this is a bit of an advanced request for me, but I feel like I'm on the verge of a solution. I'm trying to make a collision system for my game, but I don't want a basic "if player were to move into collision, don't" type system because it doesn't fully work with what I'm trying to do. At...
  9. itarkytec

    Windows Need help making a string

    Hola comunidad, estoy necesitando un poco de ayuda, agradecería que las respuestas a este post estén preferiblemente en español, aunque si es de ayuda no me molestaría en recibirla de todas maneras. Contexto: estoy intentando hacer un cuadro de texto que solo acepte números como entrada...
  10. P

    GMS 2.3+ [SOLVED] Audio not playing in Breakthrough tutorial Game (please help)

    Hello, I'm relatively new to game development and Game maker studio 2. I was recently following the tutorial of FriendlyCosmonaut for the game called "Breakthrough" in GML. I got my sound assets from downloading it from the tutorial. The game should play a sound when a collision is detected or...
  11. T

    Giving a colliding object your variable value.

    I have a game which has the main character (a light bulb boy) interacting with several intractable electric objects. The electric objects have two main "states" (though no real state system has been implemented yet), where they are either turned on or off as indicated by sprites. I have a system...
  12. F

    GML Board Game Movement System

    Hi, I recently got GMS2 on Christmas and have been following a couple of tutorials (probably not enough) and now I want to try making something on my own. My problem is with anything I've coded I always have trouble knowing where to start. I really want to make a board game like Mario Party/100%...
  13. MasterOfTheYeetz

    GML my jump doesnt work

    so basically when I jump my character never comes down ): no hate plz , and don't bully me for being a noob. code: (all in a google doc) plz helpful comments.
  14. MasterOfTheYeetz

    Windows Black screen error

    so basically when I try to play my game, it doesn't give me any errors, it just opens to a black screen and doesn't do anything else. I have a deadline of today to finish and I don't know how 2 fix. HELP!!!
  15. x79514_lol

    Windows Errors happen when I try and play my game.

    so basically when I run my game I get an error message and I don't know how to fix it. HELP PLZ!!!!!!!!!!!!!! I have a deadline of tomorrow for my game! (BTW i was using a youtube guide by gravityshift games for making the chrome dinosaur game.) V v...
  16. B

    Windows Help me with my blackscreen

    Now yes im extremely new to this and im running into a problem i havent yet before and nothing im doing seems to be fixing the issue. now this a simple little 2d game consistent of one room with a small snail that has to dodge cars and grab leafs nothing too intersesting, now it was working...
  17. R


    well, I've been starting a project for a card game and I want to create a value system, when a card is chosen the player will gain the value of the card, but the value goes up infinitely, I would like the value to remain without going up, I want to do a system based on value = 0 if card = X{...
  18. R


    well, I started a card game project, and I wanted to make the cards face down and when you turn up you see a random value and with a different sprite, but I don't know how to do that and I'm getting upset with the project and thinking about giving up, I already looked in many tutorials but n...
  19. KakuniProject

    Please help, no able to create scripts

    Hello everyone, I'm quite new to game maker and into programming. I recently started a game and I'm on the first steps creating the collisions and movements, the collisions it was working fine when I inserted into step/Object, however now I tried to add into a script . I simply copied and pasted...
  20. H

    SOLVED Problem with tile collisions and tilemap_get_at_pixel

    I've been using all types of tile collision scripts. But no matter what code I use, I get the same error. ___________________________________________ ############################################################################################ ERROR in action number 1 of Step Event0 for object...