Comments (9)
Could you provide a link to the SVG or the Scratch 2.0 project?
from scratch-render.
Here you go:
http://www.wpollock.com/SVG/sphere.svg
from scratch-render.
Unfortunately Scratch 2.0 does a very bad job of rendering this SVG:
For 3.0, though, it looks like the only thing wrong is the text positioning: I think the solution would be to render the SVG without the "2.0 quirks mode" transformations.
from scratch-render.
Are you planning on adding a way to disable this? Like in a menu a Scratch 2.0 Mode for each costume?
from scratch-render.
@TheBrokenRail that will be too confusing maybe there can be a way for scratch-vm to find a problem with the svg...
from scratch-render.
No, I think it will be necessary as the renderer cannot tell the difference if it is a scratch svg or not.
from scratch-render.
Changed Issue to be more constructive (now has download link)
from scratch-render.
Here's a more subtle example this time with a scratch svg.
Links:
https://llk.github.io/scratch-vm/#67575180
https://scratch.mit.edu/projects/67575180/
Screenshot:
3.0:
2.0:
from scratch-render.
Tracking in scratchfoundation/scratch-vm#519
from scratch-render.
Related Issues (20)
- CPU touching color does not always match GPU/Scratch 2 HOT 1
- scratch-render tests fail locally on node 12 HOT 2
- Write a test for touching mouse/not touching mouse/not touching color
- Drawable's rotation is not 0 when the drawable is not rotated HOT 1
- "is touching" reporting false negatives on tiny tests HOT 8
- `updateDrawableProperties` is dead code
- Uploading textures via ImageData is slower than doing it via regular images HOT 2
- JSDoc for `SVGSkin.resetMIPs` is incorrect
- extractDrawable is dead code
- Sprites disappear in "mystery mode"
- npm-published packages should follow semver
- scratch-render currently fails scratch-gui tests HOT 2
- Dependency Dashboard
- scratch on firefox runs slower than chrome HOT 2
- Cannot find module '!ify-loader!linebreak' HOT 13
- Question while developing HOT 2
- Renderer crashes easily on iOS/iPadOS HOT 1
- SVG WebFont Families DO NOT Import Properly HOT 3
- Silhouette unnecessarily stores transparent pixels HOT 3
- Pen transparency bugs with thin lines rendering HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scratch-render.