![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
tolua
iDaDi
这个作者很懒,什么都没留下…
展开
-
Lua 元表,元方法
Lua 元表,元方法原创 2023-12-15 17:32:48 · 604 阅读 · 0 评论 -
Lua 模仿C++类
Lua 模仿C++类原创 2023-12-15 11:26:26 · 763 阅读 · 0 评论 -
Lua 字符串去除回车换行以及空格
去除回车换行主要是使用string.gsub的替换作用。res = string.gsub(url, “\r\n”, “”)其中/r/n就代表回车和换行。url就是去除前的字符串,res则是去除后的结果。去除空格res = string.gsub(url, “%s+”, “”)...原创 2021-10-08 20:27:47 · 5372 阅读 · 0 评论 -
Lua 颜色值转换 -- Color
ColorTools.lua--[[备注 : 色值格式化、转换和定义]]----------------------------------------------------------------------------------------------local strfmt = string.formatlocal strsub = string.sub----------------------------------------------------------------原创 2020-08-07 09:49:14 · 5520 阅读 · 1 评论 -
tolua学习资料汇总贴
学习游戏热更新,tolua转载 2016-11-02 20:57:05 · 1621 阅读 · 0 评论