1. 2

    GMS 2 Choosing what Audio Group External Audio Is Part Of

    When loading external audio how do you decide what audio group it is part of? Music needs to be in a separate audio group for me to adjust the volume separately.
  2. DukeSoft

    Discussion HRESULT: 0x80070057 / vertex_create_buffer_from_buffer / DLL buffer generation

    Just FYI - Since runtime 2.2.4 I've had issues where I got this message pop up: Win32 function failed: HRESULT: 0x80070057 Call: GR_D3D_Device->CreateBuffer at line 294 in file \VertexBuilderM.cpp and my vertex buffers were empty. My projects generates buffers through a DLL - GM creates...
  3. H

    GMS 2 How to load external files/sounds during gameplay

    The thread title is pretty self-explanatory. I KNOW there are threads and topics covering this very question. I've seen them in the past for GMS1.4, but I must be looking for them wrong because I'm having trouble finding what I'm looking for now. I know that GMS is sandboxed, but being able to...
  4. S

    GMS 2 Is there SDK or a hack/way to call GML builtin function from external side?

    Hello, This would be my second post (as well as thread) :) The title pretty much says it all about here. In my previous thread, I have talked a bit about my first extension (in my first game built using GameMaker). So far I have been able to call external functions from GML scripts. Our...
  5. S

    GMS 2 Suggestion: Calling convention option for external functions

    Hello, I am very new to the world of GameMaker, I have just started using it since last week... But, I am fairly experienced in several of other programming languages (such as C++, C#, JavaScript). That being said, I am the one who prefers object-oriented programming. So, I started to learn...
  6. Admiral Nemo

    GMS 2 Loading Multiple Images and Variables from INI file ?

    I wish to load multiple images and a few variables from an ini file within several folders in the working directory. Basically, anything you put in a specific folder in the working directory gets loaded into the game on start, while also being assigned several variables. With variable =...
  7. 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.
  8. V

    [SOLVED] Call external function in DnD

    Hi, I'm newbie programming in GMS2, really I'm using DnD. I've finished my first game and now it's time to distribute it. I'm going to publish it in BLUR app. This really needs very few steps for integration: 1. Place this rcode before the end of the </body> (closing tag) in “index.html”...
  9. 2

    External Resources, Reasons for Use?

    Why should we use external resources, mainly? Some games seem to load all external resources right after the exe loads up. Wouldn't this take the same amount of time and memory as not using them (what's the point)? I'd understand the reason for loading some and unloading other resources, on a...
  10. clee2005

    iOS Sprite_add on iOS seems inefficient

    I've been dealing with this issue for the last few days and it's becoming clear that loading sprites with sprite_add on iOS is not the same as it is on Android. I removed all the BIG game images (backgrounds) for the different levels from the resource tree and put them into the Included Files...
  11. Radr

    Handling lots of base item data?

    Hello all. I’m looking for a little guidance on handling an item database in my game.
  12. P

    GMS 2 Best way to load External Sprites?

    What is the best way to load and use external sprites? I am making a mapping program inside of game maker and I need to load external images to use as tiles. (I am using an object based tiling system and not tilesets btw so I only need the image to be loaded in and nothing else) I am planning on...
  13. P

    GMS 2 Loading External Scripts

    I know at the moment loading external scripts is impossible as that means compiling scripts during runtime so I was wondering if it is possible to pre-compile a script and then import it during runtime. Or is this not how it works? I'm just looking for a solution that isn't making a pseudo...
  14. Shadowblitz16

    Custom Sprite Framework sub images are buggy

    can someone help me with my problem here it seems that my sub images are being sliced in half and I'm not sure why it might have something to do with the images because I reorganized the sprite sheet and now all of them are doing this instead of just the luigi and wario ones this is my sprite...
  15. 2

    Prevent Players from Copying/Viewing External Image and Sound Resources in Game Folder

    I'm wondering if there's a way to prevent external resources like sprites and music from being viewed or copied by a person playing your game. It's nice that they can cut down on load and compile times, but I don't see the point if people can rip your resources off if you do this. So is there a...
  16. Shadowblitz16

    Windows Create Extension Package that uses project as resource container?

    hello is there a way to make a extension package that doesn't import resources into the project but contains them in the extension or in a reference project? I've seen this done before but it looks like many people don't know how to do it. does anybody know how and care to explain?
  17. JoltJab

    Legacy GM Understanding the "Included Files" folder

    So from my understanding of the help docs, the "Included Files" folder on the resource tree can take external files and put them within the executable when the game is created.(correct me if I'm wrong here) So knowing this, I created a buffer and saved it to a file, and put that file in the...
  18. Kabcorp

    Legacy GM External files problem

    I'm trying to have a "maps" folder for placing maps manually and get a file listing by GM:S. I seen GM:S use AppData\Local\gm_ttt_xxxxx as working_directory when i play the game from the IDE. But when i export the game to standalone ZIP project, working_directory is the same folder where the...
  19. B

    Legacy GM sprite_add vs sprite_create_from_surface

    Hi there guys, a little bit of a noobish question but im looking to speed up my games sprite importing by using external sprite strips but as far as im aware using sprite_add will actually create a separate texture page per sprite loaded, so i'm just curious as to whether or not using a larger...
  20. ECEngineering

    Legacy GM Problem with external functions

    I started working on a new game in GameMaker:Studio about 8 months ago and I was using the P3DC dll for 3d collision detection. After a couple of months I have paused the development of the game. A month ago I wanted to send the binary game file, along with the source code to one person so I...