Drewol / unnamed-sdvx-clone

A game based on K-Shoot MANIA and Sound Voltex
MIT License
778 stars 93 forks source link

[Bug] Lasers incorrectly displaying as missed #333

Open inv41idu53rn4m3 opened 4 years ago

inv41idu53rn4m3 commented 4 years ago

If a laser ends in a slam it will display as missed (shader uniform hitState will be 0) for a few frames during the slam. I'm not sure if this is the entire length of the slam or if it's only the period after hitting the slam. Weirdly enough the slam will not display as missed in case you do not hit it at all.

The way I discovered this was by using a shader that inverts laser colours when they're in a missed state; something like this might be useful for diagnosing it.

Here's a screenshot of a laser in a missed state during autoplay (don't mind the interesting laser shader)

screenshot

rullinoiz commented 4 years ago

how do you even get autoplay to work? i turn on auto lazers and it doesn't do it

inv41idu53rn4m3 commented 4 years ago

You start autoplay by pressing Ctrl+Start (also I don't think this is the best place to ask)