How to compress my Resources files

Asked

Viewed 45 times

1

I’m developing a Battleship game (I’m still a beginner in programming) and I’m adding some songs and images.

My problem is that this is adding too much to the project/game size and hinders.

Is there any way to compress all the files into one file and still be able to access them from the source?

For example, the resources I have in Resources i use:

Properties.Resources.exemplo;

1 answer

2

A possible suggestion is that you implement a Custom Resource Provider that functions as a Broker between your files marked as Resources and the points of its application that consume these resources.

This class would be responsible for unpacking resources before passing them to the rest of the application.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.