Skip to content

Commit

Permalink
补充新的素材和切图数据
Browse files Browse the repository at this point in the history
框架跟进
  • Loading branch information
MrZ626 committed Jan 3, 2025
1 parent 0597df4 commit ec7901b
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Zenitha
Submodule Zenitha updated 1 files
+2 −1 graphicExtend.lua
89 changes: 78 additions & 11 deletions main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,9 @@ do -- Image & Texture & Quad
end)(),
ui=path('ui.png'),
doodle=path('doodle.png'),
item=path('item.png'),
world={
default=path('world_default.png'),
default=path('game.png'),
},
bg_anim={
path('bg_anim/1.png'),
Expand All @@ -133,21 +134,87 @@ do -- Image & Texture & Quad
-- Quad generator based on 128x128 grid
local function q(x,y,w,h) return GC.newQuad(x*128,y*128,(w or 1)*128,(h or w or 1)*128,1536,1536) end
QUAD={
ui={
title={
skin =q(0,0),
doodle =q(0,1),
gacha =q(0,2),
sesttings =q(0,3),
subscribe =q(0,4),
lue={
fumo=q(1,0),
squashed=q(1,1),
dead=q(1,2),
rip={
q(1,3.0, 1,.5),
q(1,3.5, 1,.5),
q(1,4.0, 1,.5),
q(1,4.5, 1,.5),
q(1,5.0, 1,.5),
q(1,5.5, 1,.5),
},
ghost=q(1,6, .5),
}
},
gacha={
tile={
q(2,0, 2,1),
q(2,1, 2,1),
q(2,2, 2,1),
q(2,3, 2,1),
},
dust={
q(2.0,4.0, .5,.5),
q(2.5,4.0, .5,.5),
q(2.0,4.5, .5,.5),
q(2.5,4.5, .5,.5),
q(2.0,5.0, .5, 1),
q(2.5,5.0, .5, 1),
q(3.0,4.0, 1, 1),
},
},
doodle={
button =q(4,0),
equipped =q(4,1, 2,2),
},
},
world={
tile={---@type love.Quad[]
q(0,0,2),
q(0,2,2),
q(0,4,2),
q(0,6,2),
q(0,8,2),
q(0,10,2),
q(0,0, 2),
q(0,2, 2),
q(0,4, 2),
q(0,6, 2),
q(0,8, 2),
q(0,10, 2),
},
moveB =q(2 ,0 ,0.5),
moveF =q(2 ,0.5,0.5),
warn =q(2.5,0 ,0.5),
question =q(2.5,0.5,0.5),
moveB =q(2.0, 0,.5),
moveF =q(2.0, .5,.5),
warn =q(2.5, 0,.5),
question =q(2.5, .5,.5),
hospital =q(3,0),
exit =q(2,1),
path =q(2,2, .5,.25),
unknown =q(4,0, 1,2),
start =q(5,0, 1,2),
finish =q(6,0, 1,2),
},
item={
firework =q(0,0),
knife =q(0,1),
balm =q(0,2),
pants =q(0,3),
combo =q(0,4),
mushroom =q(0,5),
cat =q(0,6),
dice4 =q(0,7),
gameboy =q(0,8),
error =q(0,9),
gas_tank =q(0,10),

wheelchair_chair =q(10,0, 2,2),
wheelchair_wheel =q(11,2),
unfreeze_ice =q(10,2),
unfreeze_hua =q(10,3),
},
doodle={
smile =q(0,0),
Expand Down

0 comments on commit ec7901b

Please sign in to comment.