mirror of
https://github.com/Rezmason/matrix.git
synced 2026-04-14 12:29:30 -07:00
Updated the playdate glyph textures and increased their cycle speed a little bit
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
@@ -17,7 +17,7 @@ local numColumns <const> = floor(screenWidth / glyphWidth)
|
||||
local numRows <const> = floor(screenHeight / glyphWidth)
|
||||
local numCells <const> = numColumns * numRows
|
||||
|
||||
local numStandardGlyphs <const> = 133
|
||||
local numStandardGlyphs <const> = 135
|
||||
local numPDGlyphs <const> = 10
|
||||
local numTotalGlyphs <const> = numStandardGlyphs + numPDGlyphs
|
||||
local numFades <const> = 32
|
||||
@@ -115,7 +115,7 @@ function playdate.update()
|
||||
mustDraw = true
|
||||
end
|
||||
|
||||
cell.glyphCycle = cell.glyphCycle + delta * 2
|
||||
cell.glyphCycle = cell.glyphCycle + delta * 5
|
||||
if cell.glyphCycle > 1 then
|
||||
cell.glyphCycle = cell.glyphCycle % 1
|
||||
local lastGlyphIndex = cell.glyphIndex
|
||||
|
||||
Reference in New Issue
Block a user