Ayush

Results 47 comments of Ayush

1) Yes and no. I think its better to say that its optional. So if someone wants, they can provide a list and structure of resources. What are the advantages?...

> Problem: I think the scoping logic may not be sufficient, 1 and 2 is solved by the function ``ResourceManager.prepareGroup()``. With this you register what resources are needed for the...

Alright, I agree with everything here - Collections need to go. - I like the idea to use archives in release mode and folders in debug mode. But i think...

> We could require that such a function be provided to the getResource function (so you pass it the function that knows how to turn PNG bytes -> gpu.Texture with...

Can we use the URI scheme for this, since we aren't using it for anything else right now? Like ``texture://images/player.png`` and ``sheet://images/player_anim.png`` where "texture" and "sheet" must be the name...

@guidorice you can use freestanding wasm32 and js glue code to access all js resources in zig, no emscripten needed. See for examples: 1) https://github.com/bootradev/cupcake/ 2) https://github.com/masterq32/zero-graphics

Sorry for late reply. Here is a cropped out screenshot of a video(not mine). > I'm surprised I wouldn't expect that to happen. Is there any functionality already built in?...

On some side notes, zar is currently missing any hints to thin archives. Also, [this](https://github.com/iddev5/zar/commit/1deb10903a505736c368c79778a92fa0f6898300#diff-9726f6ba1221922063c1e812fd481011182661295512d9ab9130692203580490R47-R49) superceeds 2

I agree with the content representation part. I will continue to work on this project as a whole and try to resolve as much as I can.

One more thing is that I suggest marking the struct Archive managed. This is because 1) Explicitly passing the allocator in all function is tedious 2) We currently aren't dellocating...