Questions tagged [compression]
The name given to the process of encoding data such that it uses lesser number of bits as compared to the original representation.
66 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
96
views
When performing bulk operations on DDS images, is there a safe intermediary format I can use for operations with ImageMagick?
I would like to perform bulk operations of a large number of .DDS files (over 100,000) which may appear in any variety of different BCn formats. I would normally use the ImageMagick command line tools ...
1
vote
0
answers
48
views
Is there a better format than PNG to store R16uint depth data on Android?
Is there a better format than PNG to store R16uint depth data on Android
I find I get precision artifacts when using ASTC.
0
votes
1
answer
109
views
How do games package their textures in relation to image compression?
I know that you have to keep in mind what platform you're targeting, but it feels like you might have to have multiple sets of textures. Like let's say you're targeting desktop. How do I know what ...
10
votes
2
answers
4k
views
Wondering if there is a more efficient way to store level data in my game?
I am trying to remake Super Mario Bros. in JavaScript and I am trying to figure out if there is a more efficient way to create and store the level data. I have created 1-1 and here's what the code ...
0
votes
1
answer
90
views
BasisParser returns undefined from loading KTX2 file with custom extension
I get 'undefined' from the BasisParser that I use from Pixi itself, when loading a KTX2 file with a custom extension (through Assets.load):
...
0
votes
1
answer
5k
views
How to fix the warning "Only textures with width / height being multiple of 4 can be compressed to ETC2 format"?
This question is about Unity texture compression.
I have an image that has the dimensions as follows: width = 724, and height = 1044. The original size is 348 Kbytes. This means that both the width ...
0
votes
1
answer
229
views
Problems with normal recovery from storage as two floats and normal from depth buffer
In my app I’m producing for my deferred shading 4 layers of data to show up occluded parts of the scene during screen space reflection (SSR) pass. I need normal maps with bumpiness of these layers for ...
0
votes
1
answer
98
views
Method of compressing tile data [closed]
I'm making a game in which a row of tiles may look something like this, in which each block is represented with a unicode char:
"gggggggggggggggggggggggggggggggggggtttttttttjjjjjjjjjjjjjjj"
So my ...
1
vote
1
answer
333
views
Retro-game development - how did 8-bit computers store large level maps and build a screen from them?
Not sure whether this would be better in the retro-computing exchange, but I'm trying in game development first.
During the 80s I played a lot of what would now be called "arcade adventures" on the ...
1
vote
2
answers
917
views
Should I compress WebSocket payload data in a game where latency matters?
I have started work on a new game project where users are in an open environment and fight each other in a fast-paced shoot-out. I know that compressing all of the WebSocket's payload data using zlib ...
1
vote
4
answers
2k
views
How to improve load times of audio files without loosing too much quality for HTML5 game?
I'm creating an HTML5 game. We have high fidelity composed music, in the format of wavs and mp3s— some ...
0
votes
1
answer
1k
views
Serialization/Deserialization Solutions for Loading & Playing Audio Files
I'm creating a music game in unity, and the first issue I encountered was that I had no way to load music into the game from a file. I tried using a WWW to load the mp3 files, but in my research I ...
2
votes
1
answer
585
views
Game compression?
I want to know the right and good way to compress my game when I build it.
I made 3 levels with all my enemies there. The size of the game file 3GB in the desktop. When I build my game I get 1GB.
All ...
3
votes
0
answers
669
views
Should I use ASTC
So I read about ASTC and that it should be preferred over S3TC. Where I'm concerned is the current status of hardware support. According to Wikipedia every major GPU manufacturer supports ASTC but ...
0
votes
1
answer
1k
views
Should I compress the game data files?
I am working on packaging my game resources into a single file. I have chosen the format but I don't know whether I should use compression or not. I understand the possible pros and cons:
Compression ...