Skip to content

Commit

Permalink
调整exterior暂停界面文本特效
Browse files Browse the repository at this point in the history
  • Loading branch information
MrZ626 committed Jul 12, 2024
1 parent d4060e4 commit a3f8dd5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions assets/scene/pause_out.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
local sin=math.sin
local floor=math.floor

---@type Zenitha.Scene
local scene={}
Expand Down Expand Up @@ -72,11 +71,11 @@ function scene.draw()

local t=love.timer.getTime()
GC.setColorMask(true,false,false,true)
GC.mDraw(pauseText,floor(sin(3*t)*2)/1.2,floor(sin(5*t)*2)/1.2)
GC.mDraw(pauseText,(sin(3*t)*2)*textScale/2.6,(sin(5*t)*2)*textScale/2.6)
GC.setColorMask(false,true,false,true)
GC.mDraw(pauseText,floor(sin(6.5*t)*2)/1.2,floor(sin(2*t)*2)/1.2)
GC.mDraw(pauseText,(sin(6.5*t)*2)*textScale/2.6,(sin(2*t)*2)*textScale/2.6)
GC.setColorMask(false,false,true,true)
GC.mDraw(pauseText,floor(sin(3.5*t)*2)/1.2,floor(sin(5.5*t)*2)/1.2)
GC.mDraw(pauseText,(sin(3.5*t)*2)*textScale/2.6,(sin(5.5*t)*2)*textScale/2.6)
GC.setColorMask()
end

Expand Down

0 comments on commit a3f8dd5

Please sign in to comment.