Questions tagged [image]

Questions related to images, including creation and modification

Filter by
Sorted by
Tagged with
0 votes
1 answer
47 views

How do you determine which 4 pixels to interpolate, using bilinear interpolation?

I read about bilinear interpolation on Wikipedia and many sources, but I still don't understand how do you determine which four pixels to interpolate. For example, if I have 5 pixels(y=0), do I ...
0 votes
1 answer
110 views

1920x1080 Image don't fit to 1920x1080 screen

I'm making a game with pygame and I wanted to add a background for my game. I'm trying to add a 1920x1080 background to a 1920x1080 screen, but part of the background is not visible. My code: ...
0 votes
0 answers
29 views

OpenGL multiple Compute Shader passes creating a checker pattern

I'm working with OpenGL 4.3 compute shaders and I've run into an issue where it seems to fail to write/display every other pass. The code takes in a raster file from GDAL and loads it into an initial ...
  • 1
0 votes
1 answer
50 views

Size of an object based on a variable

The code shown below is meant to change the size of a bullet based on a changing variable. But when I put this code in the create tab, the size of the bullet stays the same, regardless of the variable'...
3 votes
0 answers
176 views

How can I generate random splatter shapes like these?

I am trying to make a tileset. I made some tiles by hand in GIMP using one of the included pencil shapes. I would like to automate the process. They need to fit in the square and have the features you ...
  • 107
1 vote
0 answers
292 views

Rendering 3D items in a GUI in Unreal Engine

I have various buildable 3D items in my game like so: These are just a few, but there will eventually be hundreds of them. The models of each of these items are displayed to the user as part of a ...
  • 177
0 votes
2 answers
67 views

Make materials higher quality as the user gets closer

Scenario I have a sphere with an low-quality earth texture on it. I also have a much higher quality earth texture (Gigabytes in size) that I can use but it's too performance intensive to use on most ...
  • 191
2 votes
2 answers
81 views

What do you call an image of images? (And how does it get utilized?)

I wondered if anyone knows the terminology in which a Video Game uses an image with sets of ideas such as icons, graphical texts, and/or background images. Essentially, an 'All-In-One' image. Likewise,...
  • 35
2 votes
1 answer
419 views

How to access a ViewportTexture's depth data as an image?

I make use of ViewportTextures, kind of like rendering security cameras on screens. Now, I'd need to access the depth textures to do some comparison of images / pixels. How do I access the depth data ...
  • 1,048
-3 votes
2 answers
190 views

Better use background chromas or transparency?

For png 2D sprites, its better use chromas or alpha channel? What is more performant during run-time processing? What uses less storage? Any difference between ...
0 votes
1 answer
31 views

Icons and imagery rights

Can someone tell me if the icons and images of TravianZ in this GitHub project are public domain? I need to create a similar game and need only the town / buildings images. Seems the project was ...
  • 111
1 vote
0 answers
86 views

Is there a way where we can verify if certain image is 3D or not [closed]

I wanted to understand - Is there a way where we can verify if certain image is 3D or not So basically I want to automate the process where we can detect if certain given image is of 3D or not Problem:...
0 votes
0 answers
62 views

Dynamic UI Canvas on Mesh

I have dynamically generated images in WorldSpace Canvas and I need to put them somehow on shield that crashes. Is it possible tu put that canvas on mesh shader texture or render it on texture? How ...
1 vote
1 answer
52 views

The gameloop is stucking the window

