# game_util **Repository Path**: raincoldl/game_util ## Basic Information - **Project Name**: game_util - **Description**: 游戏开发常用的一些接口汇总 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-03-23 - **Last Updated**: 2025-03-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: Erlang ## README game_util ===== 整合了游戏开发常用的一些接口 Build ----- $ rebar3 compile 用法 ----- 1.将依赖添置到rebar.config的deps结构下。 file: rebar.config {deps, [ {game_util, {git, "https://gitee.com/raincoldl/game_util.git", {branch, "master"}}}]} 2.若想日志正常对接到游戏本身的游戏日志,需要在启动app时,调用以下,否则默认使用logger:log进行记录 比如日志模块是 game_log game_util_log:set_log_mod(game_log). game_log模块需要实现以下函数: game_log(warning, Format, Args) game_log(error, Format, Args)