当前位置:网站首页>cocos2dx_ Lua card flip
cocos2dx_ Lua card flip
2022-07-05 04:57:00 【Meteor spot】
local fun = function(curNode, BgNode)
local scaleToHide = cc.ScaleTo:create(0.1, 0, 1.0)
local function funcScaleToShow()
local scaleToShow = cc.ScaleTo:create(0.1, 1.0, 1.0)
BgNode:setVisible(true)
BgNode:runAction(scaleToShow)
end
local callFunc = cc.CallFunc:create(funcScaleToShow)
local sequence = cc.Sequence:create(scaleToHide, callFunc)
curNode:runAction(sequence)
end
边栏推荐
- [groovy] closure (Introduction to closure class closure | closure parametertypes and maximumnumberofparameters member usage)
- How to choose a panoramic camera that suits you?
- 3dsmax common commands
- C4D simple cloth (version above R21)
- Unity synergy
- mysql审计日志归档
- China as resin Market Research and investment forecast report (2022 Edition)
- The first topic of ape Anthropology
- AutoCAD - window zoom
- [groovy] closure (closure parameter list rule | default parameter list | do not receive parameters | receive custom parameters)
猜你喜欢
用 Jmeter 工具做个小型压力测试
stm32Cubemx(8):RTC和RTC唤醒中断
【acwing】528. cheese
AutoCAD - graphic input and output
Redis 排查大 key 的4种方法,优化必备
質量體系建設之路的分分合合
【Leetcode】1352. Product of the last K numbers
Leetcode word search (backtracking method)
2022 American College Students' mathematical modeling ABCDEF problem thinking /2022 American match ABCDEF problem analysis
Use assimp library to read MTL file data
随机推荐
Cocos create Jiugongge pictures
3dsmax scanning function point connection drawing connection line
[groovy] closure (closure parameter list rule | default parameter list | do not receive parameters | receive custom parameters)
Lua GBK and UTF8 turn to each other
[groovy] closure (closure call is associated with call method | call () method is defined in interface | call () method is defined in class | code example)
LeetCode之单词搜索(回溯法求解)
Common technologies of unity
Emlog博客主题模板源码简约好看响应式
【Leetcode】1352. 最后 K 个数的乘积
Dotween usage records ----- appendinterval, appendcallback
Animation
Cocos2dx Lua registers the touch event and detects whether the click coordinates are within the specified area
C # perspective following
Detailed explanation of the ranking of the best universities
C4D simple cloth (version above R21)
On-off and on-off of quality system construction
Unity3d learning notes
django连接数据库报错,这是什么原因
质量体系建设之路的分分合合
[groovy] closure (closure call | closure default parameter it | code example)