Tagged Questions
1
vote
4answers
424 views
What is a good way to load more than a million images for a collectible card game?
I'm using C# with MonoGame and I'm wondering what would be an efficient way to load more than a million card images for a collectible card game. More cards would be continuously added in future ...
2
votes
1answer
121 views
Multiple images written and read from one meta-file?
Short version:
I need a way to store multiple image files in one bigger file, to be used using C#, preferably easily compatible with XNA. The files will be read, written to, but also adaitional files ...
5
votes
1answer
234 views
Split Texture2D Across Line
Background
I'm using a texture as a damage map represented by an array of floats for displaying damage effects on a space ship in a process.
An upside of this is being able to 'slice' ships in ...
0
votes
1answer
187 views
Creating a vertexbuffer to define vertices arranged in a grid with the view for easy editing later
I'm using the marching square algorithm (2D version of marching cubes) to generate vertices.
I end up with vertices arranged in a grid.
I want to enable destructible terrain, and the way i was ...
5
votes
1answer
2k views
How to create a XNA texture from a GDI Image with source rectangle?
A Texture2D in XNA can only hold so much. Depending on which profile I use that limit is either 2048 or 4096 pixels wide. As far as I could tell from my research (someone correct me if I'm wrong) GDI ...
11
votes
1answer
654 views
How can I get the palette of an 8-bit surface in SDL.NET/Tao.SDL?
I'm looking to get the palette of an 8-bit surface in SDL.NET if possible, or (more than likely) using Tao.SDL. This is because I want to do palette swapping with the palette directly, instead of ...