Dobra. Myślałem, że sam wyłapiesz błąd:
GML
fname=get_string("wpisz nazwę pliku którego chcesz zapisać","filebin")
file=file_text_open_write(fname);
file_text_close(file);
file=file_bin_open(fname,1);
obj=Obiekt;
num=instance_number(obj)*12
var i;i=0;
for (j=0;j<num;j+=12)
{
O=instance_find(obj,i);
file_bin_seek(file,j);
file_bin_write_byte( file, O.x & 255 );
file_bin_write_byte( file, ( O.x >> 8 ) & 255 );
file_bin_write_byte( file, ( O.x >> 16 ) & 255 );
file_bin_write_byte( file, ( O.x >> 24 ) & 255 );
file_bin_write_byte( file, O.y & 255 );
file_bin_write_byte( file, ( O.y >> 8 ) & 255 );
file_bin_write_byte( file, ( O.y >> 16 ) & 255 );
file_bin_write_byte( file, ( O.y >> 24 ) & 255 );
file_bin_write_byte( file, O.image_angle & 255 );
file_bin_write_byte( file, ( O.image_angle >> 8 ) & 255 );
file_bin_write_byte( file, ( O.image_angle >> 16 ) & 255 );
file_bin_write_byte( file, ( O.image_angle >> 24 ) & 255 );
i+=1;
}
file_bin_close(file);