0.8.2+α
This commit is contained in:
BIN
VOICE/egg_1.ogg
Normal file
BIN
VOICE/egg_1.ogg
Normal file
Binary file not shown.
BIN
VOICE/egg_2.ogg
Normal file
BIN
VOICE/egg_2.ogg
Normal file
Binary file not shown.
2
conf.lua
2
conf.lua
@@ -1,5 +1,5 @@
|
|||||||
math.randomseed(os.time())
|
math.randomseed(os.time())
|
||||||
gameVersion="Alpha V0.8.2"
|
gameVersion="Alpha V0.8.2+"
|
||||||
function love.conf(t)
|
function love.conf(t)
|
||||||
t.identity="Techmino"--Save directory name
|
t.identity="Techmino"--Save directory name
|
||||||
t.version="11.1"
|
t.version="11.1"
|
||||||
|
|||||||
@@ -1373,7 +1373,6 @@ modes.c4wtrain={
|
|||||||
end,
|
end,
|
||||||
mesDisp=function(P,dx,dy)
|
mesDisp=function(P,dx,dy)
|
||||||
setFont(45)
|
setFont(45)
|
||||||
mStr(max(100-P.stat.row,0),-82,220)
|
|
||||||
mStr(P.combo,-82,310)
|
mStr(P.combo,-82,310)
|
||||||
mStr(P.modeData.point,-82,400)
|
mStr(P.modeData.point,-82,400)
|
||||||
mDraw(drawableText.combo,-82,358)
|
mDraw(drawableText.combo,-82,358)
|
||||||
|
|||||||
BIN
image/miya/ch.png
Normal file
BIN
image/miya/ch.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 74 KiB |
BIN
image/miya/f1.png
Normal file
BIN
image/miya/f1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 KiB |
BIN
image/miya/f2.png
Normal file
BIN
image/miya/f2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.4 KiB |
BIN
image/miya/f3.png
Normal file
BIN
image/miya/f3.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
BIN
image/miya/f4.png
Normal file
BIN
image/miya/f4.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
8
list.lua
8
list.lua
@@ -97,6 +97,7 @@ voiceName={
|
|||||||
"win","lose",
|
"win","lose",
|
||||||
"bye",
|
"bye",
|
||||||
"nya","voc_nya",
|
"nya","voc_nya",
|
||||||
|
"egg",
|
||||||
}
|
}
|
||||||
voiceList={
|
voiceList={
|
||||||
zspin={"zspin_1","zspin_2","zspin_3"},
|
zspin={"zspin_1","zspin_2","zspin_3"},
|
||||||
@@ -121,6 +122,7 @@ voiceList={
|
|||||||
bye={"bye_1","bye_2"},
|
bye={"bye_1","bye_2"},
|
||||||
nya={"nya_1","nya_2","nya_3","nya_4"},
|
nya={"nya_1","nya_2","nya_3","nya_4"},
|
||||||
voc_nya={"nya_11","nya_12","nya_13","nya_21","nya_22"},
|
voc_nya={"nya_11","nya_12","nya_13","nya_21","nya_22"},
|
||||||
|
egg={"egg_1","egg_2"},
|
||||||
}
|
}
|
||||||
|
|
||||||
musicID={
|
musicID={
|
||||||
@@ -341,10 +343,10 @@ Widget={
|
|||||||
mode={
|
mode={
|
||||||
up= newButton(1000, 210,200,140,C.white, 75,pressKey("up"), function()return modeSel==1 end),
|
up= newButton(1000, 210,200,140,C.white, 75,pressKey("up"), function()return modeSel==1 end),
|
||||||
down= newButton(1000, 430,200,140,C.white, 75,pressKey("down"), function()return modeSel==#modeID end),
|
down= newButton(1000, 430,200,140,C.white, 75,pressKey("down"), function()return modeSel==#modeID end),
|
||||||
left= newButton(190, 160,100,80, C.white, 35,pressKey("left"), function()return levelSel==1 end),
|
left= newButton(190, 150,100,80, C.white, 35,pressKey("left"), function()return levelSel==1 end),
|
||||||
right= newButton(350, 160,100,80, C.white, 35,pressKey("right"), function()return levelSel==#modes[modeID[modeSel]].level end),
|
right= newButton(350, 150,100,80, C.white, 35,pressKey("right"), function()return levelSel==#modes[modeID[modeSel]].level end),
|
||||||
start= newButton(1000, 600,250,100,C.lightGreen, 45,function()scene.push()loadGame(modeSel,levelSel)end),
|
start= newButton(1000, 600,250,100,C.lightGreen, 45,function()scene.push()loadGame(modeSel,levelSel)end),
|
||||||
custom= newButton(275, 420,200,90, C.lightYellow, 35,function()scene.push()scene.swapTo("custom")end),
|
custom= newButton(275, 460,200,90, C.lightYellow, 35,function()scene.push()scene.swapTo("custom")end),
|
||||||
back= newButton(640, 630,230,90, C.white, 40,scene.back),
|
back= newButton(640, 630,230,90, C.white, 40,scene.back),
|
||||||
},
|
},
|
||||||
music={
|
music={
|
||||||
|
|||||||
35
main.lua
35
main.lua
@@ -86,8 +86,8 @@ if sys.getPowerInfo()~="unknown"then
|
|||||||
if state=="nobattery"then
|
if state=="nobattery"then
|
||||||
gc.setColor(1,1,1)
|
gc.setColor(1,1,1)
|
||||||
gc.setLineWidth(2)
|
gc.setLineWidth(2)
|
||||||
gc.line(74,5,99,22)
|
gc.line(74,5,100,22)
|
||||||
elseif pow<100 then
|
else
|
||||||
if charging then gc.setColor(0,1,0)
|
if charging then gc.setColor(0,1,0)
|
||||||
elseif pow>50 then gc.setColor(1,1,1)
|
elseif pow>50 then gc.setColor(1,1,1)
|
||||||
elseif pow>26 then gc.setColor(1,1,0)
|
elseif pow>26 then gc.setColor(1,1,0)
|
||||||
@@ -95,14 +95,16 @@ if sys.getPowerInfo()~="unknown"then
|
|||||||
else gc.setColor(.5,0,1)
|
else gc.setColor(.5,0,1)
|
||||||
end
|
end
|
||||||
gc.rectangle("fill",76,6,pow*.22,14)
|
gc.rectangle("fill",76,6,pow*.22,14)
|
||||||
setFont(14)
|
if pow<100 then
|
||||||
gc.setColor(0,0,0)
|
setFont(14)
|
||||||
gc.print(pow,77,2)
|
gc.setColor(0,0,0)
|
||||||
gc.print(pow,77,4)
|
gc.print(pow,77,2)
|
||||||
gc.print(pow,79,2)
|
gc.print(pow,77,4)
|
||||||
gc.print(pow,79,4)
|
gc.print(pow,79,2)
|
||||||
gc.setColor(1,1,1)
|
gc.print(pow,79,4)
|
||||||
gc.print(pow,78,3)
|
gc.setColor(1,1,1)
|
||||||
|
gc.print(pow,78,3)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
gc.draw(batteryImage,73,3)
|
gc.draw(batteryImage,73,3)
|
||||||
setFont(25)
|
setFont(25)
|
||||||
@@ -368,6 +370,19 @@ function keyDown.draw(key)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function mouseDown.setting_sound(x,y,k)
|
||||||
|
if Timer()-sel>5 and x>780 and x<980 and y>470 then
|
||||||
|
VOICE("egg")
|
||||||
|
sel=Timer()
|
||||||
|
end
|
||||||
|
end
|
||||||
|
function touchDown.setting_sound(id,x,y)
|
||||||
|
if Timer()-sel>5 and x>780 and x<980 and y>470 then
|
||||||
|
VOICE("egg")
|
||||||
|
sel=Timer()
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
function keyDown.setting_key(key)
|
function keyDown.setting_key(key)
|
||||||
if key=="escape"then
|
if key=="escape"then
|
||||||
if keyboardSetting then
|
if keyboardSetting then
|
||||||
|
|||||||
17
paint.lua
17
paint.lua
@@ -276,10 +276,11 @@ function Pnt.mode()
|
|||||||
setFont(35)
|
setFont(35)
|
||||||
local lv=modes[modeID[modeSel]].level[levelSel]
|
local lv=modes[modeID[modeSel]].level[levelSel]
|
||||||
gc.setColor(modeLevelColor[lv]or color.white)
|
gc.setColor(modeLevelColor[lv]or color.white)
|
||||||
mStr(lv,270,215)
|
mStr(lv,270,200)
|
||||||
setFont(25)
|
setFont(25)
|
||||||
gc.setColor(color.white)
|
gc.setColor(color.white)
|
||||||
mStr(text.modeInfo[modeID[modeSel]],270,255)
|
mStr(text.modeInfo[modeID[modeSel]],270,240)
|
||||||
|
|
||||||
setFont(75)
|
setFont(75)
|
||||||
gc.setColor(color.grey)
|
gc.setColor(color.grey)
|
||||||
mStr(text.modeName[modeSel],643,273)
|
mStr(text.modeName[modeSel],643,273)
|
||||||
@@ -476,8 +477,18 @@ function Pnt.setting_graphic()
|
|||||||
gc.draw(blockSkin[7-int(Timer()*2)%7],890,390,nil,2)
|
gc.draw(blockSkin[7-int(Timer()*2)%7],890,390,nil,2)
|
||||||
end
|
end
|
||||||
function Pnt.setting_sound()
|
function Pnt.setting_sound()
|
||||||
gc.setColor(1,1,1)
|
gc.setColor(1,1,1,.8)
|
||||||
mDraw(drawableText.setting_sound,640,15)
|
mDraw(drawableText.setting_sound,640,15)
|
||||||
|
local t=Timer()
|
||||||
|
local x,y=790,370+10*sin(t*.4)
|
||||||
|
gc.translate(x,y)
|
||||||
|
gc.draw(miya_ch,0,0)
|
||||||
|
gc.setColor(1,1,1,.7)
|
||||||
|
gc.draw(miya_f1,4,47+4*sin(t*.9))
|
||||||
|
gc.draw(miya_f2,42,107+5*sin(t))
|
||||||
|
gc.draw(miya_f3,93,126+3*sin(t*.7))
|
||||||
|
gc.draw(miya_f4,129,98+3*sin(t*.7))
|
||||||
|
gc.translate(-x,-y)
|
||||||
end
|
end
|
||||||
function Pnt.setting_key()
|
function Pnt.setting_key()
|
||||||
local a=.3+sin(Timer()*15)*.1
|
local a=.3+sin(Timer()*15)*.1
|
||||||
|
|||||||
@@ -945,9 +945,9 @@ function player.draw_norm(P)
|
|||||||
end--Draw starting counter
|
end--Draw starting counter
|
||||||
drawTexts(P.bonus)--Bonus texts
|
drawTexts(P.bonus)--Bonus texts
|
||||||
setFont(25)
|
setFont(25)
|
||||||
gc.setColor(1,1,1)
|
|
||||||
drawDial(360,520,P.dropSpeed)
|
drawDial(360,520,P.dropSpeed)
|
||||||
drawDial(405,575,P.keySpeed)
|
drawDial(405,575,P.keySpeed)
|
||||||
|
gc.setColor(1,1,1)
|
||||||
mStr(format("%.2f",P.stat.time),-82,518)--Time
|
mStr(format("%.2f",P.stat.time),-82,518)--Time
|
||||||
mStr(P.score1,-82,560)--Score
|
mStr(P.score1,-82,560)--Score
|
||||||
gc.draw(drawableText.bpm,390,490)
|
gc.draw(drawableText.bpm,390,490)
|
||||||
|
|||||||
@@ -82,6 +82,7 @@ local sceneInit={
|
|||||||
curBG="none"
|
curBG="none"
|
||||||
end,
|
end,
|
||||||
setting_sound=function()
|
setting_sound=function()
|
||||||
|
sel=0--last sound time
|
||||||
curBG="none"
|
curBG="none"
|
||||||
end,
|
end,
|
||||||
setting_key=function()
|
setting_key=function()
|
||||||
|
|||||||
@@ -84,6 +84,12 @@ background1=N("/image/BG/bg1.jpg")
|
|||||||
background2=N("/image/BG/bg2.png")
|
background2=N("/image/BG/bg2.png")
|
||||||
groupCode=N("/image/mess/groupcode.png")
|
groupCode=N("/image/mess/groupcode.png")
|
||||||
payCode=N("/image/mess/paycode.png")
|
payCode=N("/image/mess/paycode.png")
|
||||||
|
|
||||||
|
miya_ch=N("/image/miya/ch.png")
|
||||||
|
miya_f1=N("/image/miya/f1.png")
|
||||||
|
miya_f2=N("/image/miya/f2.png")
|
||||||
|
miya_f3=N("/image/miya/f3.png")
|
||||||
|
miya_f4=N("/image/miya/f4.png")
|
||||||
drawableText={
|
drawableText={
|
||||||
question=T(100,"?"),
|
question=T(100,"?"),
|
||||||
bpm=T(15,"BPM"),kpm=T(15,"KPM"),
|
bpm=T(15,"BPM"),kpm=T(15,"KPM"),
|
||||||
|
|||||||
@@ -27,9 +27,12 @@ Future outlook:
|
|||||||
infinite 1v1
|
infinite 1v1
|
||||||
square mode
|
square mode
|
||||||
more FXs & 3d features & animations
|
more FXs & 3d features & animations
|
||||||
|
0.8.2+:
|
||||||
|
GUI adjusted
|
||||||
|
added a cute cat
|
||||||
0.8.2:
|
0.8.2:
|
||||||
new widget appearence
|
new widget appearence
|
||||||
gui adjusted
|
GUI adjusted
|
||||||
bug fixed
|
bug fixed
|
||||||
0.8.1:
|
0.8.1:
|
||||||
more FX level
|
more FX level
|
||||||
|
|||||||
Reference in New Issue
Block a user