• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

buffers

  1. 2

    Question - GML Visual Examples on How to Use: Ds Lists/Maps, Buffers

    Where can I find some tutorials or examples on how to use buffers, ds_lists, and ds_maps? I've looked up the individual commands in the manual, but how I use the different commands together (for example say the ds_list commands) and what they'd accomplish used in series is difficult to figure...
  2. Xer0botXer0

    GML Help grasping buffers

    Hi fellow game devs, So basically Im just looking for information on buffers, because the manual doesn't explain it in a sense that makes sense to me, such as alignment and so on, now I somewhat get the idea, but what interests me is where did these people that seem so knowledgeable on buffers...
  3. Joe Ellis

    Legacy GM Are buffers faster than arrays?

    Hi all, I know that arrays are a bit faster than ds_lists, but are buffers faster than arrays? I know how to use buffers, I'm just wondering if its worth converting all my array stuff to buffers at the end of my development to get optimal performance.
  4. W

    [SOLVED] reading points on a line at 1/2 sprite height from a buffer

    Hi, so what I'm trying to do is find exact color matches accross the x axis at 1/2 the height of a sprite, but the global variable never increases, the only way to really explain it is to post some code so here it goes: Load image in buffer via alarm: w=sprite_get_width(shooter)...
  5. S

    Audio Queue doesn't play sound but does trigger Audio Playback Event at end of song

    I'm trying to set up an audio queue, but I can't get it to play the sound/music I'm loading into the buffer. The song is a .wav file. I am receiving an Audio Playback Event at the end of the time the song would take if it were being played. The song also plays if I pass audioBuffer into...
  6. Alice

    How to correctly use buffer_set_surface?

    Well, I'm really stumped here. All I want to do is to generate a bitmap from scratch (in a buffer, because it gives such an option) and copy to a surface for further processing. However, whenever I actually try doing that, I instead end up clearing the surface somehow. If someone has a basic...
  7. GMWolf

    Legacy GM Saving and Loading multiple buffers as one file.

    Im looking for a way to save multiple buffers into a single, large file. I realize GM already has a way to save part of a buffer, or load into part of a buffer (buffer_save_ext and buffer_load_ext). but what i need is to load part of what is on disk, in to a ful buffer, and save a full buffer...
  8. F

    Windows passing buffer_get_address() to DLL causes c++ System.AccessViolationException

    Hello, I'm guessing a developer or higher up might need to comment on this. I'm trying to pass the pointer of a buffer I create in GM to my C++ DLL. Now, the help docs say that this can be passed to be used in extensions. Here is the gml code...
  9. Binsk

    Legacy GM Fast access to surface data possible?

    Hello everyone. I am currently attempting to write a wrapper DLL of sorts for OpenVR in order to use the HTC Vive with GameMaker. So far I am able to push rendered data from a GameMaker surface onto the HMD by passing the color data in a u8 BGRA-formatted buffer which I can then pass into an...
  10. sman

    HTML5 Buffers don't work in HTML5. Found a workaround

    Has anybody found a workaround? I'm about to release my game on Steam and I wanted to make an HTML5 demo to help spreading the word. But I can't because of these 3 bugs in HTML5: - buffer_read doesn't work after buffer_save and buffer_load - buffer_resize doesn't work - buffer_save doesn't...
Top