地三鲜 vs 茄盒
This commit is contained in:
parent
47c290e249
commit
5f21819e85
@ -259,17 +259,19 @@ local function atlas(assets, batch, ____debug, game, ____bindingPattern0, ____bi
|
||||
self.color.red = 255
|
||||
self.color.green = 255
|
||||
self.color.blue = 255
|
||||
self.z = 999
|
||||
local parent = self.parent
|
||||
if parent and parent.remove and parent.attach then
|
||||
parent:remove(self)
|
||||
parent:attach(self)
|
||||
end
|
||||
elseif i == 0 and #inventory == 0 then
|
||||
self.color.red = 63
|
||||
self.color.green = 63
|
||||
self.color.blue = 63
|
||||
self.z = 0
|
||||
else
|
||||
self.color.red = 127
|
||||
self.color.green = 127
|
||||
self.color.blue = 127
|
||||
self.z = i
|
||||
end
|
||||
end)
|
||||
end
|
||||
@ -407,25 +409,39 @@ local function atlas(assets, batch, ____debug, game, ____bindingPattern0, ____bi
|
||||
if ____cond60 then
|
||||
return {
|
||||
__TS__New(STText,
|
||||
{ anchor = { y = 0.5 }, position = { x = 10 }, font =
|
||||
assets["f$helloplayer"], content = text
|
||||
.generic_disabled }):addTicker(index == 1 and
|
||||
{
|
||||
anchor = { y = 0.5 },
|
||||
position = { x = 10 },
|
||||
font =
|
||||
assets["f$helloplayer"],
|
||||
content = text
|
||||
.generic_disabled
|
||||
}):addTicker(index == 1 and
|
||||
(function(self)
|
||||
self.alpha.value = accessor["$option_music_enabled"] and
|
||||
self.alpha.value = accessor
|
||||
["$option_music_enabled"] and
|
||||
0 or 1
|
||||
end) or (function(self)
|
||||
self.alpha.value = accessor["$option_sound_enabled"] and
|
||||
self.alpha.value = accessor
|
||||
["$option_sound_enabled"] and
|
||||
0 or 1
|
||||
end)),
|
||||
__TS__New(STAnimation,
|
||||
{ anchor = { y = 0.5 }, position = { x = 10, y = -2 }, scale = { x = 2 }, frames =
|
||||
assets["im$volume"] }):addTicker(index == 1 and
|
||||
{
|
||||
anchor = { y = 0.5 },
|
||||
position = { x = 10, y = -2 },
|
||||
scale = { x = 2 },
|
||||
frames =
|
||||
assets["im$volume"]
|
||||
}):addTicker(index == 1 and
|
||||
(function(self)
|
||||
self.alpha.value = accessor["$option_music_enabled"] and
|
||||
self.alpha.value = accessor
|
||||
["$option_music_enabled"] and
|
||||
1 or 0
|
||||
self.frame = accessor["$option_music"]
|
||||
end) or (function(self)
|
||||
self.alpha.value = accessor["$option_sound_enabled"] and
|
||||
self.alpha.value = accessor
|
||||
["$option_sound_enabled"] and
|
||||
1 or 0
|
||||
self.frame = accessor["$option_sound"]
|
||||
end))
|
||||
@ -435,8 +451,12 @@ local function atlas(assets, batch, ____debug, game, ____bindingPattern0, ____bi
|
||||
(____switch60 == 4 or ____switch60 == 5)
|
||||
if ____cond60 then
|
||||
return { __TS__New(STText,
|
||||
{ anchor = { y = 0.5 }, position = { x = 10 }, font =
|
||||
assets["f$helloplayer"] }):addTicker(index == 4 and
|
||||
{
|
||||
anchor = { y = 0.5 },
|
||||
position = { x = 10 },
|
||||
font =
|
||||
assets["f$helloplayer"]
|
||||
}):addTicker(index == 4 and
|
||||
(function(self)
|
||||
self.content = ({ text.shaders1, text.shaders2, text.shaders3 })
|
||||
[accessor["$option_shaders"] + 1]
|
||||
@ -670,8 +690,13 @@ local function atlas(assets, batch, ____debug, game, ____bindingPattern0, ____bi
|
||||
children = {
|
||||
__TS__New(STSprite, { image = assets["im$ov_toast"], anchor = 0.5 }),
|
||||
__TS__New(STText,
|
||||
{ position = { y = -14 }, anchor = { x = 0.5 }, justify = 0.5, font = assets
|
||||
["f$helloplayer"] }):addTicker(function(self)
|
||||
{
|
||||
position = { y = -14 },
|
||||
anchor = { x = 0.5 },
|
||||
justify = 0.5,
|
||||
font = assets
|
||||
["f$helloplayer"]
|
||||
}):addTicker(function(self)
|
||||
if atlas.target == "save" then
|
||||
self.content = text.save1
|
||||
else
|
||||
|
@ -259,17 +259,19 @@ local function atlas(assets, batch, ____debug, game, ____bindingPattern0, ____bi
|
||||
self.color.red = 255
|
||||
self.color.green = 255
|
||||
self.color.blue = 255
|
||||
self.z = 999
|
||||
local parent = self.parent
|
||||
if parent and parent.remove and parent.attach then
|
||||
parent:remove(self)
|
||||
parent:attach(self)
|
||||
end
|
||||
elseif i == 0 and #inventory == 0 then
|
||||
self.color.red = 63
|
||||
self.color.green = 63
|
||||
self.color.blue = 63
|
||||
self.z = 0
|
||||
else
|
||||
self.color.red = 127
|
||||
self.color.green = 127
|
||||
self.color.blue = 127
|
||||
self.z = i
|
||||
end
|
||||
end)
|
||||
end
|
||||
@ -407,25 +409,39 @@ local function atlas(assets, batch, ____debug, game, ____bindingPattern0, ____bi
|
||||
if ____cond60 then
|
||||
return {
|
||||
__TS__New(STText,
|
||||
{ anchor = { y = 0.5 }, position = { x = 10 }, font =
|
||||
assets["f$helloplayer"], content = text
|
||||
.generic_disabled }):addTicker(index == 1 and
|
||||
{
|
||||
anchor = { y = 0.5 },
|
||||
position = { x = 10 },
|
||||
font =
|
||||
assets["f$helloplayer"],
|
||||
content = text
|
||||
.generic_disabled
|
||||
}):addTicker(index == 1 and
|
||||
(function(self)
|
||||
self.alpha.value = accessor["$option_music_enabled"] and
|
||||
self.alpha.value = accessor
|
||||
["$option_music_enabled"] and
|
||||
0 or 1
|
||||
end) or (function(self)
|
||||
self.alpha.value = accessor["$option_sound_enabled"] and
|
||||
self.alpha.value = accessor
|
||||
["$option_sound_enabled"] and
|
||||
0 or 1
|
||||
end)),
|
||||
__TS__New(STAnimation,
|
||||
{ anchor = { y = 0.5 }, position = { x = 10, y = -2 }, scale = { x = 2 }, frames =
|
||||
assets["im$volume"] }):addTicker(index == 1 and
|
||||
{
|
||||
anchor = { y = 0.5 },
|
||||
position = { x = 10, y = -2 },
|
||||
scale = { x = 2 },
|
||||
frames =
|
||||
assets["im$volume"]
|
||||
}):addTicker(index == 1 and
|
||||
(function(self)
|
||||
self.alpha.value = accessor["$option_music_enabled"] and
|
||||
self.alpha.value = accessor
|
||||
["$option_music_enabled"] and
|
||||
1 or 0
|
||||
self.frame = accessor["$option_music"]
|
||||
end) or (function(self)
|
||||
self.alpha.value = accessor["$option_sound_enabled"] and
|
||||
self.alpha.value = accessor
|
||||
["$option_sound_enabled"] and
|
||||
1 or 0
|
||||
self.frame = accessor["$option_sound"]
|
||||
end))
|
||||
@ -435,8 +451,12 @@ local function atlas(assets, batch, ____debug, game, ____bindingPattern0, ____bi
|
||||
(____switch60 == 4 or ____switch60 == 5)
|
||||
if ____cond60 then
|
||||
return { __TS__New(STText,
|
||||
{ anchor = { y = 0.5 }, position = { x = 10 }, font =
|
||||
assets["f$helloplayer"] }):addTicker(index == 4 and
|
||||
{
|
||||
anchor = { y = 0.5 },
|
||||
position = { x = 10 },
|
||||
font =
|
||||
assets["f$helloplayer"]
|
||||
}):addTicker(index == 4 and
|
||||
(function(self)
|
||||
self.content = ({ text.shaders1, text.shaders2, text.shaders3 })
|
||||
[accessor["$option_shaders"] + 1]
|
||||
@ -670,8 +690,13 @@ local function atlas(assets, batch, ____debug, game, ____bindingPattern0, ____bi
|
||||
children = {
|
||||
__TS__New(STSprite, { image = assets["im$ov_toast"], anchor = 0.5 }),
|
||||
__TS__New(STText,
|
||||
{ position = { y = -14 }, anchor = { x = 0.5 }, justify = 0.5, font = assets
|
||||
["f$helloplayer"] }):addTicker(function(self)
|
||||
{
|
||||
position = { y = -14 },
|
||||
anchor = { x = 0.5 },
|
||||
justify = 0.5,
|
||||
font = assets
|
||||
["f$helloplayer"]
|
||||
}):addTicker(function(self)
|
||||
if atlas.target == "save" then
|
||||
self.content = text.save1
|
||||
else
|
||||
|
@ -259,17 +259,19 @@ local function atlas(assets, batch, ____debug, game, ____bindingPattern0, ____bi
|
||||
self.color.red = 255
|
||||
self.color.green = 255
|
||||
self.color.blue = 255
|
||||
self.z = 999
|
||||
local parent = self.parent
|
||||
if parent and parent.remove and parent.attach then
|
||||
parent:remove(self)
|
||||
parent:attach(self)
|
||||
end
|
||||
elseif i == 0 and #inventory == 0 then
|
||||
self.color.red = 63
|
||||
self.color.green = 63
|
||||
self.color.blue = 63
|
||||
self.z = 0
|
||||
else
|
||||
self.color.red = 127
|
||||
self.color.green = 127
|
||||
self.color.blue = 127
|
||||
self.z = i
|
||||
end
|
||||
end)
|
||||
end
|
||||
@ -407,25 +409,39 @@ local function atlas(assets, batch, ____debug, game, ____bindingPattern0, ____bi
|
||||
if ____cond60 then
|
||||
return {
|
||||
__TS__New(STText,
|
||||
{ anchor = { y = 0.5 }, position = { x = 10 }, font =
|
||||
assets["f$helloplayer"], content = text
|
||||
.generic_disabled }):addTicker(index == 1 and
|
||||
{
|
||||
anchor = { y = 0.5 },
|
||||
position = { x = 10 },
|
||||
font =
|
||||
assets["f$helloplayer"],
|
||||
content = text
|
||||
.generic_disabled
|
||||
}):addTicker(index == 1 and
|
||||
(function(self)
|
||||
self.alpha.value = accessor["$option_music_enabled"] and
|
||||
self.alpha.value = accessor
|
||||
["$option_music_enabled"] and
|
||||
0 or 1
|
||||
end) or (function(self)
|
||||
self.alpha.value = accessor["$option_sound_enabled"] and
|
||||
self.alpha.value = accessor
|
||||
["$option_sound_enabled"] and
|
||||
0 or 1
|
||||
end)),
|
||||
__TS__New(STAnimation,
|
||||
{ anchor = { y = 0.5 }, position = { x = 10, y = -2 }, scale = { x = 2 }, frames =
|
||||
assets["im$volume"] }):addTicker(index == 1 and
|
||||
{
|
||||
anchor = { y = 0.5 },
|
||||
position = { x = 10, y = -2 },
|
||||
scale = { x = 2 },
|
||||
frames =
|
||||
assets["im$volume"]
|
||||
}):addTicker(index == 1 and
|
||||
(function(self)
|
||||
self.alpha.value = accessor["$option_music_enabled"] and
|
||||
self.alpha.value = accessor
|
||||
["$option_music_enabled"] and
|
||||
1 or 0
|
||||
self.frame = accessor["$option_music"]
|
||||
end) or (function(self)
|
||||
self.alpha.value = accessor["$option_sound_enabled"] and
|
||||
self.alpha.value = accessor
|
||||
["$option_sound_enabled"] and
|
||||
1 or 0
|
||||
self.frame = accessor["$option_sound"]
|
||||
end))
|
||||
@ -435,8 +451,12 @@ local function atlas(assets, batch, ____debug, game, ____bindingPattern0, ____bi
|
||||
(____switch60 == 4 or ____switch60 == 5)
|
||||
if ____cond60 then
|
||||
return { __TS__New(STText,
|
||||
{ anchor = { y = 0.5 }, position = { x = 10 }, font =
|
||||
assets["f$helloplayer"] }):addTicker(index == 4 and
|
||||
{
|
||||
anchor = { y = 0.5 },
|
||||
position = { x = 10 },
|
||||
font =
|
||||
assets["f$helloplayer"]
|
||||
}):addTicker(index == 4 and
|
||||
(function(self)
|
||||
self.content = ({ text.shaders1, text.shaders2, text.shaders3 })
|
||||
[accessor["$option_shaders"] + 1]
|
||||
@ -670,8 +690,13 @@ local function atlas(assets, batch, ____debug, game, ____bindingPattern0, ____bi
|
||||
children = {
|
||||
__TS__New(STSprite, { image = assets["im$ov_toast"], anchor = 0.5 }),
|
||||
__TS__New(STText,
|
||||
{ position = { y = -14 }, anchor = { x = 0.5 }, justify = 0.5, font = assets
|
||||
["f$helloplayer"] }):addTicker(function(self)
|
||||
{
|
||||
position = { y = -14 },
|
||||
anchor = { x = 0.5 },
|
||||
justify = 0.5,
|
||||
font = assets
|
||||
["f$helloplayer"]
|
||||
}):addTicker(function(self)
|
||||
if atlas.target == "save" then
|
||||
self.content = text.save1
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user