Merge pull request 'Nears now' (#16) from feat/local/hitfx into master
Reviewed-on: #16
This commit is contained in:
commit
d75982154e
|
@ -1,4 +1,6 @@
|
||||||
-- NOTE(local): DO NOT PUT ANYTHING HERE PLEASE THANKS
|
-- NOTE(local): DO NOT PUT ANYTHING HERE PLEASE THANKS
|
||||||
-- IF YOU DO THE GAME WILL IMMEDIATELY CRASH AND IT'S NOT THE BEST
|
-- IF YOU DO THE GAME WILL IMMEDIATELY CRASH AND IT'S NOT THE BEST
|
||||||
-- THANK YOU HAVE A GOOD LUA
|
-- THANK YOU HAVE A GOOD LUA
|
||||||
gfx.LoadSkinFont("segoeui.ttf")
|
gfx.LoadSkinFont("segoeui.ttf")
|
||||||
|
|
||||||
|
function useFootGun() while true do end end
|
||||||
|
|
|
@ -107,7 +107,11 @@ end
|
||||||
|
|
||||||
function button_hit(button, rating, delta)
|
function button_hit(button, rating, delta)
|
||||||
if (showHitAnims) then
|
if (showHitAnims) then
|
||||||
HitFX.TriggerAnimation("Crit", button + 1)
|
if (rating == 1) then
|
||||||
|
HitFX.TriggerAnimation("Near", button + 1)
|
||||||
|
else
|
||||||
|
HitFX.TriggerAnimation("Crit", button + 1)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue