This commit is contained in:
MrZ_26
2020-02-04 19:40:51 +08:00
parent 324435d51a
commit 0dbdc9fe42
16 changed files with 57 additions and 20 deletions

BIN
VOICE/egg_1.ogg Normal file

Binary file not shown.

BIN
VOICE/egg_2.ogg Normal file

Binary file not shown.

View File

@@ -1,5 +1,5 @@
math.randomseed(os.time())
gameVersion="Alpha V0.8.2"
gameVersion="Alpha V0.8.2+"
function love.conf(t)
t.identity="Techmino"--Save directory name
t.version="11.1"

View File

@@ -1373,7 +1373,6 @@ modes.c4wtrain={
end,
mesDisp=function(P,dx,dy)
setFont(45)
mStr(max(100-P.stat.row,0),-82,220)
mStr(P.combo,-82,310)
mStr(P.modeData.point,-82,400)
mDraw(drawableText.combo,-82,358)

BIN
image/miya/ch.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -97,6 +97,7 @@ voiceName={
"win","lose",
"bye",
"nya","voc_nya",
"egg",
}
voiceList={
zspin={"zspin_1","zspin_2","zspin_3"},
@@ -121,6 +122,7 @@ voiceList={
bye={"bye_1","bye_2"},
nya={"nya_1","nya_2","nya_3","nya_4"},
voc_nya={"nya_11","nya_12","nya_13","nya_21","nya_22"},
egg={"egg_1","egg_2"},
}
musicID={
@@ -341,10 +343,10 @@ Widget={
mode={
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),
left= newButton(190, 160,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),
left= newButton(190, 150,100,80, C.white, 35,pressKey("left"), function()return levelSel==1 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),
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),
},
music={

View File

@@ -86,8 +86,8 @@ if sys.getPowerInfo()~="unknown"then
if state=="nobattery"then
gc.setColor(1,1,1)
gc.setLineWidth(2)
gc.line(74,5,99,22)
elseif pow<100 then
gc.line(74,5,100,22)
else
if charging then gc.setColor(0,1,0)
elseif pow>50 then gc.setColor(1,1,1)
elseif pow>26 then gc.setColor(1,1,0)
@@ -95,14 +95,16 @@ if sys.getPowerInfo()~="unknown"then
else gc.setColor(.5,0,1)
end
gc.rectangle("fill",76,6,pow*.22,14)
setFont(14)
gc.setColor(0,0,0)
gc.print(pow,77,2)
gc.print(pow,77,4)
gc.print(pow,79,2)
gc.print(pow,79,4)
gc.setColor(1,1,1)
gc.print(pow,78,3)
if pow<100 then
setFont(14)
gc.setColor(0,0,0)
gc.print(pow,77,2)
gc.print(pow,77,4)
gc.print(pow,79,2)
gc.print(pow,79,4)
gc.setColor(1,1,1)
gc.print(pow,78,3)
end
end
gc.draw(batteryImage,73,3)
setFont(25)
@@ -368,6 +370,19 @@ function keyDown.draw(key)
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)
if key=="escape"then
if keyboardSetting then

View File

@@ -276,10 +276,11 @@ function Pnt.mode()
setFont(35)
local lv=modes[modeID[modeSel]].level[levelSel]
gc.setColor(modeLevelColor[lv]or color.white)
mStr(lv,270,215)
mStr(lv,270,200)
setFont(25)
gc.setColor(color.white)
mStr(text.modeInfo[modeID[modeSel]],270,255)
mStr(text.modeInfo[modeID[modeSel]],270,240)
setFont(75)
gc.setColor(color.grey)
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)
end
function Pnt.setting_sound()
gc.setColor(1,1,1)
gc.setColor(1,1,1,.8)
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
function Pnt.setting_key()
local a=.3+sin(Timer()*15)*.1

View File

@@ -945,9 +945,9 @@ function player.draw_norm(P)
end--Draw starting counter
drawTexts(P.bonus)--Bonus texts
setFont(25)
gc.setColor(1,1,1)
drawDial(360,520,P.dropSpeed)
drawDial(405,575,P.keySpeed)
gc.setColor(1,1,1)
mStr(format("%.2f",P.stat.time),-82,518)--Time
mStr(P.score1,-82,560)--Score
gc.draw(drawableText.bpm,390,490)

View File

@@ -82,6 +82,7 @@ local sceneInit={
curBG="none"
end,
setting_sound=function()
sel=0--last sound time
curBG="none"
end,
setting_key=function()

View File

@@ -84,6 +84,12 @@ background1=N("/image/BG/bg1.jpg")
background2=N("/image/BG/bg2.png")
groupCode=N("/image/mess/groupcode.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={
question=T(100,"?"),
bpm=T(15,"BPM"),kpm=T(15,"KPM"),

View File

@@ -27,9 +27,12 @@ Future outlook:
infinite 1v1
square mode
more FXs & 3d features & animations
0.8.2+:
GUI adjusted
added a cute cat
0.8.2:
new widget appearence
gui adjusted
GUI adjusted
bug fixed
0.8.1:
more FX level