Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.0.5][OpenAL] Bows/Slings do not fire consistently #173

Open
crkellen opened this issue Aug 27, 2017 · 1 comment
Open

[2.0.5][OpenAL] Bows/Slings do not fire consistently #173

crkellen opened this issue Aug 27, 2017 · 1 comment
Labels

Comments

@crkellen
Copy link
Contributor

crkellen commented Aug 27, 2017

ISSUE:
Bows/Slings do not fire consistently while holding down left-click, and sometimes when just clicking left-click. Crossbows work as expected, consistently.

EXPECTED RESULT:
Holding down Left-Click with a Bow/Sling equipped should fire consistently the same as a Crossbow. However, there is still the bow draw animation.

STEPS TO REPRODUCE:

  1. Start a new game as a Warrior or Rogue.
  2. Equip the Shortbow
  3. Hold down Left-Click
  4. Shots will fire inconsistently. Continue to hold it down. Don't move mouse, then later move mouse. Try moving. It's all very very inconsistent.

ADDITIONAL INFO:
This seems to be because of the reliance on the sound clip playing.

This issue is due to OpenAL. The bow's ability to fire is tied to it's ability to play it's sound clip.

ALboolean tempBool = bowDrawingSoundPlaying;
OPENAL_Channel_IsPlaying(bowDrawingSound, &bowDrawingSoundPlaying);

This is the issue, located here.

@crkellen crkellen changed the title [2.0.5] Bows/Slings do not fire consistently [2.0.5][OpenAL] Bows/Slings do not fire consistently Aug 27, 2017
@addictgamer
Copy link
Collaborator

Might need reevaluation after #86

WALLOFJUSTICE added a commit that referenced this issue Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants