{"id":1073,"date":"2015-06-25T15:16:03","date_gmt":"2015-06-25T15:16:03","guid":{"rendered":"http:\/\/www.molleindustria.org\/blog\/?p=1073"},"modified":"2025-05-16T14:14:11","modified_gmt":"2025-05-16T14:14:11","slug":"p5-play","status":"publish","type":"post","link":"https:\/\/www.molleindustria.org\/blog\/p5-play\/","title":{"rendered":"p5.play"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1074\" title=\"Screen Shot 2015-06-19 at 1.39.57 PM\" src=\"https:\/\/www.molleindustria.org\/blog\/wp-content\/uploads\/2015\/06\/Screen-Shot-2015-06-19-at-1.39.57-PM.png\" alt=\"\" width=\"787\" height=\"395\" srcset=\"https:\/\/www.molleindustria.org\/blog\/wp-content\/uploads\/2015\/06\/Screen-Shot-2015-06-19-at-1.39.57-PM.png 787w, https:\/\/www.molleindustria.org\/blog\/wp-content\/uploads\/2015\/06\/Screen-Shot-2015-06-19-at-1.39.57-PM-300x150.png 300w\" sizes=\"auto, (max-width: 787px) 100vw, 787px\" \/><\/p>\n<p>I just released p5.play, a javascript library for the creation of games and playthings. It&#8217;s still a beta but it includes features that are common to most 2D games: Sprites with animation support, collision detection and resolution (limited to Axis Aligned Bounding Boxes and circles for now), a camera and functions to facilitate mouse and keyboard input.<br \/>\nThe library is built with accessibility &#8211; not performance &#8211; in mind and tries to not be &#8220;opinionated&#8221; in terms of how a video game is supposed to work, something that is easier to say than to implement.<\/p>\n<p>P5.play is an add-on to <a href=\"http:\/\/p5js.org\/\" target=\"_blank\" rel=\"noopener\">p5.js,<\/a> which is in turn a spin-off \/ spiritual successor of <a href=\"https:\/\/processing.org\/\" target=\"_blank\" rel=\"noopener\">Processing<\/a>, a popular tool among creative coders and educators. I&#8217;m looking forward to adopt p5.js in my <a href=\"http:\/\/mycours.es\/\" target=\"_blank\" rel=\"noopener\">courses at CMU<\/a> and happy to be finally contributing to an open source project.<\/p>\n<p><strong>Update: p5 play has been maintained by other developers since around 2017 and is currently a project by Quinton Ashley who entirely recoded the library to work with box2D.<\/strong><\/p>\n<p><a href=\"https:\/\/p5play.org\/\" target=\"_blank\" rel=\"noopener\">Check the new p5.play here<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I just released p5.play, a javascript library for the creation of games and playthings. It&#8217;s still a beta but it includes features that are common to most 2D games: Sprites with animation support, collision detection and resolution (limited to Axis Aligned Bounding Boxes and circles for now), a camera and functions to facilitate mouse and &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.molleindustria.org\/blog\/p5-play\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;p5.play&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,4],"tags":[],"class_list":["post-1073","post","type-post","status-publish","format-standard","hentry","category-education","category-tech","entry"],"_links":{"self":[{"href":"https:\/\/www.molleindustria.org\/blog\/wp-json\/wp\/v2\/posts\/1073","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.molleindustria.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.molleindustria.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.molleindustria.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.molleindustria.org\/blog\/wp-json\/wp\/v2\/comments?post=1073"}],"version-history":[{"count":5,"href":"https:\/\/www.molleindustria.org\/blog\/wp-json\/wp\/v2\/posts\/1073\/revisions"}],"predecessor-version":[{"id":2056,"href":"https:\/\/www.molleindustria.org\/blog\/wp-json\/wp\/v2\/posts\/1073\/revisions\/2056"}],"wp:attachment":[{"href":"https:\/\/www.molleindustria.org\/blog\/wp-json\/wp\/v2\/media?parent=1073"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.molleindustria.org\/blog\/wp-json\/wp\/v2\/categories?post=1073"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.molleindustria.org\/blog\/wp-json\/wp\/v2\/tags?post=1073"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}