Hello, I am trying to get the image width and height from a .png file IHDR chunk inside a buffer so I can make the correct sized surface to write my buffer to. I have followed (converted) this stack overflow post's advice
but i am getting the wrong values from it, in fact I loaded a 512 x 512...
The player in my game has to explore a rather large world that can't reasonably fit into memory. Instead, they simply load parts of the world from files as they approach and unload as they walk away. This was working fine at first, but as I added more complexity in how designers can build these...
Hi there,
I'm trying to create a game with a big circle that changes in size to the beat of a song. The audio files aren't imported into the game because i want people to be able to use their own files. I've succesfully managed to load a list of all songs in a certain folder, and i'm using the...
[SOLVED]
posting_match
2
0
2
Content-Length
Date
5
Thu, 24 May 2018 03:40:52 GMT
The above is the show_debug_message(); output of the below program:
if ds_map_find_value(async_load, "id") == request{
show_debug_message("posting_match");
show_debug_message(async_load[? "response_headers"])...
Hi, i'm getting trouble with the buffers. I've read the documentation but to no avail.
I only made a little test, to experiment, but it doesn't even work and I do not understand why.
Here is the code :
msgBuffer = buffer_create(1024, buffer_fixed, 1);
buffer_poke(msgBuffer, 0, buffer_string...
I've been developing a flow field for some time now and i'm running out of optimization ideas. Currently, it's just too slow for use in an actual game. I am using buffers, accessors, and making sure my scripts are as lightweight as possible. I already know about separating the map into several...
Hello, in my project I want to just copy a file in the included files without modifying or doing anything to it and save it in a folder.
So after realizing GMS' file handling functions do not work with .mp3 files I converted my file to an .ogg and I got it to load the file into a buffer and...
Hi,i was wondering if i receive a buffer from the client and i want to save it to the server how should i do it?
Should i use buffer_save(buffer, filename); or something else?
And would it work if i receive 2 different buffers and i want to save it one by one?
Hi,i'm wondering how do you decide the size of the buffer alignment?
because here it's 2: player_buffer = buffer_create(16384, buffer_fixed, 2);
but what will happen if i set it to 1 or 3?
Thanks in advance!
I'd like to be able to take a number of sound files, combine them all into one single resource file package, and use them in GameMaker. Lots of games seem to do this kind of thing with media files; it makes it much easier to supply updates and downloadable extra content.
I could obviously pack...
I want to use the network_send_raw function to communicate with a server which is not created using Game Maker.
The buffer sent to the server with this function would be written using buffer_write, with buffer_string as argument. My question is: would the string be comprehensible at the server...
I just got some LAN working for the first time in one of my games, so now it's time for me to start filling up packets with information about objects in the room.
Now I'm wondering how I should send packets in a resource friendly manner.
I've read that:
-strings should be aligned to 1
-8 bit...
does anybody know how to make a my palette_create and tileset_create functions faster?
right now it takes about 2 minutes to load everything before the game starts to draw.
I'm trying to make custom palettized tile drawing so I can make a zelda game.
currently its coming along very well but...
Hi, so I'm relatively new to game development and I'm currently developing an MMO and so far have multiple clients successfully connecting to my server. My local player object moves correctly and has the correct sprite movements (up,down,left,right). but I'm having a little difficulty in making...
Im working on a project that uses buffers for storing data and information in a separate file.
I am currently using buffer_fast (obviously writing in buffer_u8) and my file saving works splendid.
However, I am curious about the other alternatives. If I were to switch to buffer_grow and apply...
I've been fiddling around on paper for the past day trying to design a compact format for building pieces to allow for larger grid based maps while not using a ton of memory. The building mechanics I'm designing it for is something similar to a game called Project Highrise, just to give you an...
I send buffers from a server. I use a draw event to make sure the buffers have the value I want when i send them, and they do. The 4 buffers are as follows: 4, for a switch statement, and 1, 2, and 3 for the variables buf1, buf2, and buf3 respectively. My client receives the 4, but when i change...