collectivenectar / therealrealoracle

Digital Oracle Deck App for iOS, done in the Godot Engine
1 stars 1 forks source link

Card Carousel Dragging wont change states intermittently #1

Closed collectivenectar closed 2 years ago

collectivenectar commented 2 years ago

When dragging the cards in the carousel, occasionally the inertia state won't switch to the proper state, and even though I have released touch, the carousel continues to follow the movement of the mouse, instead of moving based on inertia. After clicking again, the carousel returns to normal behavior.

Steps to reproduce:

1) Run main.tscn 2) Go to draw scene 3) drag the carousel either direction until you see it happen

collectivenectar commented 2 years ago

Posted issue in forum and no one has responded. Will try again in godotchat forum and see what I can get.

collectivenectar commented 2 years ago

It turns out this is related to the use of a panel child in the card.tscn packed scene. After removing the panel, all issues have stopped. Uncertain whether or not this issue should be closed, however, as I don't know if I've settled on how to indicated that a card has been chosen. I've posted a request for help in godot forums to no avail. If I find I still need a solution to this I can pick up where I left off.

collectivenectar commented 2 years ago

closing for now

collectivenectar commented 2 years ago

Ok, realized that anything that lays over the card carousel (aside from a non textured empty container) will affect the input handling. Reopening issue until I've sorted some sort of indicator for when a card has been chosen. If I implement the animated card slide-out, will close this issue.

collectivenectar commented 2 years ago

Somewhat related, fixed spacer container issue that had mouse filter set to stop, now there is no more dead input space in the carousel.