Load the PNG AssetUse the PImage class to bring your PNG into the sketch.PImage img;img = loadImage("yourfile.png");
"#ff0000": "layer": "Spawn", "type": "point" , "#0000ff": "layer": "Walls", "type": "polygon" png to p2d converter
: Information about frames, hitboxes, or transparency layers. Compression Load the PNG AssetUse the PImage class to
Beyond simple collision polygons, developers are using P2D files for innovative purposes. img = loadImage("yourfile.png")
If you have access to SOLIDWORKS, the "conversion" is essentially an internal save process: Open SOLIDWORKS