PDA

View Full Version : A save function?



Zion
July 31st, 2006, 02:35
is there anyway to implement a save function in lua? saving game progress and postion etc.?

is it even possible in lua?

Thanks :D

yaustar
July 31st, 2006, 03:17
Yes it is, you have to write to a file (e.g. txt file) to save and read from it to load. The file parsing itself is something that you have to write yourself.

Zion
July 31st, 2006, 13:14
Thanks :D

bronxbomber92
August 8th, 2006, 18:56
Yeah zion, its all involved with dofile... If you need further help hit me up on msn ;)