supermedium / beatsaver-viewer

⚔️ Web-based viewer for Beat Saver maps, built with A-Frame and JavaScript.
https://supermedium.com/beatsaver-viewer/?id=811-535&difficulty=Expert
MIT License
192 stars 33 forks source link

Soundcloud-style comments. #24

Open ngokevin opened 5 years ago

ngokevin commented 5 years ago

From @elliottate, requested several times on Discord.

I would store them in Firebase as like comments with records being:

{id: songId, comments: []}

And comments would have:

{user, comment, time}

Sort the comments by time, keep track of the song position, when the song passes the time of the next comment, display the comment (in HTML/CSS or VR?).

Should be contained within an A-Frame component src/components/comment.js (even if it's only 2D).