MD: Button API

remixed by chooper100
  scripts
  sprites
See inside
Instructions

Click on the buttons to test it out!
Usage is shown to the right.

IMPORTANT:
The API WILL draw the background and the effects. However, YOU need to display the text on the buttons yourself.

Notes and Credits (added by chooper100)

MOAR UPDATES! :D
- Set the button colors with the 'set button color' block
- Removed weird flashing on double click
- Double clicks now fire 2 separate click events
- Click events are only fired if you directly click on the button

Again, this isn't true material design, for a variety of reasons, but it's as close as we will get probably :)

Credit to @ilikelegos for the inspiration
In the end I effectively rewrote the program to avoid some glitches so yeah :)

Shared: 8 Nov 2015 Modified: 22 Nov 2015
Favorite this project 42
Love this project 66
Total views 845
View the remix tree  12
  
More projects by chooper100