Chad Engler

Results 151 comments of Chad Engler

@issy123 We do a changelog in the releases page for pixi: https://github.com/pixijs/pixi.js/releases

Not sure why, but it looks like tick() & render() is called twice in your p2.js example (unless I'm reading this wrong): ![image](https://user-images.githubusercontent.com/944497/39370443-c1f1a106-49f3-11e8-89ba-9d9199f4514d.png) Whereas with box2d and other libs it...

For reference, here is what I ended up with to make my injector globally available: ```cpp inline auto MakeAppInjector() { return di::make_injector( /* ... bindings ... */ ); } using...

> I presume with AppInjectorType being an app defined that this utility needs copy/pasting to each new app you write? Yup. I have this file copy-pasted into a few different...

I don't think we report individual resource load progress for anything that isn't XHR currently. PR welcome. You'd need to implement it in here: https://github.com/englercj/resource-loader/blob/master/src/load_strategies/MediaElementLoadStrategy.ts You can see how it...

Oh actually, we don't report anything after "canplaythrough" because we consider that "done". The best thing to do here is probably create your own video element and use that. You...

Unfortunate they would make a breaking change like that in a patch version. Pinning the version here would help, but only if we release a new version here with the...

In v4 you can make changes to [VideoLoadStrategy](https://github.com/englercj/resource-loader/blob/master/src/load_strategies/VideoLoadStrategy.ts) to support this. However, not every video should set this property because not every video should load the entire video. > Since...

Reading through the [load()](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/load) and [preload](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video#attr-preload) docs again cleared it up for me. I think it is probably a good idea to set this to `'auto'` in the video load...

I'm open to giving this a shot again now that browser tech has moved forward a bit. In the past I've avoided it because of just how complex font loading...