前端Lua
前端Lua
前端Lua
控件肯定是有的.因为我创建界面就会有控件. 但是动画是后面才有的
前端Lua
stopAllActions 第一次停止的时候会报错 .因为我第一次进入还没有动画
前端Lua
移除节点内的对象
前端Lua
lib:left_move_to_fadeout("image_2","res/yidalu/zhuansheng4.0/zhuansheng tup.png",0.2,2,0.2,function() end) SL:ScheduleOnce(function() local topLayer = GUI:Attach_UITop() local image = GUI:getChildByName(topLayer, "image_2")
前端Lua
if GUI:Win_IsNotNull(ui.lv) then GUI:Text_setString(ui.Text_1,level) end我要把上这个挂在lib:left_move_to_fadeout("image_2","res/yidalu/zhuansheng4.0/zhuansheng tup.png",0.2,2,0.2,function() end) SL:ScheduleOnce(function() local to
前端Lua
类似txt的j变量
前端Lua
定时器如何清理 玩家如果不在线是不是清理不到
前端Lua
新三段后端lua如何设置人物期限变量 一天后自动清理的
前端Lua
SL:ScheduleOnce(function() -- 获取最上层UI local topLayer = GUI:Attach_UITop() -- 获取刚才创建的图片 local image = GUI:getChildByName(topLayer, "Effect_6") if image and not GUI:Win_IsNull(image) then -- 创建特效:挂在图片上,居中偏下,ID=86416
前端Lua
MainTarget._isShowTargetPanel = SL:GetMetaValue("WINPLAYMODE") == true 这种=后面还有== 是什么逻辑
前端Lua
-- 2. 同步播放特效 86416,挂载在图片正下方 SL:ScheduleOnce(function() -- 获取最上层UI local topLayer = GUI:Attach_UITop() -- 获取刚才创建的图片 local image = GUI:getChildByName(topLayer, "Effect_6") if image and not GUI:Win_IsNull(image) then --
前端Lua
-- ===================== 最终版:只在点击升级时播放,打开界面不重播 ===================== zhuansheng._lastPopupLevel = zhuansheng._lastPopupLevel or 0 zhuansheng._popupDelayAction = nil zhuansheng._popupFadeAction = nil zhuansheng._isClickLevelUp = false -- 标记:是否是点击升级 l
前端Lua
-- ===================== 追加:等级弹窗 Image_2 自动显示(不改动原有代码)===================== zhuansheng._lastPopupLevel = zhuansheng._lastPopupLevel or 0 zhuansheng._popupDelayAction = nil zhuansheng._popupFadeAction = nil local function showLevelTipImage2() loc
前端Lua