当前位置:网站首页>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
边栏推荐
- 中国针状焦行业发展研究与投资价值报告(2022版)
- Group counting notes (1) - check code, original complement multiplication and division calculation, floating point calculation
- 质量体系建设之路的分分合合
- Dotween usage records ----- appendinterval, appendcallback
- Animation
- Minor spanning tree
- AutoCAD - lengthening
- China needle coke industry development research and investment value report (2022 Edition)
- 2021 Higher Education Club Cup mathematical modeling national tournament ABCD problem - problem solving ideas
- Personal required code
猜你喜欢
PostgreSQL 超越 MySQL,“世界上最好的编程语言”薪水偏低
LeetCode之單詞搜索(回溯法求解)
2022 thinking of mathematical modeling D problem of American college students / analysis of 2022 American competition D problem
AutoCAD - isometric annotation
django连接数据库报错,这是什么原因
AutoCAD - Center zoom
[groovy] closure (Introduction to closure class closure | closure parametertypes and maximumnumberofparameters member usage)
XSS injection
Flutter 小技巧之 ListView 和 PageView 的各种花式嵌套
UE 虚幻引擎,项目结构
随机推荐
Detailed explanation of the ranking of the best universities
Basic knowledge points
Flink集群配置
AutoCAD - continuous annotation
Unity3d learning notes
Out and ref functions of unity
2021 higher education social cup mathematical modeling national tournament ABCD questions - problem solving ideas - Mathematical Modeling
Chinese notes of unit particle system particle effect
Recherche de mots pour leetcode (solution rétrospective)
Listview pull-down loading function
How to choose a panoramic camera that suits you?
China as resin Market Research and investment forecast report (2022 Edition)
【acwing】528. cheese
Fluent objects and lists
Difference between singleton and factory pattern
[groovy] closure (Introduction to closure class closure | closure parametertypes and maximumnumberofparameters member usage)
54. 螺旋矩阵 & 59. 螺旋矩阵 II ●●
[Chongqing Guangdong education] National Open University 2047t commercial bank operation and management reference test in autumn 2018
Autocad-- Real Time zoom
[groovy] closure (closure as function parameter | code example)