hyejinim / draw2code

https://hyejinim.github.io/draw2code
0 stars 1 forks source link

Add more coding blocks: end block, touch event, loop, function, switch... #19

Open hyejinim opened 3 years ago

hyejinim commented 3 years ago

mouse event: https://creative-coding.decontextualize.com/making-games-with-p5-play/ spr1.onMouseOver = function() { this.scale = 2; } spr1.onMouseOut = function() { this.scale = 1; }