DontClickBackground
Dont Click the Background
Character Count: 306
Game Code:
setup=e=>{x=180,createCanvas(4*x,4*x),s=0,t=0},draw=a={background("black"),fill("red"),d=x*sin(t)/2+180,e=x*cos(.2*t)+220,square(d,e,45),fill("blue"),square(e,e,35),fill("tan"),square(e,d,45),textSize(24),text(s,3*x,3*x),t+=.1},mousePressed=e=>{c=get(mouseX,mouseY).join(),print(c),"0,0,0,255"!=c?s++:s--}
Blog for More Information : https://blog.illestpreacha.com/gamedevtweettweetjam10
Published | 1 day ago |
Status | Released |
Platforms | HTML5 |
Author | IllestPreacha |
Tags | Clicker, javascript, p5js, Prototype, Simple, sizecoding |
Leave a comment
Log in with itch.io to leave a comment.