Skip to content

Conversation

@cornerloan
Copy link
Contributor

Can't automerge because of changes to test_battle_scene.tcsn

Tested it with the test_battle_scene.tcsn file from note-effects branch and seems to work fine.

Currently the noteQueue doesn't support "looping/repeating" the queue after the user runs through all available notes, can add later if wanted.

Also check out files "SaveData.json" and "SaveSystem.cs" for possible save feature, at the moment the JSON is what gives the player their special notes.

two notes will be displayed to the player, the one in the circle will be the next note that will be placed. currently supports "single" and "double" notes, where double notes are supposed to eventually give double points.
SaveData.json can store all our game's save data (unless we want to split the save data amongst different files). NoteQueue now pulls notes from the SaveData.
NoteArrow has been given a variable of type Note to represent what special note is held in there. Notes created by the chart or enemy are assigned the type enemy, while notes placed by the player are assigned based on the noteQueue. Also, the queue doesn't "loop" so when the player runs out, they can no longer place notes.
@LifeHckr LifeHckr self-requested a review February 13, 2025 23:25
Copy link
Contributor

@LifeHckr LifeHckr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gonna integrate. We can keep the save system for later, but note queue shouldn't need to read the save file during run time.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤔

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some of this was on me, the point of noteIdx was to just keep the note index instead of a note ref, so notes could stay the same, but depending on how effects could work, it will probably make more sense to hold a reference.

@LifeHckr LifeHckr merged commit adf1705 into Sprint-2 Feb 13, 2025
1 check passed
@LifeHckr LifeHckr deleted the note-effects branch February 16, 2025 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants