b0y2k Posted December 5, 2016 Share Posted December 5, 2016 Hi guys, I have a problem with ropes. It seems to be stretching the line across the points supplied. I have a simple rope setup with 6 points and it produces the line but the image is warped. Does anyone know how i can set it up so it keeps the line dimensions across the rope? Link to comment Share on other sites More sharing options...
drhayes Posted December 5, 2016 Share Posted December 5, 2016 I thought that's how ropes worked? Your texture gets scaled to fit between the points in the segments? Was I wrong? Link to comment Share on other sites More sharing options...
b0y2k Posted December 5, 2016 Author Share Posted December 5, 2016 I'm not saying that Phaser is doing anything wrong, it's most probably me... My question is more is it possible to use a rope to draw a line like this and maintain a uniform thickness and appearance? Link to comment Share on other sites More sharing options...
b0y2k Posted December 6, 2016 Author Share Posted December 6, 2016 I'm looking for this effect, is rope the way to go? I could draw the lines but then as my game is canvas based i would not be able to add a glow? Any help would be great Link to comment Share on other sites More sharing options...
Fatalist Posted December 6, 2016 Share Posted December 6, 2016 2 hours ago, b0y2k said: but then as my game is canvas based i would not be able to add a glow? You can get glow in canvas - http://codepen.io/anon/pen/MbVNvM But you'd have to patch Phaser Graphics to add that. Link to comment Share on other sites More sharing options...
Recommended Posts