-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The rendered svg path always closed, impossible render the curve line (it will curve ring). #63
Comments
Could you also test the Flash target? That will help us know whether it is an SVG parsing issue, or an issue in the OpenFL vector renderer. Thank you 😄 |
this look like start point of broken logic |
may be it help you found the bug more faster ;) |
openfl 3.6.1 new details... i test again all platform and have this result now: |
Hmm, this must be something that was fixed in a later version, testing OpenFL 6 and Lime 5, the SVG renders properly |
autchhh, this sounds worst then bug, because look like the openfl will not be upgraded... always :). I only hear sometimes something about the work in process but the result , as always null, we still have no new openfl version using way for haxeflixel. Openfl 3.6.1 is immortal lord of haxeflixel country. |
I have a fork that mostly works: https://github.com/jgranick/flixel The MODE demo worked properly with this fork, though occasionally an enemy jet would disappear, I'm not sure why. With a little help, it might be possible to fix that |
fix what? demo or flixel... english not my native |
Flixel was working almost correctly. The issue where sometimes the enemy ship was disappearing is something based inside of Flixel itself... something my code didn't fully resolve. I was hoping someone using Flixel might know why it was happening Without fixing that minor bug, it's possible that my fork of Flixel will still work properly for many projects, so it might be worth trying |
Tested targeting ... html5 debug, windows cpp debug.
Look like the path "z" parameter always ignoring.
original svg
rendered svg
svg file code
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" width="800" height="200" viewBox="0 0 800 200" version="1.1" id="svg8"> <defs id="defs2" /> <metadata id="metadata5"> <rdf:RDF> <cc:Work rdf:about=""> <dc:format>image/svg+xml</dc:format> <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> <dc:title></dc:title> </cc:Work> </rdf:RDF> </metadata> <path id="path4485" d="m 30,80 c 0,0 -8,-49 20,-52 28,-2 33,53 33,53 z" style="opacity:1;fill:#f7ff2f;fill-opacity:1;stroke:#ffadfe;stroke-width:5;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> <path id="path10" d="m 13,13 q 50,60 30,0 " style="opacity:1;fill:none;fill-opacity:1;stroke:#ff0000;stroke-width:5;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> </svg>
<path id="path4485" d="m 30,80 c 0,0 -8,-49 20,-52 28,-2 33,53 33,53 z"... must be closed
<path id="path10" d="m 13,13 q 50,60 30,0 "... must be not closed
The text was updated successfully, but these errors were encountered: