Comments (6)
If this is still a problem, I think it would be better to use a workaround, rather than have it not wprk at all.
from ruffle.
It's less of a problem since the alternate canvas drawing path was added; simple shapes draw directly via canvas paths, and the color transform can be directly applied to the colors. So anything that is made up of solid fills will work with color transforms.
It still occurs for things that fallback to the old SVG rendering path. Unfortunately I don't think there's a good way to do this otherwise; it'd probably require rendering the art to an intermediate buffer (and several times if it has both an additive and a multiplicative color). I might implement this workaround when we add the blend modes/filter, which will require bitmap caching support anyway.
I would be more concerned about it if I didn't plan to have a WebGL renderer, where the issue doesn't apply.
from ruffle.
WebGL support was merged in and made default in #520, so this is no longer an issue in general use. However, the issue still occurs if the canvas backend is used.
from ruffle.
I found this polyfill that uses a second hidden canvas to apply the filter and copy draw it onto the main canvas, I haven't tested it but it'll probably be a noticeable hit in performance, I still think it's better than nothing.
from ruffle.
Safari still doesn't support this.
from ruffle.
Some discussions happening on https://bugs.webkit.org/show_bug.cgi?id=198416
from ruffle.
Related Issues (20)
- Error on https://game267424.konggames.com/games/PlasticContainer/youtube-lets-player-simulator-2016/frame/81c00cdf-ba18-4bbd-98e9-8f4e2ff84ce0/
- Super Ninja Block - Every element is top left ? HOT 1
- Sara's Cooking Class: Gingerbread House - isFontCompatible is not a function of class Class HOT 2
- Error on Safari Time HOT 1
- Crash on brainyplex.swf HOT 4
- Error on http://media-r03ru.rjgplay.com/inconflict-loader.swf
- Error on https://ruffle.rs/demo/ HOT 1
- Steak and Jake Midnight March - animation and click bug
- Fling a Thing - Softlocks HOT 2
- Error on https://armorgames.com/play/15717/kingdom-rush-frontiers
- Error on https://schoolshs.vercel.app/g/6f2e0289/electric-man-2 HOT 1
- Error on https://game253127.konggames.com/games/BerzerkStudio/zombidle/frame/b6df6f7f-50c8-4d8d-81c7-c7efd4b07a1a/ HOT 1
- Error on https://www.disney--games.com/gameframe/1 HOT 3
- Knightmare Tower does not go past the loading screen HOT 1
- Error on https://archive.org/details/homerun_20201126
- Monster Arena - Game gets bugged with savegame continue
- Error on https://armorgames.com/play/12141/kingdom-rush
- Error on https://www.coolmath-games.com/sites/cmatgame/files/ruffle1/ruffle.html
- Error on https://www.izzygames.com/games/
- Error on https://uploads.ungrounded.net/ruffle_wrapper/ruffleembed.html
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 ruffle.