dinsdag 6 maart 2018

Making MG&S a complete VR hentai game

MG&S is now a complete VR hentai game. It's still possible to play the game normally, without VR, but if you want, you can just turn on VR and have even more immersive sex with a monster girl! Now that everything appears to work, I can continue developing the game, and as an added bonus I don't have to do a lot of extra work to get VR working in future scenes.



When starting out to get everything else working in VR, I explored the possibility of adding support for using the controller as hands, which would be pretty cool of course. However, when testing stuff out I found out it would me a complete redo of many things I had already done, so that's when I decided to leave it as a seated experience where you just look at what's happening. I did, however, still want to support the buttons of controllers, as controlling the game with mouse and keyboard while in VR can involve a lot of grasping for the controls and missing.

I also wanted the rest of the game to be available in VR, so players aren't stuck playing normally and only switching to VR in the Hentai scenes, not to mention the Monster Girl seduction moves at the start of each fight.

To get everything working properly was quite a bit of work. Of course I had to fix some setting around the input for players, so the controller would work. This wasn't too difficult, I just had to figure out how to name things for the most part. Initially the right stick wouldn't work correctly, so in the Village scene it wasn't posisble to look around. I changed the settings, which caused it to start zigzagging, but in the end I found out how to fix it. The nausea when sitting down wasn't to terrible, although that's different per person. With the controls working I had to copy this over to all the other scenes that involved walking around.

The biggest issue with VR is the interface. It's not really a good idea to just stick it to the screen as you'd normally do. So when in VR I need to move the interface somewhere in the world. This meant I had to find every single UI element in the game and make sure it moved to a specific spot. I made this spot dependent on the player, so now the UI elements always appear in front of the player.

In order to be able to see the UI elements always, I created a seperate camera that is there solely for rendering the UI, while the regular camera does everything else. This UI camera moves with the normal camera for the most part, and makes sure the UI is always rendered in front, regardless of where the element is in the world.

When making decisions you normally get a cursor, allowing you to select what you want to say to one of the Witch girls, or how you want to fight the Monster Girls. But guess what?! No cursor in VR, Hah! So I had 2 choices, use the direction the player is looking in as a selector, which imho is really awkward, or allow players to cycle through. I went with the latter. So everytime a choice comes up I had to make sure one of the options was highlighted, otherwise there was nowhere to cycle through the options from.

After a lot of going back an froth between previously made content, I finally managed to get it all working. It certainly was a lot more work than I expected, but yeah, that's what happens when you don't plan for features in advance. xD

Of course there was still a little issue with the Vive, it doesn't have all the same buttons. So I fixed that by have the triggers usable for those issues as well. This did require me to find the script in which I had created the fast forward function, which was really hard to find for some reason. But I managed in the end.

Next I can continue working on the game normally again. Finally some modelling again! :D Time for Bridonna, so I hope you all like abs in your hentai games!


Geen opmerkingen:

Een reactie posten