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!
Hi,
making game saving via buffer_save as described here:
Noticed strange thing: buffer_save creates the file, but not fills it with data. Created file is empty.
Code
Buffer
File
What can be the reason ?
When I send a buffer package with Game Maker Studio, interesting characters appear at the beginning of the package. (As seen in the picture.) I am sure that the server's coding is not broken because when I code a client with c# and send data from it, the texts go normally. But when I send...
Hi
Does anyone know how to add a sprite from a buffer? I found this topic but it's from 2021 so I don't want to bump it. It also doesn't seem to give an answer.
https://forum.gamemaker.io/index.php?threads/sprite_add-from-buffer.90600/
I have a png file in a buffer, but there doesn't seem to...
I am currently trying to use the gamemaker built in functions for buffer compression with networking.
This is the code on client side for sending the packet with a compressed buffer
var data_buff = buffer_create(255, buffer_grow, 1)
buffer_write(data_buff, buffer_string, "Test")
var compressed...
I'm making a game and it's time to open the images, in the middle of the stage, it gets slow! i need to load all images before starting in create event! How do I just make the code below for the images in the sprite folder in the game directory?
// create - event
// Save surface as temporary...
Hello,
So... imagine a surface with different things painted over it.
I basically want to make the typicall fill tool that is present in most drawing softwares.
I've researched for a while and it seems the way to go is to apply the fill tool algorithm onto the surface I'm using.
I tried to...
I've just released a buffer parser asset on the marketplace. It is inspired on the binary parser Node.JS NPM package and is intended to provide an easy way to access multiple data on client/server network buffers.
To use it, you must create a "parser template" by chaining multiple parsing...
Hi.
I've made an exporter for blender that exports models for importing into gamemaker.
First, it writes the number of mesh objects in the scene. For every mesh object in the scene: it saves the object's position, scale, rotation, number of triangles, then followed by the vertex data of the...
I've been playing around with GMS 1.4 native networking the last days and I'm doing pretty good, but the challenge I'm facing now is so much more complicated than I've expected.
My idea is to send an small image (240 x 135) from the server to the client. As I'm doing my tests on my own computer...
I'm testing my project on my Android tablet, and I noticed that if I minimize the project to go to the home screen, then pull it back up again, then gpu_set_texrepeat gets set to false, or at least it appears to.
I have 3D elements drawn using the buffer that use textures outside of the 0-1 UV...
So basically I have been having this error happen in one level specifically of my game, and not anywhere else where if you enter a battle with an enemy every once in a while the game crashes. I have no idea if it's happening due to this OpenAL error that i keep getting but I don't really see...
Hi, all.
(This is for use with networking, but it might be useful for save data)
I have created a BitPacker which allows you to read/write at the bit-level instead of the byte-level to/from buffers. The issue of course was reading and writing data types other than unsigned integers. The...
GM Version: 1.4
Target Platform: ALL
Download: N/A
Links: N/A
Summary:
If you try to read beyond the end of a buffer, you will get an error. This is a problem if your game uses buffers for networking, because anyone could maliciously send a buffer that ends unexpectedly, triggering this...
Hi, I've been trying to send an application_surface in a buffer (I'm using a server-client system) and displaying it in the client's game so that he would "see what the server sees" but this doesn't seem to work. It doesn't crash or anything just nothing happens.
Here's the code:
// Server -...
Hey all, I've run into a weird networking bug. I've got two projects, a client and a server. When I run both on my local computer, or both on an Azure VM, they work fine. However, if I try to run the client on my local machine and the server on a VM, I get the following error as soon as I...
From the GMS2.x docs: async_load[? "buffer"]
"buffer": This is the unique "buffer ID" which is generated by the event. A "grow" type buffer, byte aligned to 1, is created to hold the ID should be stored in a variable and used for all further function calls to the buffer in this event. Just like...
Hey guys
I've been putting together a multiplayer game with pretty good success. I've encountered "attempting to read from outside buffer, returning 0" errors before, but they're never as ambiguous as the one I'm consistently running into recently.
Here it is:
FATAL ERROR in
action number 1
of...
Hi,
I'm noticing when using buffer_delete() I'm not seeing the memory usage come down. For example, if I create a new buffer using buffer_create() the memory increases by let's say 20 MB. When I delete the buffer using buffer_delete() the memory really doesn't move. Then if I repeat this...
I'm trying to save animated gif in GM2.
I'm using GM 2.2.5.378 and sometimes I get an error when I use gif_save() function;
___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of...