Add AIO bubble packages, scripts and existing previews (part 4)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- scripts/1f/1fe1d6919dbd1ed1c886fa9c6a1f7e889d8ae4e48995711591f7a229ebfd8ae1.lua +29 -0
- scripts/22/22c88258df686173afc879c23f7c4bccc1ae1fb1bd4bc6a50a275899a598451c.lua +29 -0
- scripts/23/23ac0b2d3910871a0bda54a459835020926e3296cbc480f15bf424f66dca6098.lua +29 -0
- scripts/25/2507d0f2754c3cd3b4aa7e43aba409f875803f35f27daf810b5b61904ce68c3e.lua +29 -0
- scripts/25/2582b7135f1a56baf13dee70b71d5585817c88ac447a93dffd2f3447852ed507.lua +29 -0
- scripts/25/25c217b0b963f31c6a49d39c65d640833f656d9e8772017f03ddb4657f8e5db3.lua +29 -0
- scripts/25/25d6550a0941447fdc3cf73498a1c21a7049e362b149e15a89b87519e35c1d91.lua +33 -0
- scripts/27/2708645616f5fb90ef44f94ede5dd2eb00b67a227878a64beaeb30ac74dea771.lua +29 -0
- scripts/27/27878860159e7429913c592186d1235552d7ee16e5019605d07c67809a616540.lua +33 -0
- scripts/27/27d045d14fb0e5803e7349f3b82e99693f6d127e65baaa54db2ba45c853064c9.lua +29 -0
- scripts/28/28c4bfa487e416ca0b05f6e23695d9c3b39b957a96128995b1cbaaabf51cf1c8.lua +29 -0
- scripts/2a/2a56f198c5839ec3e53c901cedab3e701079993aaafe2c2ea368d2f670a4acbc.lua +29 -0
- scripts/2a/2aa09fd581c5a0fb54055bdb0212addef3cc8616de5dd1a52f8116c311766e13.lua +29 -0
- scripts/2b/2ba02dc27d5f2ea2b682266862827b2f2662a3ea3aa3b8ed38f08a875361c14f.lua +29 -0
- scripts/2d/2d1b3990995dd6832bc692aab558f8756db5d47991c24d1cff2eb668e2857b2b.lua +29 -0
- scripts/2d/2da17fef87d5d85f0f558eb68d2b613309717b0d27a8dc6bf67c54a1ebaedf85.lua +29 -0
- scripts/2e/2e3b5fa83626c3c2a34190bbdbca29c9e7168fc91ac2125fc5c7075d38a3cd12.lua +29 -0
- scripts/30/30ad5c5b494155cca2b2ffa8433dc40afeeaf32bd2ff8d710d62b005ed16ffde.lua +29 -0
- scripts/30/30bc3ff64362899b3aa8f9b0226fb6a95a3b4f56ed7f1ed84e2565d5269898e5.lua +29 -0
- scripts/30/30e58e0a489bbad651e65fc7a384624b7bebee678b6fafb00637d65dbd007bd3.lua +29 -0
- scripts/32/32b52e6cf1843b3a425c33a5faa390779f5759d86764fae6194e35d1e920ca53.lua +29 -0
- scripts/33/33062624ba985d9c33631ae4330d27f1e0287c377a854ad2a89f86fc0fc41018.lua +29 -0
- scripts/34/3453447d595106b658bd2c454edade08dd656be5ad1df193ba01f76760140bbe.lua +29 -0
- scripts/34/348d6da7f434abfab20f13e65cf2e84c4e2af6640e0febcdcb428d014c2c1172.lua +29 -0
- scripts/35/35b0bdfdcaf749022ab08757d1aff41c58a1cd4385fa697178a973c752e95e05.lua +29 -0
- scripts/35/35d16e7f6322046b702a800fbe930231093787e44d3128cb3d4f2b9e3311a50c.lua +29 -0
- scripts/35/35e121d89a46bcefcb4b3c6bed23554813400e12467f3b572475a1793a7ad3bd.lua +29 -0
- scripts/36/3676e1146b3120c3a3db1613e7e1cc0e175d34d047c7e688e47cbf224e873d33.lua +29 -0
- scripts/37/37c52156e7b3abda872c43cff873ad7ce9b529df49f81f90fe58cc28ca2da9e2.lua +29 -0
- scripts/39/39d0d846db5451e476df98f492f555f3495e95977cbc3d11f8f4cadaf3570298.lua +29 -0
- scripts/39/39d6dc65b1cafd45aea98cbcbdb1322a8dfd184862e236a23a61d5f8c9aaa55e.lua +29 -0
- scripts/39/39d9d9b901c41191f1d651d991e14f21ce7f95f02368985949010184c67cb054.lua +29 -0
- scripts/39/39f4712c3794492b5ee281d64eba8fc797fbe11a652a13d15a5c4c140d138306.lua +29 -0
- scripts/3a/3a02c0078b0ce84d63da4ee10f2eaea1db7c49717a224c4c8adc1ac313d6ecb6.lua +29 -0
- scripts/3b/3b442eb2626ec3c919ed4f6f9915dc9927dfe655872eb75883c6a51137a4c642.lua +29 -0
- scripts/3c/3c53864e1f5f8d8de267b99041abe59dd89efec3cabf3531a73658d114117d26.lua +29 -0
- scripts/3c/3cf5094752729fd971e29a0f1e6d26791fa9ea772684d8613cba1e02cbc474e5.lua +29 -0
- scripts/3f/3f2990749d8735857dd1f0840e779b9f090d7c85bc45fd4bf53b915f1feb06c0.lua +29 -0
- scripts/3f/3f47209a692d6f93920b85ab9c25810e4681636760b95a2f16f656d4ac65638b.lua +29 -0
- scripts/40/408597409b559d2b2c3ae25c0482ba55280c794ed7757db62bdaaf09e96be8cc.lua +29 -0
- scripts/41/41f4bba527392f073563c85a38f34784df2e8118f6fac71db2073974e4586ba9.lua +29 -0
- scripts/43/4300a39be5251e9a354f07c09744b3e65fe3fc6aa2bf55d41955ea9d8759daed.lua +29 -0
- scripts/43/43754c73190d4e5d11bb4e48507a229b0c8725cd508494107667c309f3810711.lua +29 -0
- scripts/43/43855fdd54d37f673f96a00b1b7f7696dd6670b8eef6bb86f56a906b1883bcbe.lua +29 -0
- scripts/43/439b2deda7e2de057c129a38f4c70de93bf803dae46b6f0d994d8a4c4e53abea.lua +29 -0
- scripts/44/445b408f28d42ee0ed19edf9b70d1ab7ccb43bb6893452316f6bfd15dae5781d.lua +29 -0
- scripts/45/452324389dc40c0952f4d6eb60d04b3d081a8932bf41b33382ea2d5e4f7f06bd.lua +29 -0
- scripts/45/45671a64a3c83bfdc24fe8babecdc9a77192ab0cbbaf0a7d4eaa90411adb5957.lua +29 -0
- scripts/46/46f2401fca2d49f008d25558e51ae6f49b92378941e64c06c1b57782c9315264.lua +29 -0
- scripts/4a/4ad5dcf9a81c3bdd1aeb24e878cc49251785699695cce1edbba7c8994ead154d.lua +29 -0
scripts/1f/1fe1d6919dbd1ed1c886fa9c6a1f7e889d8ae4e48995711591f7a229ebfd8ae1.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "F2AE6C1EBFE246A68826F1FFE4E87768/情绪18.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/22/22c88258df686173afc879c23f7c4bccc1ae1fb1bd4bc6a50a275899a598451c.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "38610CDA7BEA49B5A779A00513BA1846/标签29.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/23/23ac0b2d3910871a0bda54a459835020926e3296cbc480f15bf424f66dca6098.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "bc6e455e72b42cf6fb5d7050f8b343c0.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/25/2507d0f2754c3cd3b4aa7e43aba409f875803f35f27daf810b5b61904ce68c3e.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "434ad46a747229e00a5fe0e8d642cd87.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/25/2582b7135f1a56baf13dee70b71d5585817c88ac447a93dffd2f3447852ed507.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "E8183DCA956549EB9A932CA2C5FAC104/标题60.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/25/25c217b0b963f31c6a49d39c65d640833f656d9e8772017f03ddb4657f8e5db3.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "6EEBADE1B73A4AFF9CF172F0600D8738/会话73.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/25/25d6550a0941447fdc3cf73498a1c21a7049e362b149e15a89b87519e35c1d91.lua
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.autoAtlas,
|
| 6 |
+
data = "4aa5e79f49c57272be30f6cbabd9855c/蓝白.json",
|
| 7 |
+
source = "4aa5e79f49c57272be30f6cbabd9855c/4aa5e79f49c57272be30f6cbabd9855c.png"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
entity,
|
| 11 |
+
}
|
| 12 |
+
|
| 13 |
+
function InfoSticker:new()
|
| 14 |
+
local o = {}
|
| 15 |
+
setmetatable(o, self)
|
| 16 |
+
self.__index = self
|
| 17 |
+
local viewer = director:getViewer()
|
| 18 |
+
local width = viewer:getWidth()
|
| 19 |
+
local scale = width / 720.0 * 1.000000
|
| 20 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 21 |
+
o.entity:getTransform():setScale(scale)
|
| 22 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 23 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 24 |
+
controller:setFps(16)
|
| 25 |
+
EffectSdk.AnimationFactory.createFrameAnimation(controller, "frame")
|
| 26 |
+
controller:getAnimationState("frame"):setLoop(true)
|
| 27 |
+
|
| 28 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 29 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 30 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 31 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 32 |
+
return o
|
| 33 |
+
end
|
scripts/27/2708645616f5fb90ef44f94ede5dd2eb00b67a227878a64beaeb30ac74dea771.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "A7D9E53B43424161A0959784D223F4B2/标题64.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/27/27878860159e7429913c592186d1235552d7ee16e5019605d07c67809a616540.lua
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.autoAtlas,
|
| 6 |
+
data = "d83967afaaf7f546dd39618730c6cbb8/d83967afaaf7f546dd39618730c6cbb8.json",
|
| 7 |
+
source = "d83967afaaf7f546dd39618730c6cbb8/d83967afaaf7f546dd39618730c6cbb8.png"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
entity,
|
| 11 |
+
}
|
| 12 |
+
|
| 13 |
+
function InfoSticker:new()
|
| 14 |
+
local o = {}
|
| 15 |
+
setmetatable(o, self)
|
| 16 |
+
self.__index = self
|
| 17 |
+
local viewer = director:getViewer()
|
| 18 |
+
local width = viewer:getWidth()
|
| 19 |
+
local scale = width / 720.0 * 1.000000
|
| 20 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 21 |
+
o.entity:getTransform():setScale(scale)
|
| 22 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 23 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 24 |
+
controller:setFps(10)
|
| 25 |
+
EffectSdk.AnimationFactory.createFrameAnimation(controller, "frame")
|
| 26 |
+
controller:getAnimationState("frame"):setLoop(true)
|
| 27 |
+
|
| 28 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 29 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 30 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 31 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 32 |
+
return o
|
| 33 |
+
end
|
scripts/27/27d045d14fb0e5803e7349f3b82e99693f6d127e65baaa54db2ba45c853064c9.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "C228C1510F4447D593F36AC04EAF3BC1/111.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/28/28c4bfa487e416ca0b05f6e23695d9c3b39b957a96128995b1cbaaabf51cf1c8.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "3b381a71173d1003cdbb6d11a26a8015.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/2a/2a56f198c5839ec3e53c901cedab3e701079993aaafe2c2ea368d2f670a4acbc.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "1A442A58E20D4E139B6FF250ABA255AF/会话31.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/2a/2aa09fd581c5a0fb54055bdb0212addef3cc8616de5dd1a52f8116c311766e13.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "FE02296CE0E84555B11594C9F6A4B386/会话70.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/2b/2ba02dc27d5f2ea2b682266862827b2f2662a3ea3aa3b8ed38f08a875361c14f.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "B55739EFAD674DDBA3633AAB637CED42/标签28.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/2d/2d1b3990995dd6832bc692aab558f8756db5d47991c24d1cff2eb668e2857b2b.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "3160859f9ff8d66d1c82b3b7dbf6aab5.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/2d/2da17fef87d5d85f0f558eb68d2b613309717b0d27a8dc6bf67c54a1ebaedf85.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "01a8d4b2f9810b0d2d7b9b2f211a3bd4.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/2e/2e3b5fa83626c3c2a34190bbdbca29c9e7168fc91ac2125fc5c7075d38a3cd12.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "74EB962618AD4A19B5D3022CC4EE0C3E/标签30.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/30/30ad5c5b494155cca2b2ffa8433dc40afeeaf32bd2ff8d710d62b005ed16ffde.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "69448199FF0846D29DAA6D8FCE840945/标题61.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/30/30bc3ff64362899b3aa8f9b0226fb6a95a3b4f56ed7f1ed84e2565d5269898e5.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "2B55D83A3AED4FD6BAF8037BFFE19E59/会话38.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/30/30e58e0a489bbad651e65fc7a384624b7bebee678b6fafb00637d65dbd007bd3.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "5c93141e0b9b8268d380bec822e3fc44.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/32/32b52e6cf1843b3a425c33a5faa390779f5759d86764fae6194e35d1e920ca53.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "e9d84287f4e5fe8e4744dc612b469368.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/33/33062624ba985d9c33631ae4330d27f1e0287c377a854ad2a89f86fc0fc41018.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "2247058E3492472D8929618BF23C5798/会话67.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/34/3453447d595106b658bd2c454edade08dd656be5ad1df193ba01f76760140bbe.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "460F15BBFDC94A4BB1C5A90B169ED02D/情绪12.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/34/348d6da7f434abfab20f13e65cf2e84c4e2af6640e0febcdcb428d014c2c1172.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "546D6373E60D4752A7BC63C5CB83B5A6/标题67.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/35/35b0bdfdcaf749022ab08757d1aff41c58a1cd4385fa697178a973c752e95e05.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "0467A5A606C943E7AD8B6F536867DFDF/会话35.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/35/35d16e7f6322046b702a800fbe930231093787e44d3128cb3d4f2b9e3311a50c.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "c6265a23740550a378db0a69052beb8c.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/35/35e121d89a46bcefcb4b3c6bed23554813400e12467f3b572475a1793a7ad3bd.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "0ca5b78efa3b9d6ea9518bc6f8997492.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/36/3676e1146b3120c3a3db1613e7e1cc0e175d34d047c7e688e47cbf224e873d33.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "985f7bd3903a4b458decfaa835de4524.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/37/37c52156e7b3abda872c43cff873ad7ce9b529df49f81f90fe58cc28ca2da9e2.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "c9911f80ed0dc811aba5b685469c026d.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/39/39d0d846db5451e476df98f492f555f3495e95977cbc3d11f8f4cadaf3570298.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "AB2D11C7C874432C9F3AA9E8E808F509/标题62.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/39/39d6dc65b1cafd45aea98cbcbdb1322a8dfd184862e236a23a61d5f8c9aaa55e.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "EE36D54C4EAE48CD9DE4E389C30286BB/会话40.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/39/39d9d9b901c41191f1d651d991e14f21ce7f95f02368985949010184c67cb054.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "bfd861e58504a03901fb81afab9120a0.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/39/39f4712c3794492b5ee281d64eba8fc797fbe11a652a13d15a5c4c140d138306.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "d74d6d15fdbf8948fffdb7aeae621132.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/3a/3a02c0078b0ce84d63da4ee10f2eaea1db7c49717a224c4c8adc1ac313d6ecb6.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "8cd6ec9e4ef36a9e0354227d49e063eb.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/3b/3b442eb2626ec3c919ed4f6f9915dc9927dfe655872eb75883c6a51137a4c642.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "62601DC0189C453DBA09456A5403632F/会话71.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/3c/3c53864e1f5f8d8de267b99041abe59dd89efec3cabf3531a73658d114117d26.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "96c08e6fe174bafbd149cd8bc5c01068.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/3c/3cf5094752729fd971e29a0f1e6d26791fa9ea772684d8613cba1e02cbc474e5.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "33f383c1b44ec437c99f15a619f7825c.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/3f/3f2990749d8735857dd1f0840e779b9f090d7c85bc45fd4bf53b915f1feb06c0.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "FDB481C841AF4627889105F41D1E8831/会话72.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/3f/3f47209a692d6f93920b85ab9c25810e4681636760b95a2f16f656d4ac65638b.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "5bbedb0322f2efd6c295c04895853d59.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/40/408597409b559d2b2c3ae25c0482ba55280c794ed7757db62bdaaf09e96be8cc.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "24ea400aa4f8b55bb8fdf81afa99b1ec.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/41/41f4bba527392f073563c85a38f34784df2e8118f6fac71db2073974e4586ba9.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "67ebe071800924a7411c925ca1b0c77b.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/43/4300a39be5251e9a354f07c09744b3e65fe3fc6aa2bf55d41955ea9d8759daed.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "2f439e304b8af2c0175314fec0392c52.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/43/43754c73190d4e5d11bb4e48507a229b0c8725cd508494107667c309f3810711.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "cc6ebe86eeab77eb2510f37fcc33aef7.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/43/43855fdd54d37f673f96a00b1b7f7696dd6670b8eef6bb86f56a906b1883bcbe.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "f11b9c392cd606a76f5b6d7b7416d994.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/43/439b2deda7e2de057c129a38f4c70de93bf803dae46b6f0d994d8a4c4e53abea.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "6f28f67743c82ab0c40c264edd138302.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/44/445b408f28d42ee0ed19edf9b70d1ab7ccb43bb6893452316f6bfd15dae5781d.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "60a0bdc4a5d0c80da60a1b91fe35c409.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/45/452324389dc40c0952f4d6eb60d04b3d081a8932bf41b33382ea2d5e4f7f06bd.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "c3c0b1ee1f38041ed27c4a8863ddb687.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/45/45671a64a3c83bfdc24fe8babecdc9a77192ab0cbbaf0a7d4eaa90411adb5957.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "32a9f88ca4dada2e678839e8079ae5a3.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/46/46f2401fca2d49f008d25558e51ae6f49b92378941e64c06c1b57782c9315264.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "5A1416C38A4E46E5BD6C8A9DBDF139D0/104.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|
scripts/4a/4ad5dcf9a81c3bdd1aeb24e878cc49251785699695cce1edbba7c8994ead154d.lua
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
InfoSticker = {
|
| 2 |
+
materials = {
|
| 3 |
+
{
|
| 4 |
+
id = 0,
|
| 5 |
+
type = materialType.image,
|
| 6 |
+
source = "B4B2BF8F09344DCE8ED5247BADEAA971/背景装饰36.png"
|
| 7 |
+
}
|
| 8 |
+
},
|
| 9 |
+
entity,
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
function InfoSticker:new()
|
| 13 |
+
local o = {}
|
| 14 |
+
setmetatable(o, self)
|
| 15 |
+
self.__index = self
|
| 16 |
+
local viewer = director:getViewer()
|
| 17 |
+
local width = viewer:getWidth()
|
| 18 |
+
local scale = width / 720.0 * 1.000000
|
| 19 |
+
o.entity = scene:createEntity("infoSticker" .. math.random())
|
| 20 |
+
o.entity:getTransform():setScale(scale)
|
| 21 |
+
o.entity:addSpriteComponent():getSprite():setTexture(director:getTextureById(0))
|
| 22 |
+
local controller = o.entity:addAnimatorComponent():getController()
|
| 23 |
+
controller:setFps(16)
|
| 24 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 0), 5)
|
| 25 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeInAnimation", curve, 0.2, false, 1.0)
|
| 26 |
+
local curve = EffectSdk.Line2D.create(EffectSdk.Vec2(0, 1), -5)
|
| 27 |
+
EffectSdk.AnimationFactory.createScaleAnimation(controller, "easeOutAnimation", curve, 0.2, false, 1.0)
|
| 28 |
+
return o
|
| 29 |
+
end
|