buffers

  1. FoxyOfJungle

    Asset - Scripts Managix - Powerful async loading & saving + Console support

    One of the biggest problems in unoptimized games is the lack of memory optimization, which can make your game crash, especially on mobile platforms and consoles, with limited hardware šŸ˜°. Managix is a modern, wide-use asynchronous memory manager that aims to optimize your gameā€™s memory usage...
  2. Andymakeer

    GameMaker Question about networking buffers

    So I decided to use a single buffer server side to write data and replicate them to clients, but I started to wonder that if all the networking stuff is async, is there any risk of the buffer being overwritten by other method BEFORE its current method conclude its writing stuff then the buffer...
  3. FoxyOfJungle

    What is the most efficient way to draw sprites using vertex buffers?

    Hello! Well, I was doing some testing and I found that using vertex_freeze() (in the Create Event after creating the vertex buffer) and then using 5000 vertex_submit() in the Draw Event makes me have 5000 vertex batches... But if I don't freeze, I get this: However, I noticed that using...
  4. S

    HTML5 Problems parsing MIDI in HTML5

    Hello! I'm using buffers to try and read an included MIDI file. Here's my first step, loading the data into a string: function readMidi(file) { var buff = buffer_load(file); var size = buffer_get_size(buff); var hexdata = ""; while (buffer_tell(buff) < size) {...
  5. shui.bdr

    i need help with buffers

    so i'm just learning how networking works, and by using these videos i'm trying to create a very simple game like the guy in the video does, but i keep having the error "Attempting to read from outside the buffer, returning 0" and i just can't understand why. i've made two different...
  6. S

    Is there a quicker method to remove part of a buffer?

    Is there a quicker method to remove what's stored on a vertex buffer than this? I'm hoping someone with experience editing buffers knows a way to correct me here. I have a marketplace asset that generates many grass vertex on a layer, with some extra code to ensure it only generates on certain...
  7. KyleRansford

    UWP Buffer Question Related to Saving And Loading When Targeting Xbox

    Hello, if anyone has done saving and loading with the UWP Xbox One target, can you help out with whether or not this particular save system would pass the requirements of saving with buffers as this document shows: UWP: Saving And Loading When Targeting Xbox Since the code is pretty long I...
  8. FoxyOfJungle

    How to decompile a buffer? (It's possible??)

    When it comes to security issues, there are certain things that we need to know how to avoid or know if it is possible. There is a function called buffer_save(), however, is it possible to "decompile" this buffer saved in a text file?, somewhere else without using GMS 2 (the buffer_read()...
  9. xDGameStudios

    Asset - Scripts [BUFFERS] xBufferViewer is a GUI for buffers (v1.0.1) (FREE)

    [LINKS] https://marketplace.yoyogames.com/assets/9617/xbufferviewer https://xdstudios.itch.io/xbufferviewer [SCREENSHOTS] [INFORMATION] This asset is composed by a BufferViewer structure (new in GMS2.3) that allow for visualising/selecting/copying buffer contents. The viewer GUI is fully...
  10. xDGameStudios

    Asset - Scripts [BUFFERS] xBufferFunctions is a collection of advanced buffer functions (FREE)

    [LINKS] https://marketplace.yoyogames.com/assets/9587/xbufferfunctions https://xdstudios.itch.io/xbufferfunctions [INFORMATION] This asset is composed by a set of buffer functions that allow for complex buffer parsing. Functions allow to seek and match patterns, copy regions (using read...
  11. WanSou

    GML Node.JS Server Receiving "Random" Data Inside Of A Buffer

    Hello, I am trying to make a server in Node.JS. But whenever I sent a buffer from the game maker client the Node.JS server is receiving "Random" data and the real data and I don't really know : -if its the issue with Node.JS or Game Maker -what is this additional data that the server is...
  12. KyleRansford

    UWP Help with Saving And Loading When Targeting Xbox - GMS 2.2.5

    Hello, I'm working on creating a UWP version of a game I've been working on for PC. I recently bought the UWP module and reading about the need for changing the saving process I find that the guide isn't explaining the Load function where I can understand it well. I have the Save function...
  13. 2

    Most CPU Efficient/Fastest Method for Recording 1000s of Instances to "Grid"

    I'm planning on making a spawning/despawning system. Because the initial data grab is likely increase lag/load time to start the level I need to know the fastest way of grabbing whether a desired object (or it's child) is at grid intervals and 4-5 of it's user made variables. The lists must be...
  14. Akhos

    GameMaker Fail-safe against loading corrupted save data?

    Just something that's been on my mind. In my fighting game project, the player has the ability to save a replay of the match they played. I take the necessary information (mostly player inputs I have saved in DS_Lists which I save as strings), put it into a buffer, and save the buffer. Loading...
  15. Fluury

    Allowing users to load audio files into the game?

    Heya. I'd like the user to be able to load sprites and audio files into the game. The sprite part is easily handled by sprite_add(), however loading audio into the game seems vastly more complex, and from what I have seen, only possible in a very limited fashion. It appears that the only way...
  16. Z

    GameMaker Sprite-Based Level Generation (video [15:00] + text versions)

    GM Version: GameMaker Studio 2 Target Platform: All Download: zackbanack.com Links: Video Link Summary: You may know how to design levels in the YoYo Gamesā€™ GameMaker Studio Room Editor. But, what about in its Sprite Editor? This Step Event tutorial will show you an artsy, unconventional...
  17. D

    Networking timing difference

    Hello, I am working on a multiplayer game in GameMaker. The concept is close to a fighting game and so it's very important both players see the same thing happening at the exact same time. It takes a while for a buffer to be sent to the other player though. A lot of fighting games fix this by...
  18. JasonTomLee

    Why use buffers and json ?

    I've used ini files before for saving / loading but I was wondering why and when you'd use buffers/json. Why would you use one over the others? Thanks!
  19. B

    Legacy GM Networking system questions

    Hello. I am new here, but do not worry. I am not beginner with game maker. I remember old hammer logo. I just did not use yoyogames forum. I made some not very well working games for my self and only problem is time and graphic. I decided to make some game with networking. First game was...
  20. A

    GameMaker Tiledata handling

    Hello, I've been trying to create my own 'map editor' in order to speed up game development process as much as possible. The problem I've encountered is handling data because of the actual data size. For example if I were to have a 2.000x2.000 world, I'd have a total of 4.000.000 grid cells...
Top