Drewol / unnamed-sdvx-clone

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

[Feature] Support for lasers in game.GetButton #118

Open fdigl opened 5 years ago

fdigl commented 5 years ago

It can be useful for streams and recordings. I used NohBoard in this video how I envisioned this feature to look like: https://www.youtube.com/watch?v=JEo6oFDzlEg


Since the above is already possible, suggestion is now to add support for lasers in the game.GetButton function.

Drewol commented 5 years ago

This can already be achived (except for laser inputs) using the game.GetButton function https://unnamed-sdvx-clone.readthedocs.io/en/latest/game.html#getbutton-int-button

fdigl commented 5 years ago

Oh, I actually didn't think of that when reading the docs. I'll edit this issue accordingly to reflect lasers.

Drewol commented 5 years ago

I've added a GetKnob function in a6d8e95130e643b391cfda9a9566147496569110 which let's you get the rotation of the knobs. However this still doesn't quite give you access to laser buttons.