A way of organizing and storing information so that it occupies as small an amount of memory as possible while still retaining its full usefulness.
-3
votes
0answers
48 views
On average, how many scenery objects on an average-sized map [closed]
I know it's a stupid question, but I couldn't find the answer on Google or here. Ideally, I'm looking at best-case-scenario, common-scenario and worst-case-scenario statistics. This is excluding the ...
-1
votes
0answers
23 views
How should I handle assets on an iOS game (or any game really)? [duplicate]
So the title says it all. I'll elaborate a bit for clarity.
I am still getting my bearings in Objective-C, Cocoa and iOS programming. I haven't bought a developer kit yet as I want to wait until I ...
-5
votes
2answers
158 views
How much lines of code is 1kB? [closed]
My friend told me that it's something about 40 lines of code for 1kB.
For an old 8-bit computers with 48kB of RAM it is only 1920 lines of code!
Then when I think about it, it seems to me ...
1
vote
0answers
77 views
Replacement memory allocators - pros and cons [duplicate]
I am developing a hobby project to learn game engine development and to have a platform where I can test new ideas and have fun. Currently I have a quick-and-dirty multiplayer server and client using ...
0
votes
1answer
136 views
Is a HashTable the best way to store replay data in C#?
I'm looking to make a deterministic replay in my 2D game. I want to follow a similar approach to braid in storing the relevant information every frame (at 60 frames per second).
I wanted to know what ...
1
vote
4answers
104 views
How to get a large quantity of photographs in an app while being memory efficient??
There have been a lot of word games (apps) lately and some use graphics but others use photographs and I was hoping that someone could explain how these games manage to get so many photos in an app ...
1
vote
0answers
49 views
Another Question from the Image Efficiency for Memory Handling
At this topic, "Which image format is more memory-efficient: PNG, JPEG, or GIF?", one of the fellow Game Development community @Panda Pajama told about the complex concept about image memory handling ...
-2
votes
1answer
84 views
Music and SFX Question on Memory Efficiency [closed]
What should I recommend: MP3 or WAV for the SFX? Also, what should I do to handle the memory in music or SFX?
41
votes
6answers
3k views
Which image format is more memory-efficient: PNG, JPEG, or GIF?
Which image format is more efficient to save memory? PNG, JPEG, or GIF?
0
votes
0answers
268 views
Limited Screen Switching Count Memory Issue
When making my simple app for revisions to update the latest changes, I test it first between the device (Google Nexus 7) and desktop using Eclipse IDE. I made eleven screens for the game in terms of ...
1
vote
1answer
277 views
Game-components and memory management
I'm stitching together the workings of a component based game engine, and as such have been deeply reading into many aspects of both game engine architecture and a fair amount of opinionated theory of ...
0
votes
1answer
180 views
How to resolve duplicate data in Entity Systems?
Whilst working on examples and upgrades for my C++ Entity System, something randomly caught the attention of my mind, by surprise: duplicate data. What I'm referring to is how an entity system that ...
-4
votes
1answer
131 views
Dynamic cubes for cube engine [closed]
I had an idea for a cube world (i'm writing in C#) that would make creating new types of cubes simple and dynamic. Here is how I imagine it:
1.Text file stores everything including block name, ...
1
vote
3answers
211 views
How to force a garbage collector swep on libgdx?
I found that you can control your memory usage on libgdx with:
int javaHeap = Gdx.app.getJavaHeap();
int nativeHeap = Gdx.app.getNativeHeap();
But, How can I force a garbage collector cleanup? I ...
1
vote
2answers
208 views
Recommended formats to store bitmaps in memory?
I'm working with general purpose image rendering, and high-performance image processing, and so I need to know how to store bitmaps in-memory. (24bpp/32bpp, compressed/raw, etc)
What is the "usual" ...