Closed harbdog closed 6 months ago
There have been a couple of times I needed this as well. I think this is a reasonable feature to have.
OK, I bumped into a situation where I need it. I'll try to implement it.
As an off-topic, can we add https://github.com/harbdog/pixelmek-3d to the list of library users? :) It's in the readme.
I may be moving the project under a general area soon, trying to get it ready for a playable alpha first though.
I rolled out the initial implementation. Please let me know if it fits your use case. If it's good enough for now, we can resolve this issue and keep the new related issues I created as follow-ups.
Works like a charm, just replaced the janky function I was using! Thanks!
It would be great to be able to have an
ActionIsJustReleased
function, just like ebitengine's inpututil package which providesIsKeyJustReleased
,IsMouseButtonJustReleased
, andIsGamepadButtonJustReleased
.