quinton-ashley / p5play

JavaScript game engine that uses q5.js/p5.js for graphics and Box2D for physics.
https://p5play.org
GNU Affero General Public License v3.0
667 stars 184 forks source link

`inputDevice.count('inp')` #286

Closed quinton-ashley closed 11 months ago

quinton-ashley commented 11 months ago

Implement counters for the amount of times an input is pressed and released and let users access the counters with a count function.