Help with HTML5/JavaScript interactive score/quiz

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Coops99
    New Member
    • Aug 2019
    • 1

    Help with HTML5/JavaScript interactive score/quiz

    Hi all, I’m a composer who is a novice programmer and I’m trying to make a sort of interactive score work. It would be a webpage on Wix that hosts HTML5 code and works with JavaScript. Right now, I have the code needed to make a simple quiz like game where you would select certain aspects of the score that you’d like there, as well as the code for a drag and drop type of game in order to arrange a certain set of measures of music in whatever order the “player” would like.

    My question is split into two parts. The first is how I would go about making it so the graphics of the score are saved into the background, and if there is a way to export it as a printable image at the end of the game. The second would be if there would be a way to generate a playable audio file at the end of the game, based on that image. I was thinking that a Max patch could do the job, but am unsure how to implement it exactly. Any help with either of these questions would be greatly appreciated!
  • dev7060
    Recognized Expert Contributor
    • Mar 2017
    • 655

    #2
    For the audio, it depends when the "end of the game" is. You can add the audio code with autoplay property which will play that automatically on the load of final screen.

    For the image stuff, draw the text on a canvas. And then there are ways to generate image from canvas.

    Comment

    Working...