• 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!

Legacy GM Multiple buffer usage

S

siign18

Guest
Hi,i was wondering how can i use 2 or more buffers at the same time and save them on the same server?
 

Paskaler

Member
Yup. If you need tons of them you could also use an array:
Code:
buffers[0] = buffer_create();
buffers[1] = buffer_create();
Just temember to free all of the buffers with buffer_destroy(buffer_variable_here);
 
S

siign18

Guest
Yup. If you need tons of them you could also use an array:
Code:
buffers[0] = buffer_create();
buffers[1] = buffer_create();
Just temember to free all of the buffers with buffer_destroy(buffer_variable_here);
Thank you!
 
Top