diff --git a/parts/player/player.lua b/parts/player/player.lua index 04c934af..16b4cad2 100644 --- a/parts/player/player.lua +++ b/parts/player/player.lua @@ -108,12 +108,11 @@ function Player.createBeam(P,R,send,color) else x2,y2=R.x+308*R.size,R.y+450*R.size end - wid=int(send^.7*(4+SETTING.atkFX)) local r,g,b=unpack(SKIN.libColor[color]) r,g,b=r*2,g*2,b*2 local a=GAME.modeEnv.royaleMode and not(P.type=="human"or R.type=="human")and .2 or 1 - SYSFX.newAttack(1-SETTING.atkFX*.1,x1,y1,x2,y2,wid,r,g,b,a*(SETTING.atkFX+2)*.0626) + SYSFX.newAttack(1-SETTING.atkFX*.1,x1,y1,x2,y2,int(send^.7*(4+SETTING.atkFX)),r,g,b,a*(SETTING.atkFX+2)*.0626) end ---------------------------------------------------- diff --git a/parts/scenes/mg_pong.lua b/parts/scenes/mg_pong.lua index 8e65da77..db8c9b83 100644 --- a/parts/scenes/mg_pong.lua +++ b/parts/scenes/mg_pong.lua @@ -7,6 +7,7 @@ local rnd=math.random local scene={} +local state local bx,by=640,360--Ball posotion local vx,vy=0,0--Ball velocity local ry=0--Rotation Y diff --git a/parts/scenes/savedata.lua b/parts/scenes/savedata.lua index 7506bb39..d05f3e4f 100644 --- a/parts/scenes/savedata.lua +++ b/parts/scenes/savedata.lua @@ -1,5 +1,7 @@ local scene={} +local sure + function scene.sceneInit() sure=false end