ryanisaacg / quicksilver

A simple framework for 2D games on desktop and web
https://ryanisaacg.github.io/quicksilver
Other
784 stars 77 forks source link

Line width and end-cap options for `draw_mesh`. #638

Open bwinton opened 4 years ago

bwinton commented 4 years ago

Background I'm porting an animated maze generator from ggez to quicksilver so that I can run it on the web. It's taken about a day to figure everything out so far, and not everything is quite working yet…

Describe the problem you want to solve One of the nice things I can do with ggez is draw 4px wide lines with a round end cap as part of a mesh. It give a much more friendly appearance…

Describe the solution you'd like Perhaps an extra parameter to the draw_mesh call? I'm not too particular about the API…

Are you interested in contributing? While I'm interested, I don't think I have the time to help out on this at this time…

Thanks!

bwinton commented 4 years ago

(I pushed my code to https://github.com/bwinton/mazes for reference. 🙂)

ryanisaacg commented 4 years ago

I think this will be covered by lyon support, which is on the roadmap in #552.