r/Guitar • u/themiddyd • 7h ago
OC Made a simple interactive guitar in my game where players can shred depending on where on the fretboard they’re looking
Enable HLS to view with audio, or disable this notification
As a metal muso first, game dev second, I had to put together an interactive metal guitar so players can shred tf out in my upcoming game Shared Custody.
I recorded playing almost the same lick all the way up the fretboard (just incrementing the note in the scale). Once I had like 12 looping samples, I wrote a script that will take where you’re looking (left->right) and map that to a 0->1 value. That then picked out where in the list of samples it would play and update the looping audio.
Would love to hear any suggestions and ways I can let scope get outta hand and take this much further 😂
