Sulfurous
Sulfurous copied to clipboard
https://scratch.mit.edu/projects/177081696/
I isolated the bug that comes with Catch the Train on Sulfurous. It seems to be a problem with the vector graphics representation of the train wagon. What is really odd, this almost identical project works: https://sulfurous.aau.at/#177042113
https://scratch.mit.edu/projects/177081696/ https://sulfurous.aau.at/#177081696 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
It works ok for me in Edge, but not Chrome for Sulfurous. On htmlgames version works in both.
https://sulfurous.aau.at/#177081696
Didn't work for me in edge, chrome, explorer, or Firefox. I don't think it's the web browser.
Double checked in Edge again - does work for me which is strange.
Microsoft EdgeHTML 15.15063 Microsoft Edge 40.15063.0.0
It will most likely be the Sprite.prototype.touching code (it seems to have been update since I last took a look, to utilize more performance types). That's where I'd start anyhow...
(EDIT: could be something to do with using the newer glCollisionContext)
EDIT2:
line 3124
var data = new Uint8Array ...
this array is returning all zero's in Edge (and htmlgames older way of checking), but 'valid' data in Chrome - I wonder if the maths is off slightly for the sprite sizes?
EDIT3:
going to hazard a guess and say that lines 3125,3130,3131 & 3124 should be this.sprite rather than this.stage (within Sprite.prototype.touching code) ?
also I wonder if the webgl filter replacing the older source-in is correct?
hat-tip to whoever did the new effect filters btw :)