{"id":98275,"date":"2019-08-09T21:38:00","date_gmt":"2019-08-09T21:38:00","guid":{"rendered":"http:\/\/gamefromscratch.com\/post.aspx?id=31578c96-9945-4d50-9fde-ceb40da7f254"},"modified":"2019-08-09T21:38:00","modified_gmt":"2019-08-09T21:38:00","slug":"phaser-3-19-released","status":"publish","type":"post","link":"https:\/\/sickgaming.net\/blog\/2019\/08\/09\/phaser-3-19-released\/","title":{"rendered":"Phaser 3.19 Released"},"content":{"rendered":"<p><a href=\"https:\/\/phaser.io\/\">Phaser<\/a>, the popular open source 2D HTML 5 game framework, just released version 3.19.&nbsp; Phaser 3.19 brings several new features and improvements <a href=\"https:\/\/www.gamefromscratch.com\/image.axd?picture=Phaser319.png\"><img loading=\"lazy\" decoding=\"async\" width=\"364\" height=\"206\" title=\"Phaser319\" align=\"right\" alt=\"Phaser319\" src=\"https:\/\/www.sickgaming.net\/blog\/wp-content\/uploads\/2019\/08\/phaser-3-19-released.png\" border=\"0\"><\/a>including a new Spine (learn more about this bone based 2D animation system <a href=\"https:\/\/www.gamefromscratch.com\/post\/2016\/04\/25\/An-Introduction-To-Spine-A-2D-Bone-Based-Animation-System.aspx\">here<\/a>) plugin offering greater performance in a smaller package, a complete new Tweening system and several other new features.<\/p>\n<p>Details from the <a href=\"https:\/\/phaser.io\/news\/2019\/08\/phaser-3190-released\">Phaser blog<\/a>:<\/p>\n<blockquote>\n<p>This version will properly batch Spine skeletons where possible, potentially saving hundreds of draw calls. The plugin is fully documented and exports both debug and minified files, suitable for ES6 &#8216;importing&#8217; or ES5 plugin inclusion. The whole plugin is just 68KB in size (min+gz), or a paltry 57KB if you only need the Canvas renderer! That&#8217;s a really tiny payload for such a massive feature-set. You can find out more about Spine from the <a href=\"http:\/\/esotericsoftware.com\/\">Esoteric Software website<\/a>.<\/p>\n<p>3.19 also introduces a huge overhaul to the Tween system. Tweens now have 100% documentation and we&#8217;ve extended their capabilities significantly. There are lots of new Tween Events to listen for, such as &#8216;COMPLETE&#8217; or &#8216;REPEAT&#8217; to allow you to trigger actions without needing to create callbacks. Tweens can now tween both &#8216;from&#8217; and &#8216;to&#8217; a value, with the ability to set a starting value for any tweened property. There are lots of new handy methods and properties, such as <code>Tween.hasStarted<\/code> and a rewrite of the Tween seeking function, so it now allows you to seek to any point in time across a tween.<\/p>\n<p>Finally, we&#8217;ve added in the great new &#8216;StaggerBuilder&#8217;. This allows you to easily add staggered offsets to a bunch of tween targets, including all kinds of options such as staggering across a grid layout, stagger directions, starting values and a lot more. Please see the docs and examples for more details.<\/p>\n<\/blockquote>\n<p>Be sure to check the Phaser blog for complete details of this release.&nbsp; Check the <a href=\"https:\/\/github.com\/photonstorm\/phaser\/releases\/tag\/v3.19.0\">change log<\/a> for an even more in-depth description of what is new and changed in the 3.19 release.&nbsp; You can get an introduction and overview of Phaser 3 in our slightly dated Introduction To Phaser 3 video <a href=\"https:\/\/www.youtube.com\/watch?v=7cpZ5Y7THmo\">available here<\/a>. <\/p>\n<p class=\"under\"> <span class=\"categories\"><a href=\"https:\/\/www.gamefromscratch.com\/category\/GameDev-News.aspx\">GameDev News<\/a><\/span> <span class=\"tags\"><a href=\"https:\/\/www.gamefromscratch.com\/?tag=\/Phaser\" rel=\"tag\">Phaser<\/a><\/span> <\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>Phaser, the popular open source 2D HTML 5 game framework, just released version 3.19.&nbsp; Phaser 3.19 brings several new features and improvements including a new Spine (learn more about this bone based 2D animation system here) plugin offering greater performance in a smaller package, a complete new Tweening system and several other new features. Details [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":98276,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[71],"tags":[72],"class_list":["post-98275","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-game-development","tag-gamedev-news"],"_links":{"self":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts\/98275","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/comments?post=98275"}],"version-history":[{"count":0,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts\/98275\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/media\/98276"}],"wp:attachment":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/media?parent=98275"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/categories?post=98275"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/tags?post=98275"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}