mirror of
https://gitea.com/SweetSea-ButImNotSweet/tromi_mobile.git
synced 2025-01-08 17:33:09 +08:00
Update virtual control texture
This commit is contained in:
@@ -54,7 +54,8 @@ Navigate to where you put ``tromi_mobile.love`` in the File manager (the one you
|
||||
|
||||
- [ ] Add a way to export ~~replay~~ data for Android > 11
|
||||
- [x] Revert ``bitser`` with ``binser`` (if and only if I can make it works)
|
||||
- [ ] Design a new on-screen buttons skin (the current one is come from [C₂₉H₂₅N₃O₅](https://github.com/C29H25N3O5), I am aware that it's not fit to Tromi's design language)
|
||||
- [x] Design a new on-screen buttons skin (the current one is come from [C₂₉H₂₅N₃O₅](https://github.com/C29H25N3O5), I am aware that it's not fit to Tromi's design language)
|
||||
- [ ] Updating on-screen control configuration screen
|
||||
- [ ] (Low priority) Design a new menu screen
|
||||
|
||||
# License (GNU GPLv3)
|
||||
|
||||
@@ -18,20 +18,32 @@ end
|
||||
ShowLoadingText('virtual key skin')
|
||||
local empty_quad
|
||||
-- A table containing quads used to draw icons for virtual control system.
|
||||
-- local virtual_quad=setmetatable((function()
|
||||
-- local t={}
|
||||
-- local w=180
|
||||
-- empty_quad=gc_newQuad(0,0,1,1,5*w,7*w)
|
||||
-- for i,name in next,{
|
||||
-- 'left','right','up','down','',
|
||||
-- 'rotate_right','rotate_left','','','',
|
||||
-- '','','','','',
|
||||
-- '','','','','',
|
||||
-- '','','menu_back','','',
|
||||
-- '','','','','',
|
||||
-- '','','','','menu_decide',
|
||||
-- } do if #name>0 then t[name]=gc_newQuad((i-1)%5*w,math.floor((i-1)/5)*w,w,w,5*w,7*w) end end
|
||||
-- t.rotate_right2, t.rotate_left2 = t.rotate_right, t.rotate_left
|
||||
-- return t
|
||||
-- end)(),{
|
||||
-- __index=function() return empty_quad end
|
||||
-- })
|
||||
local virtual_quad=setmetatable((function()
|
||||
local t={}
|
||||
local w=180
|
||||
empty_quad=gc_newQuad(0,0,1,1,5*w,7*w)
|
||||
empty_quad=gc_newQuad(0,0,1,1,5*w,2*w)
|
||||
for i,name in next,{
|
||||
'left','right','up','down','',
|
||||
'rotate_right','rotate_left','','','',
|
||||
'','','','','',
|
||||
'','','','','',
|
||||
'','','menu_back','','',
|
||||
'','','','','',
|
||||
'','','','','menu_decide',
|
||||
} do if #name>0 then t[name]=gc_newQuad((i-1)%5*w,math.floor((i-1)/5)*w,w,w,5*w,7*w) end end
|
||||
t.rotate_right2, t.rotate_left2 = t.rotate_right, t.rotate_left
|
||||
'left','right','up','down','restart',
|
||||
'rotate_right','rotate_left','rotate_right2','rotate_left2','',
|
||||
} do if #name>0 then t[name]=gc_newQuad((i-1)%5*w,math.floor((i-1)/5)*w,w,w,5*w,2*w) end end
|
||||
return t
|
||||
end)(),{
|
||||
__index=function() return empty_quad end
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 22 KiB |
BIN
game/vctrlTexture_legacy.png
Normal file
BIN
game/vctrlTexture_legacy.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 46 KiB |
Reference in New Issue
Block a user