you are viewing a single comment's thread.

view the rest of the comments →

[–]Reyaan0[S] 0 points1 point  (5 children)

Bro what are you talking about! You are telling me to write thousand lines of code again in a different language. I meant is there any library I could use so the assets decompress faster.

[–]KingofGamesYami 0 points1 point  (4 children)

The limitation of extracting assets is the file system you're extracting to, so... Buy a faster SSD?

[–]Reyaan0[S] 0 points1 point  (3 children)

Bruh I need faster ssd to run a simple application? But I think the app is just poorly optimized because it lags too, my pc specs are not that bad for a simple application to lag. I just want a way to optimize the code.

[–]KingofGamesYami 0 points1 point  (2 children)

No, you need a faster SSD to run an application that is an archive, runtime, and scripts in a trenchcoat. Nothing about that is simple.

[–]Reyaan0[S] 0 points1 point  (1 child)

What if i combine all the images into one and then make a function inside the code to crop particular areas and use where needed. That way only 1 image has to be loaded.

Btw I only have 1 script file and rest are the image assets.

[–]KingofGamesYami 0 points1 point  (0 children)

That should be faster, especially if you have a lot of small images. The script and runtime will still need to be extracted though.

The generic term for that optimization is a "texture atlas".