NeoSpark314 / BeepSaber

A basic implementation of the Beat Saber VR game mechanic in the Godot Game Engine for Oculus Quest (and other VR headsets)
MIT License
105 stars 32 forks source link

Adds support for walls #7

Closed hankedan000 closed 3 years ago

hankedan000 commented 3 years ago

Adds logic to the game for supporting walls.

NeoSpark314 commented 3 years ago

Nice! That looks great. Did you test it on Quest? I will give it a closer look later but from what I see in the code it looks good to be merged and we can solve potential issues later.

NeoSpark314 commented 3 years ago

Reason I'm asking for quest is that transparency is very expensive to render on Quest and the game was already running close to the performance limit on Quest 1; so I fear that transparent walls might result in framerate/performance issues...

hankedan000 commented 3 years ago

Thanks! It's a fun game to play. I'm happy to contribute. No, I only have a quest 2. It runs well on that, but obviously that has more power than quest 1. I ended up making the walls an opaque marble material.

NeoSpark314 commented 3 years ago

Finally merged it to master, sorry for the delay and thanks again for this nice contribution. Do you have a suggestion of a song I could use for testing just to see how the performance on a Quest 1 is?

hankedan000 commented 3 years ago

The included demo song has walls in it, but it's not overly strenuous on wall generation/movement. I always enjoy playing Shutup And Dance by Walk The Moon. It has a fun intro with walls. https://bsaber.com/songs/2144/ Back In Black by ACDC has a fun ending. https://bsaber.com/songs/9d7/ After you asked this question, it made me look around for something a little more testing. I found Eizo's Family. It's a fun "dodger" type map on Hard. Expert has some notes thrown in. The two maps play well with almost no noticeable lag on the Quest 2. It has however, made me realize a few bugs in the wall generation though. I also noticed that the zero thickness walls suffer from texture overlap artifacts (which I new about, but didn't think it was a huge deal breaker). https://bsaber.com/songs/72f/

NeoSpark314 commented 3 years ago

Thanks for the suggestions! So far performance with walls still looks good on Quest 1.