Integrating Funscript to VR/AR Web Game

I am working on an application to view MMD (MikuMikuDance) scenes in VR and AR (Augmented Reality). It runs completely in the webbrowser on any device (SFW example). These scenes can contain NSFW content, and someone asked me to integrate funscript. But since I’ve never heard of it before, I would like to discuss it. Feel free to give any input I should maybe consider. Some questions I had so far:

  • Is there a JS or TS library to handle all the different devices at once?
  • Or is there maybe a library that handles that and the funscript file together, so that I only need to sync the scene time with it?

Thanks for your input in advance

1 Like

I’m not a developer and can’t help much, but Buttplug is the standard for device integration. They have resources on their site and a very helpful Discord server.

2 Likes

I think you want to use this:

And then you have to decide, if you can just run a funscript (if your scenes are linear/have the same actions at the same time) or you send manual actions (move device to position xy on a specific game event), if there is more interaction from the player. But i’s really not that hard, had a testproject running in a few hours.

2 Likes

Thanks for your input.