Lionel Tabris
Member
Game_Cache
Version: 1.0.0.0
By:Lionel
Introduction
This Script Adds Cache Functions to RGSS
Dump_Cache saves $game_cache to Cache.rxdata
Load_Cache puts data from Cache.rxdata into $game_cache
Script
Version: 1.0.0.0
By:Lionel
Introduction
This Script Adds Cache Functions to RGSS
Dump_Cache saves $game_cache to Cache.rxdata
Load_Cache puts data from Cache.rxdata into $game_cache
Script
Code:
#==============================================================================
# ** Game_Cache
#------------------------------------------------------------------------------
#This Script Adds Cache Functions to RGSS
#==============================================================================
$game_cache=[]
def dump_cache()
save_data($game_cache , "Data/Cache.rxdata")
$game_cache=[]
end
def load_cache()
$game_cache = load_data("Data/Cache.rxdata")
end