Skip to content

Commit

Permalink
教程关完美pass的文本样式改为双色闪烁
Browse files Browse the repository at this point in the history
  • Loading branch information
MrZ626 committed Sep 22, 2024
1 parent 4352f22 commit a9d445d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
10 changes: 4 additions & 6 deletions assets/game/mode/brik/interior/tutorial/1.basic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ return {
spawnDelay=260,
dropDelay=1e99,
lockDelay=1e99,
deathDelay=0,
nextSlot=0,
holdSlot=0,
seqType='none',
Expand Down Expand Up @@ -110,7 +109,6 @@ return {
"setc quest,2",
"quest2:",
"setc signal,nil",
"clearNext",
"pushNext O",
{cmd=function(P)
local d={
Expand All @@ -135,7 +133,6 @@ return {
"setc quest,3",
"quest3:",
"setc signal,nil",
"clearNext",
"pushNext T",
{cmd=function(P)
local d={
Expand All @@ -155,7 +152,6 @@ return {
"setc quest,4",
"quest4:",
"setc signal,nil",
"clearNext",
"pushNext J",
{cmd=function(P)
local d={
Expand All @@ -176,7 +172,6 @@ return {
"setc quest,5",
"quest5:",
"setc signal,nil",
"clearNext",
"pushNext I",
{cmd=function(P)
local d={
Expand All @@ -196,7 +191,10 @@ return {
"sfx beep_rise",

{cmd=function(P)
P:say{duration='6.26s',text="@tutorial_pass",size=60,k=2,type='bold',style='beat',c=P.modeData.allFinesse and COLOR.lY or COLOR.lG,y=-30}
P:say{duration='6.26s',text="@tutorial_pass",size=60,k=2,type='bold',style='beat',c=COLOR.lG,y=-30}
if P.modeData.allFinesse then
P:say{duration='6.26s',text="@tutorial_pass",size=60,k=2,type='bold',style='flicker',c=COLOR.Y,y=-30}
end
PROGRESS.setTutorialPassed(1,P.modeData.allFinesse and 2 or 1)
P:finish('win')
end},
Expand Down
6 changes: 4 additions & 2 deletions assets/game/mode/brik/interior/tutorial/2.sequence.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ return {
spawnDelay=260,
dropDelay=1e99,
lockDelay=1e99,
deathDelay=0,
nextSlot=0,
holdSlot=0,
seqType='none',
Expand Down Expand Up @@ -206,7 +205,10 @@ return {
"jeq quest4,signal,false",
"sfx beep_rise",
{cmd=function(P)
P:say{duration='6.26s',text="@tutorial_pass",size=60,k=2,type='bold',style='beat',c=P.modeData.extra and COLOR.lY or COLOR.lG,y=-30}
P:say{duration='6.26s',text="@tutorial_pass",size=60,k=2,type='bold',style='beat',c=COLOR.lG,y=-30}
if P.modeData.extra then
P:say{duration='6.26s',text="@tutorial_pass",size=60,k=2,type='bold',style='flicker',c=COLOR.Y,y=-30}
end
PROGRESS.setTutorialPassed(2,P.modeData.extra and 2 or 1)
P:finish('win')
end},
Expand Down
6 changes: 4 additions & 2 deletions assets/game/mode/brik/interior/tutorial/3.stackBasic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ return {
spawnDelay=62,
dropDelay=1e99,
lockDelay=1e99,
deathDelay=0,
nextSlot=3,
holdSlot=1,
soundEvent={
Expand Down Expand Up @@ -48,7 +47,10 @@ return {
P:finish('win')
local normalClear=P.stat.clears[4]<MATH.sum(P.stat.clears)
PROGRESS.setTutorialPassed(3,normalClear and 1 or 2)
P:say{duration='6.26s',text="@tutorial_pass",size=60,k=2,type='bold',style='beat',c=normalClear and COLOR.lG or COLOR.lY,y=-30}
P:say{duration='6.26s',text="@tutorial_pass",size=60,k=2,type='bold',style='beat',c=COLOR.lG,y=-30}
if not normalClear then
P:say{duration='6.26s',text="@tutorial_pass",size=60,k=2,type='bold',style='flicker',c=COLOR.Y,y=-30}
end
else
local unstabality=0

Expand Down

0 comments on commit a9d445d

Please sign in to comment.