Fixed receptor position

This commit is contained in:
Entarno54 2025-05-29 23:36:19 +07:00
parent 7c4338fdf5
commit 4a6d7db733

View File

@ -186,7 +186,7 @@ return function(songName, songDifficulty)
for index, note in next, notes do
if note.spawned then
note.sprite.position = myTypes.Vector2(100 + 65 * (note.direction - 1), note.position - elapsed - 100)
note.sprite.position = myTypes.Vector2(400 + 65 * (note.direction - 1), note.position - elapsed - 100)
if note.position - elapsed < -150 then
note:destroy()
table.remove(notes, index)
@ -258,7 +258,7 @@ return function(songName, songDifficulty)
local receptor = myTypes.Sprite("sprites/NOTE_assets.png", "sprites/NOTE_assets.json", false)
receptor:PlayAnimation("arrow"..directions[i+1], 25, false)
receptor.position = myTypes.Vector2(100 + (65 * i), 0)
receptor.position = myTypes.Vector2(400 + (65 * i), 0)
receptor.ui = true -- So it doesnt move with the camera.