I tried to display a player image in a 800x600 window using PyGame but when I try it, the window just gets stuck (immovable with mouse drag, minimize,maximize and close button is stuck and not ...
's user avatar
1 vote
1 answer
64 views

How can I let the user choose his own background image?

Dear Stackoferflow Fourm I would like to have a function in my Android Game Programming that allows the user to choose his own background image (I would like to let the user change the plane image) ...
0 votes
0 answers
540 views

How to load a PNG in pure C

PNG loading: I've been creating a game engine for almost a year, and since the start of the development, I have been using stb_image for loading images. It ...
0 votes
1 answer
4k views

Texture with Transparent background has black background in Unity

please see the below image. I made a model in Blender that has eye meshes with UV mapped Pupils. But trying to import all this into Unity is causing tons of weird visual errors... The pupil png has a ...
  • 11
0 votes
0 answers
70 views

Display/hide image with zoom in/out

After spending a while looking through the forums, I haven't been able to find a thread that deals with transforms on an image. Essentially, what I'm trying to do is display and hide an image at the ...
  • 89
0 votes
0 answers
364 views

Jumping a image in javascript

Which is the most efficient way to animate an HTML <img> element in vanilla javascript so that it jumps and falls back with acceleration. Edit: Im adding ...
0 votes
1 answer
349 views

Unity UI Objects edges are not smooth

I have this Unity UI Image placeholder and here is the snapshot As you can see its edges are not smooth. First I thought this is editor problem but after making the build it remains the same. What i ...
0 votes
1 answer
1k views

Different resolution for UI?

I'm developing my first game for mobile devices in Unity3D. My game uses a 720p-resolution. Currently the UI uses the same one. So far so good. I heard that professional game-developers create their ...
  • 229
1 vote
1 answer
251 views

Huge procedurally generated subway transit map

How could I generate a single transit map image , which is not based on any real map, on a massive scale? Are there algorithms or tools which could do something like this already? Unlike ...
  • 111
0 votes
1 answer
644 views

Health bar without image collapsing to the centre in Unity 2D

I am trying to create a health bar that collapse symmetrically to the centre. The color palette of my game is minimal and the health bar is only one color that does not change with size. I am new to ...
  • 103
-1 votes
1 answer
290 views

Loading the map from an image file in C++

For my platformer tile-based game I want to be able to load the game map from an image file. Consider the following 25x15 px .png (enlarged) representing some level: Assume that each specified ...
  • 541
0 votes
1 answer
34 views

Actual Sizes of An Image loaded with a Path

I have a method which selects an Image from device. I need to show this image to users. The codes below works fine, does what I need. ...
  • 13
0 votes
0 answers
2k views

Is there a way to assign a texture to a button and resize it in the Unreal Engine?

I'm attempting to create a main menu for my game and have followed an easy tutorial to do so. The tutorial doesn't cover assigning textures or images to buttons, so I set out to do this myself. ...
0 votes
1 answer
129 views

How do I permanently set the interpolation for every image, sprite, and texture in pyglet to GL_NEAREST in pyglet?

There are plenty of examples of posts that describe how to set the default interpolation of specific images to GL_NEAREST, for example here, but they all have to be run after the image texture is ...
  • 103
1 vote
1 answer
262 views

How to add lighting to a 2D Tile-based game in JavaFX?

I'm making a 2D roguelike tile-based game with Java and JavaFX. I'm currently working on adding lighting and darkness to the dungeon, but whenever I try running it, it takes a very long time to load, ...
0 votes
1 answer
1k views

How to make a world map from image like in paradox games? (Java, LibGDX)

I'm working on a grand strategy game similar to those made by Paradox Game Studios with their Clausewitz engine. I'm trying to create the world map from an image. On that you can see the areas, and ...
0 votes
1 answer
42 views

How do I make an image appear based on the current state I'm in?

I am following a tutorial called Complete C# Unity Developer 2D: Learn to Code Making Games. In one section we create a text-based game, where we display a canvas with some UI elements to the user. ...
0 votes
1 answer
323 views

Color of Image changes to white between 2 positions using Color.Lerp - Unity

Hi I have an empty object barHolder that I move between 10 and 98 on x-axis. It has 2 child ...
0 votes
0 answers
17 views

How can I generate high feature point images for recognition within an Augmented Reality app?

I need to automatically generate 300-400 images (for a print medium) which will be used by an AR app (using ARCore). The printed physical image ideally would be 5" x 8" but can be 5" x 5" as well. ...
  • 101
0 votes
1 answer
241 views

Libgdx - Screen tearing (or artifacts) while in fullscreen

I have a problem with libgdx, fullscreen and what I believe is screen tearing or any other sort of artifact. In windowed mode, everything works fine, but when i switch to fullscreen, moving sprites ...
0 votes
1 answer
71 views

LIBGDX - Artifacts when scaling background image

I've got a problem with libgdx. First off, im working with libgdx and box2d on a little physics game. Im using the aproach mentioned in this answer and thereby setting my camera to some smallish ...
1 vote
1 answer
839 views

Why are my screenshots created through a RenderTexture too small?

Current render result: When I am rendering image in Unity and saving as file(.png), quality of those files are reduced. They become tiny and very poor. How can I enhance that? Dimension of the ...
0 votes
2 answers
191 views

How do I use images with copyright in my game? [duplicate]

Our game requires to show images from movies, cartoon characters, etc. but we don't know how we can include them. We have seen that games like QuizUp and other guess the pic like games have images ...
0 votes
3 answers
4k views

Stopping the texture2D from stretching in RawImage

I am working with a RawImage texture which is fully stretched, filling up the entire scene. I am using some code to download images from website and then show them on the RawImage, the code is simple, ...
0 votes
1 answer
1k views

How to get rid of the white border/background on my png image?

I am making a game using pyGame; it is basically a space invader game, with a tank. As we can see, this tank image I have has white borders / a white background, which I really want to get rid of. I ...
  • 103
2 votes
3 answers
3k views

My SVG graphics don't look as good in Unity as they do in my web brower

I thought had an easy solution to getting nice smooth edges on all of my images: export them to .svg and then use Unity's new SVG importer package. However, my svg images don't really look better once ...
0 votes
0 answers
84 views

How can I send a Base64 Image?

I'm looking to make a post request with a base64 image. When I make the request, I get an error called "ERROR_IMAGE_SIZE_0" ...
0 votes
1 answer
266 views

How to keep consistent between image quality, device range support and final size of the game?

I am developing a game with the LibGdx framework, but I would like to discuss a more theoretical question. Criteria: I want to support as many devices as possible for my game (phones and tablets) I ...
0 votes
1 answer
92 views

When I open an image from Unity in preview it's blank?

Ok, I need to know why this is and don't have the .png anywhere else. I have a texture in Unity that I need to edit in Photoshop, yet when I Reveal the image in Finder then open it in preview or ...
  • 131
0 votes
1 answer
89 views

Unable to add asset/sprite, not sure why

I'm using Unity and have a 2D project. I'm trying to add a background image to my project/scene, but I'm unable to. Adding smaller .png files to the project work fine, by simply dragging them onto ...
  • 189
1 vote
2 answers
2k views

Unity Build not working because resources.assets is over 10GB in size.

I made a application where a bunch of images are loaded and placed in 3d. The total amount of images in the asset folder are about 10.000 images. Only 1100 random of these images get actually used in ...
1 vote
0 answers
1k views

Unity Pink Texture On WebGL

I'm trying to follow a youtube tutorial for my new game(images puzzle) and by using it's implementation on github to upload it later on facebook. When I run the game inside unity editor its work ...
0 votes
1 answer
353 views

How to prevent images from being resized in game maker?

This warning appeared in the compilation menu of my game. The images were rescaled in half. I understand that this happened because they had very large dimensions. It turns out that the images, ...
0 votes
1 answer
105 views

Unity use image to load prefabs along a line

Say I have an image of PNG or a bitmap with a line zigzagging through it. I have done quite a bit of research in the answer still eludes me to how to use an image in unity and have it generate ...
1 vote
0 answers
681 views

LibGDX background image not fitting the whole screen

I'm trying to add a background image to the game's main menu, and when I execute the game as a Desktop Application it fits OK, but if I execute it on a movile device (or using a virtual device) it ...
1 vote
1 answer
296 views

Add picture in the Hierarchy view in Unity

How can I add a picture in the Hierarchy view in Unity? For example, Dragon bones does it automatically. Here it is : As you can see there is a picture on the right of the gameObject name.
  • 107
2 votes
1 answer
920 views

How do I detect a given sprite's bounds automatically using Java?

Background I have the following png file that contains the player sprite. As with any png file, the non-colored pixels are ...

1
2 3 4 5