search for: log_by_frame

Displaying 1 result from an estimated 1 matches for "log_by_frame".

2010 Aug 07
3
C++ runtime error
...if self.active @file.print string.to_s + "\n" if @file != nil end #----------------------------------------------------------------------------- # * Write to console; not done every frame #----------------------------------------------------------------------------- def self.log_by_frame(string, sec = 5) self.log(string) if Graphics.frame_count % (Graphics.frame_rate * sec) == 0 end #----------------------------------------------------------------------------- # * Find the game window and return it #-----------------------------------------------------------------------...