add

  1. PlayerOne

    GMS 2 Adding to an existing JSON file?

    I'm attempting to create a save system using JSON and nested data structures. Is there a way to add new data to an existing JSON file without overwriting the existing data? Couldn't find anything with regards to what I'm looking for. For the record I'm not modifying any existing data in the...
  2. Kyrieru

    GMS 2 sound_add replacement?

    I see that there's still sprite_add, but I don't see an audio version. Am I missing it, or is there no way to add sounds from external files? Edit: Welp, nevermind. Just saw that it's "audio_create_stream". Or at least it seems to be the closest.
  3. M

    Legacy GM Scaling sprite from sprite_add_ext()

    Hello! I'm currently trying to make a "save thumbnail", and for that i'm taking a screenshot when saving with screen_save("save.png") and adding it using sprite_add_ext(). Here's the problem: I want the thumbnail to be a certain size, of a 16:9 ratio. I can scale the image by multiplier, but...
  4. L

    importing a room from a friend

    Hey Everyone. A friend is helping me out with my game by desining a room. Now i want to import his room, but it is not working. I read on the gamemaker website that he has to make them into .gmx files, but we have no clue how to do that... can someone help us?
  5. Z

    Add A Value To A Variable [SOLVED]

    Hi everyone ! For an integrated variable as "x", "y", or "depth", if you set : "that_variable" = "that_variable" +- "value" It increase or decrease with a speed of "value". My question may seem a lil silly, but I'm unable to simply add a number to theses variables. (Don't think that's the...
  6. T

    Automatic addition of sprites and objects.

    Hello everyone! I ran into the following problem. We have a lot of sprites for level like background houses, a lot of сlouds in the sky, small misc objects... Around 300 different objects. And now I need to manually create sprite for each image and after that manually create object for each...
  7. Shadowblitz16

    GMS 2 Please make ds_list_insert() add to list if index is larger then list length

    can the yoyogame devs make ds_list_insert() add to list if the passed index is larger then list length? right now it doesn't do anything but it should insert in the last position if it is greater then the list size. right now it is required to do if (_listindex >= ds_list_size(_list))...
  8. S

    [Solved] Timer help

    Hello. I'm working on my first game and I'm not very sure how to code anything. I currently have a timer on my screen, and I want to make it so seconds are added to it whenever I destroy an instance (kill an enemy) or go to the next room. Some additional information: My enemies are killed by...
  9. id07

    Drag And Drop [Solved]Adding global variables to local variables

    Hello all. I'm hoping someone can reveal the proper method of what I thought was a simple task. So I set up a local variable in an event, and I have a global event in another. I would like to add them together, or for the variable to take into account the current global variable. In the local...
  10. A

    Legacy GM Background Help

    The thing is that I want to hide the background (bck_main_screen) and have the drawn background instead!!!:)And then the ability to add the background(bck_main_screen) back into the game later all in the same room... Is this possible??? Thank you!! a quick reply if possible please this is due...
  11. Thijs Hof

    Legacy GM Cannot add extensions

    I can't add extensions anymore... :bash: What i do: Right click "Extensions" Click "Import extension from library" Goto "My Library" Click "Add to project" next to the extension i want to install (Google Play Services) -Nothing happens- :( I also tried using "import extension" and selecting...
  12. W

    How to add video in game maker Studio 1.4

    Hi all. I'm new to game maker studio before sitting on 8.0, but now decided to move here. And immediately was surprised that not working splash_show_video. Someone knows now how to add video??? Thanks in advance
  13. N

    How To Add DRM To Final Game?

    Hello GM community, I would love it if somebody could explain the process of adding DRM to the final executable of a game. For example, once downloaded, it can only be used on that device and cannot be used on another device. If it can be done using GM itself, a specific version of GM, or if you...
  14. T

    Legacy GM Adding and Subtracting Surfaces

    I've been trying to figure out how to use blend modes in a lighting system for a while, but I always end up getting helplessly lost. So here is what I am trying to do: I have 3 960 by 960 surfaces. I use draw_set_colour_write_enable(false, false, false, true) before I draw to these surfaces, so...
Top