Questions related to images, including creation and modification
0
votes
2answers
88 views
How to reduce/handle image loading times?
I'm working on a 2D game that has very high resolution images (so that things look good on Retina MacBooks and such), and am seeing a noticeable lag caused by image loading.
I notice the strongest ...
-1
votes
1answer
87 views
Creating 2D game engine, image = null error [closed]
When ever I run this, I get the error
Exception in thread "main" java.lang.IllegalArgumentException: input == null!
I tried many different solutions including moving parts of the code around and ...
-1
votes
0answers
77 views
temple run images [closed]
Folks
I am absolutely fascinated by temple run. The graphics and the game both are fantastic!
I would pose a question on the graphics. I am a noob in this area but if I want to learn the skills (I ...
1
vote
1answer
150 views
Is this the best way to do sprite sheet animation? [closed]
I would like to make my player animate via a sprite sheet.
I looked online and there are many different ways; I want to know what is the best way. Which method will allow me greater flexibility when ...
0
votes
0answers
81 views
Removing image background color?
I have a sprite sheet (image) and I want to draw it on the screen.
image = sprite sheet image
x = player x position
y = player y position
width = player width
height = player height
public class ...
0
votes
0answers
155 views
Loading and displaying a BMP file C++/Opengl
When I run the following code, it just shows a plain color, like Pink or Orange. The picture which I'm trying to load is a 24-bit BMP which should work 100%. (Size 256x256)
BmpLoader.h
#ifndef ...
0
votes
0answers
48 views
pygame object returns wrong button object
Another question from dumb developer :)
I have class for window:
class MainMenuWindow(Window):
# singeltone:
_instance = None
def __new__(cls, *args, **kwargs):
if not cls._instance:
...
1
vote
2answers
191 views
Why cant I use slick-util with image IO and bufferedImage
My problem is that I get errors when I use
texture = TextureLoader.getTexture("PNG", ResourceLoader.getResourceAsStream("TEXTURE PATH HERE"));
it gives me these errors:
Exception in thread "main" ...
-1
votes
2answers
162 views
bump map from color map (RGB) generation?
Is there a library like PIL (Python Imaging Library) which takes a RGB image (pixel data) and generates a bump map image?
If not, how can I do that? I know the results might not be very good.
I know ...
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 ...
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?
1
vote
2answers
102 views
Filtering (e.g. Gauss blur) on seamless textures but without border artifacts?
I am looking for a way to apply (Photoshop, Gimp etc.) filters to seamless textures without the usual border artifacts. The kernel of the Photoshop Gauss filter for example does not wrap around the ...
0
votes
2answers
70 views
Images not rendering in Slick
I have built a game that uses the Slick framework. The maps are tmx files and were built using TileD. The game iterates through a list of players and maps - once a game with a player and map is ...
1
vote
4answers
417 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 ...
3
votes
1answer
174 views
Pygame performance issue for many images
I've made a script for generating a game world based off of image pixel data.
Trying to make a python map editor
My progress so far has resulted in a program which loads an image and draws sprites ...
2
votes
1answer
74 views
Getting an images rgb value at click
I'm not sure if this is at all possible, but maybe it will spark up an interesting conversation. (Sidenote: working on a small game in Löve).
I'm making an archery shooting kind of game, and I was ...
2
votes
1answer
79 views
AngelCode's Bmfont about widths
In AngelCode's Bmfont is there a way to make it so that all of the widths are equal?
2
votes
2answers
151 views
Splitting a texture atlas into seperate images [duplicate]
Possible Duplicate:
How to decompose sprite sheet
I'm doing a port of an existing game and the designer no longer has all of the original art; he only has the resulting texture atlases he ...
5
votes
1answer
189 views
Rendering scaled-down card images
I have high-quality SVG card images, but they drastically lose their quality when I downsize them. I have tried two ways of rendering cards (using Inkscape and Imagemagics):
1) Render SVG to high-res ...
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" ...
0
votes
0answers
97 views
JPEG images not loading on PlayBook (Marmalade + iwgame)
I'm using iwgame on a test project and I was trying to render different resolutions of JPG and PNG images. Everything works fine on the Marmalade Simulator, however once I deploy the game to our ...
1
vote
1answer
151 views
Absorbtion 2d image effect
I want to create a specyfic 2d image effect. It consists in modifying a sprite so it looks like it is being zoomed to a point or "absorbed" by that point. I'm not really sure what is the technical ...
7
votes
3answers
560 views
Storing a Hex Grid
I've been creating a small hex grid framework for Unity3D and have come to the following dilemma. This is my coordinate system (taken from here):
It all works pretty nicely except for the fact I ...
4
votes
4answers
373 views
Can a high FPS negatively affect how a program runs?
Yeah I know this is a broad question and will get down rated, I'm just hoping for some answer before it gets closed.
Anyway, I'm using Slick 2D/Java to play around with graphics. I'm having some ...
0
votes
0answers
190 views
How to code a 4x shader/filter which emulates arcade crt display behavior?
I want to write a shader/filer probably in adobe Pixel Bender that will do the best job possible in emulating the fill of an oldskul monochromatic arcade CRT screen. Much like this here:
...
2
votes
2answers
622 views
OpenGL 3.0+ framebuffer to texture/images
I need a way to capture what is rendered on screen, i have read about glReadPixels but it looks really slow.
Can you suggest a more efficient or just an alternative way for just copying what is ...
1
vote
1answer
151 views
Lost transparency in SDL surfaces drawn manually
I want to create SDL_Surface objects for each layer of my 2d tile-based map so that I have to render only one surface per layer rather than too many tiles. With normal tiles which do not have ...
-1
votes
1answer
122 views
How do I increase the size of a buffered image to the left and upwards?
I need to know how to increase the size of my buffered image to the left and up, not just the right and down.
bI = new BufferedImage(yMax*size*5, xMax*size*5, BufferedImage.TYPE_INT_RGB);
2
votes
1answer
120 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 ...
-1
votes
2answers
175 views
Dealing with new animations in html5
Wish I knew of a better title, but the issue is rather specific.
So the producer of the game I'm working on has given me new animations to put in the game. I knew there might be issues right off when ...