Alfie Posted May 21, 2018 Share Posted May 21, 2018 Greetings! ? I'm interested to know whether anyone here has had any success working with vectors. I did some research, but ran into nothing but dead ends with people saying that vectors will only be rendered to a bitmap meaning the graphic will not scale. I did manage to find a topic that discussed what seems to have been unexpected behavior in Phaser that resulted in vectors actually working and scaling as they should have because they were not rendered to bitmaps by the framework, but this behavior seemed to be inconsistent. You can read more about it here: http://www.html5gamedevs.com/topic/5267-phaser-svg-files/ The topic in question was created four years ago, but it's the most I could found about Phaser and vectors that wasn't just a dead end. Any help or information in regards to loading vectors and making them scale appropriately would be greatly appreciated. Thank you. Link to comment Share on other sites More sharing options...
samme Posted May 21, 2018 Share Posted May 21, 2018 Link to comment Share on other sites More sharing options...
samme Posted May 21, 2018 Share Posted May 21, 2018 https://github.com/pixijs/pixi.js/pull/2614#issuecomment-225550125 https://codepen.io/RanzQ/full/PzGNEO/ https://github.com/photonstorm/phaser-ce/issues/388 Link to comment Share on other sites More sharing options...
Recommended Posts