https://editor.p5js.org/7vector/full/NlnUSedYI (the new game I’m working on) is currently down because I accidentally broke it, I’ll fix it when I get home (doesn’t work on mobile)
https://editor.p5js.org/7vector/sketches/7DXk4U_iW I have updated my button system, IT HAS SLIDERS NOW!!!!! Gonna make dials next
(info on how to use both sliders and buttons in comments)
output values:
inherits from button
value
if segmented is true, returns amount of segments it has passed, starting at 0
if segmented is false, returns how many pixels it is from the origin