gabrielflorit / script-8.github.io

A JavaScript-based (React + Redux) fantasy computer for making, sharing, and playing tiny retro-looking games.
https://script-8.github.io/
MIT License
645 stars 34 forks source link

Add input pressed buttons #203

Closed gabrielflorit closed 5 years ago

gabrielflorit commented 5 years ago

e.g. input.right and input.rightPressed

Kethku commented 5 years ago

Glorious :+1: this would cut down my marching squares demo a ton!

Kethku commented 5 years ago

I'll try to take a stab at implementing this later this afternoon

Kethku commented 5 years ago

This should be closed as it was implemented by https://github.com/script-8/script-8.github.io/pull/204

gabrielflorit commented 5 years ago

This is live now @Kethku

Kethku commented 5 years ago

Awesome! Updated my demo. Much better :)