Re: write a variable to a file and read it back in bgt

2017-06-26 Thread AudioGames . net Forum — Developers room : Reza . jdp via Audiogames-reflector
Re: write a variable to a file and read it back in bgt hi,well if you're coding an online game in BGT, you'd better not use dictionaries, because they're really slow in loading.but here, at post number1:you'd better set number 1 and number 2 to 0 before loading them back from the

Re: write a variable to a file and read it back in bgt

2017-05-10 Thread AudioGames . net Forum — Developers room : Trajectory via Audiogames-reflector
Re: write a variable to a file and read it back in bgt Here's an alternate approach which does the reading and writing using dictionaries and the serialize/deserialize functions. When games start to get big, and need to save a lot of variables of different types, this is inevitably what

Re: write a variable to a file and read it back in bgt

2017-05-10 Thread AudioGames . net Forum — Developers room : ashleygrobler04 via Audiogames-reflector
Re: write a variable to a file and read it back in bgt Thank you Nathan for sharing this.You are reely helping me URL: http://forum.audiogames.net/viewtopic.php?pid=310326#p310326 ___ Audiogames-reflector mailing list

write a variable to a file and read it back in bgt

2017-05-09 Thread AudioGames . net Forum — Developers room : dardar via Audiogames-reflector
write a variable to a file and read it back in bgt Hello folks,So I got boared late one night, and wrote a very simple, yet very easy script that writes two variables, number1 and number2, to a file, before reading them from said file and displaying them.I've commented the code thoroughly,