Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/excaliburjs/Excalibur. 🎮 Your friendly TypeScript 2D game engine for the web 🗡️ excaliburjs.com
excalibur excaliburjs game-development game-engine game-framework gamedev games html5-canvas typescript
Something went wrong. Try again.
fix: [#2359] work around image decode limits in chromium (#2361) master
Closes #2359 This PR switches away from `Image.decode()` to use the older method of `Image.onload` this method is more reliable for large or numerous images due to a chromium bug around decode. @HxShard provided a great codesandbox illustrating the issue https://codesandbox.io/s/happy-gagarin-j1vjr ## Changes: - Creates a new Future type for working with native Promises' resolve/reject at any time - Creates a new Semaphore type that can limit async calls in between `enter` and `exit` - Fixes a small clock schedule bug as well
Author Erik Onarheim Committer GitHub Date (Jun 25, 2022, 6:37 PM UTC) Commit a374da87 a374da87f27de5c3680b482effe007b7ed10be98 Parent b285ede6 b285ede60652ff8273f78a37a1de2bc6a77db485