Questions related to images, including creation and modification

learn more… | top users | synonyms

1
vote
2answers
600 views

Cocos2d: Moving background on update: offsett issue

working with Objective C, iOS and Cocos2d I am developing a vertical scrolling shooter game for iPhone (retina display models with 640 width x 960 height pixel resolution). My basic algorithm works ...
2
votes
1answer
250 views

How to Reciprocally draw on a 3D mesh and 2D UI Image in Unity?

My question is a bit involved so I'm going to split it into parts and attach a picture. 1) In Unity I'd like to be able to draw a line on a 3D worldspace mesh with the mouse. 2) As I'm drawing on ...
1
vote
1answer
69 views

Hybrid App - Game Encyclopedia Image Asset

An in-game encyclopedia usually consists of entries and images for things related to the game. For example, pokemon's pokedex. Image of Pokemon, text description and so on. I've happen to encounter a ...
0
votes
1answer
81 views

Problem with transparent textures in SFML

I have been told that this is kind of a common problem with transparent textures, but didn't get any further information on how to solve it. In my code, I'm trying to render this texture (a square ...
3
votes
0answers
112 views

Change color of bitmap

I am attempting to understand the easeljs ColorFilter and its use with cache. There is quite a bit of information at the easeljs site but it's not clear based upon the examples and documentation. ...
3
votes
0answers
41 views

Java image in JFrame rendered weirdly

I'm not sure if this is intended or not, if it is, I'd like to know a way of preventing this: I've got this image (which is for testing purposes, the actual one has a texture, but I'm not using it ...
1
vote
0answers
19 views

How do I resolve the inability to get an input stream from URL?

I am unsure if anyone has ever had problems with this, but I am having difficulty trying to get the URL to work properly however, this is what the logs says javax.imageio.IIOException: Can't get ...
1
vote
0answers
27 views

Getting the polygon footprint from a map

I'm trying to implement the Explicit Corridors method to generate a navmesh for a large city. The algorithm takes a list of convex polygons representing the obstacles as input. The paper only ...
1
vote
0answers
59 views

Image Buttons Have Low Resolution Quality

I'm using Synfig Animator to draw my animations for my android game I'm also using Android Studio to write the code for it, However. On testing, the images that i'm using looks very bad and unfocused ...
1
vote
0answers
25 views

Ericsson compression for normal and bump maps

how does ETC2 fares when compressing normal maps and bump/height maps? Since we are talking about using an algorithm created for visual fidelity, applied to vector and numerical data ⃰ I'm quite sure ...
1
vote
0answers
81 views

Get original image size in Ren'py

I'm building a visual novel and in one scene, I want to have a couple of different images move from one position to another and change size as it moves. My first position is called "doorway", my ...
1
vote
0answers
3k 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 ...
1
vote
0answers
531 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: http://...
0
votes
0answers
16 views

In Processing, why does this call to image() cause an error?

Here is my code: Hero robinHood; Arrow arrow1; PImage bg; PImage left, right, still; float positionX = 383; float positionY = 455; void setup() { size(800,600); bg = loadImage("background1.png"); ...
0
votes
0answers
163 views

How can I change the color of the default android drawable star?

I asked a question before and I got an answer to do this: Drawable drawable = getResources().getDrawable(android.R.drawable.btn_star); drawable.setColorFilter(Color.YELLOW, PorterDuff.Mode....
0
votes
0answers
16 views

Java keyListener animating bufferedImages

I am making a game similar to a photo scramble/unscramble game which requires the use of keyListeners. I set up the logic but when I code the animations, they just sit there and do nothing and ...
0
votes
0answers
53 views

Scrolling Background - smoothest way

I am trying to find the best solution for drawing a scrolling background in my app in Java. For now, I have two images and I move them by 1x and put it's thread to sleep for hmm, 5ms. The problem is ...
0
votes
0answers
92 views

File and Image paths in a .jar file

im making a bomberman game and im close to getting it done. The game works ok when i run it in netbeans. I can run the game in any PC that has netbeans in it. But when i build the project into a .jar ...
0
votes
0answers
30 views

show different color areas of image on touch

How do I show colors filled in on a colorless version of an image on user touch. (for example color mania or guess the colors app). I know one way is to provide the same image 3 times (for 3 colors) ...
0
votes
0answers
50 views

How do I apply Farseer Physics Engine Collision on my image? I tried it on my codes and it is not working

How do I apply Farseer Physics Engine Collision on my image? I tried it on my codes and it is not working. PoolGameSingle poolgame = new PoolGameSingle(); var cue = poolgame.CueStick; ...
0
votes
0answers
135 views

Load different grayscale images into the same texture

I have a series of images loaded as data1 = stbi_load_from_file(file1,&width,&height,&comp,1); data2 = stbi_load_from_file(file2,&width,&height,&comp,1); data3 = ...
0
votes
0answers
73 views

Drawing pathmap [Solved]

I am developing an editor for my game and I like to implement something like this (screenshot from wc3 editor): (I need the pathmap) I have one implementation already, I just store in chunk renderer ...