Changing "DrawPlayer" (Yellow Map Dot) to Support an Image

HelpMePlease
06 Jul 2023, 21:59

Hello!

I'm sorry to bother you all. Is there a way to change the yellow map dot to use an image instead of creating it via a vector? I tried modifying grid.js myself, but I'm hopelessly clueless.

Thank you so much for reading!


mrangel
07 Jul 2023, 09:27

Are you familiar with PaperScript?
I don't know it that well; but I'd suggest that if you want to modify any of the grid drawing stuff, it would be good to start by looking through the docs for the drawing API; which I believe you can find at http://paperjs.org


HelpMePlease
07 Jul 2023, 13:32

Thank you very much for replying! Seems it has Raster support, which is good! Although I'm not familiar with it, I'll continue to poke around. Thank you so much for your help!