Closed hajimehoshi closed 2 years ago
Yes! I am currently emulating this myself with some hacky code.
If someone wants to work on this, please discuss what API we want before starting to implement it.
I'm still not sure what API would be the best. What about
func AppendJustReleasedTouchIDs(touchIDs []ebiten.TouchID) []ebiten.TouchID
func TouchPositionInPreviousTick(id ebiten.TouchID) (int, int, bool)
?
Treating touches as IDs itself seems a not good idea in the first place 🤔
Requested by @midorimici