now i working on game like guitar hero, just for campus assignment.
my question is:
i have 5 song. each song have different BPM, and of course different note. note created randomly using system time and spawn sprite. if i have 5 song, should i create a new layout for every song(1 song 1 layout), or what?
Develop games in your browser. Powerful, performant & highly capable.
The wonders of programming means there are many ways to achieve the same thing. Personally, I would try to figure out a way to dynamically handling the songs and notes through one layout. Perhaps using a file to determine when to spawn the notes, etc. Since you seem to only be doing 5 songs, 5 separate layouts would work just fine.
The correct answer is whatever works for you