Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
[GitSync V:0.1.3] COMMIT Feito automaticamente pelo GitSync
Browse files Browse the repository at this point in the history
DATA (24 horas): 21:46.
  • Loading branch information
PatoFlamejanteTV committed Sep 12, 2024
1 parent 6a8bf2a commit b146cb9
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 39 deletions.
39 changes: 0 additions & 39 deletions data/GlitchShader.frag

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
function onUpdate(elapsed)songPos = getSongPosition()

local currentBeat = (songPos/5000)*(curBpm/24)*10

noteTweenY('PlayerStrumY0', 4, defaultPlayerStrumY0 + (math.cos((currentBeat) + 0) * 60), 0.05)
noteTweenY('PlayerStrumY1', 5, defaultPlayerStrumY1 + (math.cos((currentBeat) + 1) * 60), 0.05)
noteTweenY('PlayerStrumY2', 6, defaultPlayerStrumY2 + (math.cos((currentBeat) + 2) * 60), 0.05)
noteTweenY('PlayerStrumY3', 7, defaultPlayerStrumY3 + (math.cos((currentBeat) + 3) * 60), 0.05)

noteTweenAngle('PlayerStrumY0', 4, defaultPlayerStrumY0 + (math.cos((currentBeat) + 0) * 160), 0.05)
noteTweenAngle('PlayerStrumY1', 5, defaultPlayerStrumY1 + (math.cos((currentBeat) + 1) * 160), 0.05)
noteTweenAngle('PlayerStrumY2', 6, defaultPlayerStrumY2 + (math.cos((currentBeat) + 2) * 160), 0.05)
noteTweenAngle('PlayerStrumY3', 7, defaultPlayerStrumY3 + (math.cos((currentBeat) + 3) * 160), 0.05)

noteTweenDirection('PlayerStrumY0', 4, defaultPlayerStrumY0 + (math.cos((currentBeat) + 0) * currentBeat), 0.05)
noteTweenDirection('PlayerStrumY1', 5, defaultPlayerStrumY1 + (math.cos((currentBeat) + 1) * currentBeat), 0.05)
noteTweenDirection('PlayerStrumY2', 6, defaultPlayerStrumY2 + (math.cos((currentBeat) + 2) * currentBeat), 0.05)
noteTweenDirection('PlayerStrumY3', 7, defaultPlayerStrumY3 + (math.cos((currentBeat) + 3) * currentBeat), 0.05)


noteTweenY('OpponentStrumY0', 0, defaultOpponentStrumY0 + (math.tan((currentBeat) + 0) * 60), 0.05)
noteTweenY('OpponentStrumY1', 1, defaultOpponentStrumY1 + (math.tan((currentBeat) + 1) * 60), 0.05)
noteTweenY('OpponentStrumY2', 2, defaultOpponentStrumY2 + (math.tan((currentBeat) + 2) * 60), 0.05)
noteTweenY('OpponentStrumY3', 3, defaultOpponentStrumY3 + (math.tan((currentBeat) + 3) * 60), 0.05)
end

0 comments on commit b146cb9

Please sign in to comment.