Questions related to images, including creation and modification
0
votes
0answers
22 views
Bones & Blood Sprite [duplicate]
I'm currently playing with a small 2d canvas game for fun.
I'm looking for some images, primarily some bones and blood to be left in an XY position after killing an enemy.
Does anyone know where I'd ...
0
votes
3answers
77 views
Loaded Images are upside down
I'm using SharpDX Toolkit and load a png file with SharpDX.Toolkit.Graphics.Texture.Load(GraphicsDevice, Stream)
If I apply the texture to another texture it's drawn upside down.
The texture is:
and ...
0
votes
0answers
76 views
Drawing and rotating bitmaps (with transparency) efficiently in Android
I just started making a game for Android and I'm already having some issues regarding performance.
You can imagine the game as being some kind of Tower Defense game with a top-view, and the enemies ...
-2
votes
1answer
33 views
Cannot instantiate the type Image java?
public Image images[] = new Image[20];
for(i=0; i<10; i++){
images[i]=new Image(getClass().getResource("/images/"+i+".jpg"));
}
I am trying to add images to array but it gives the ...
22
votes
2answers
415 views
Best Way to allow players to “Dye” images without losing color quality?
I am creating a 2.5D isometric (2D images) game.
I want the players to be able to "dye" their armor, clothes, and other things. I find that grayscaling everything leads to losing out on some of the ...
2
votes
2answers
98 views
Should I create generic bitmap/sound/et cetera wrappers for Allegro?
Basically, I have been writing a game in C++ using Allegro.
I mostly just use the library to draw bitmaps, draw text, and play audio.
My main concern as the game continues to grow code-wise, is that ...
1
vote
2answers
98 views
SFML: Generate a background image
I want to generate a background, which is used in the game, on every instance of the game based on certain conditions. To do so, I'm using a sf::RenderTexture and a sf::Texture like this:
...
3
votes
1answer
140 views
Javascript tile map -> bitmap or JSON
I would like to know which idea is better in terms of performance.
The map is 5000x5000 tiles and I plan to expand it even more. It is split into 50x50 regions and camera doesn't move with player, ...
0
votes
1answer
87 views
Is there a need to set the parameters again when updating a texture?
Suppose that I'm developing the class COpenGLControl here in code guru to use it for showing a 2D texture in an MFC CPictureControl. and after applying some filters on the image, I will update the ...
8
votes
3answers
264 views
Why is it possible to encounter a texture coordinate greater than 1 or less than 0
I'm studying a text about texture mapping and in the preparing to draw session, I read:
Define the texture wrapping parameters. This will control what happens when a texture
coordinate greater than ...
4
votes
1answer
136 views
How do I draw a zoomable image in OpenGL?
Up to now I have used glDrawPixels but since my image is a large geotiff one, I'm getting some horrible results for example:
this is the code used for zoom extent:
void ...
1
vote
0answers
78 views
Good Resolution for 2D Games [closed]
I am trying to figure out what is a good resolution for my 2D platform game. My images are 16x16 and my frame is 640x480 but I will allow it to be fullscreen also. I need a compatible resolution for ...
2
votes
1answer
159 views
Libgdx loading images
I can't find a sulotions that solves my problem, I've tried pretty much every tip I can find, but with no luck.
Error :
Exception in thread "LWJGL Application" ...
1
vote
2answers
96 views
corona sdk scale images
How to scale images to full screen on all devices, i want to use %
The method I've seen so far is to define pixels
image_variable_name = display.newImage( "testimage.jpg", 100, 300 )
I want to do ...
0
votes
0answers
39 views
Trouble Reading Image File and Directory from Assets Even if it's Correct [duplicate]
I was wondering, I used the right directory of the image file and name as well for the app.
Strangely, I got an error on this result after I run the app and rendering an image whose image length and ...