Questions tagged [image]

Questions related to images, including creation and modification

Filter by
Sorted by
Tagged with
0
votes
1answer
25 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. ...
0
votes
0answers
35 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
0answers
27 views

Fast route for utilizing images produced in python matplotlib (or within Julia) to be displayed in Unity?

I would like to use within Unity heatmaps produced with matplotlib invoked using python or julialang such as the heatmap shown in: Source: heatmap from matplot lib I can invoke python (or Julialang) ...
0
votes
1answer
33 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 ...
0
votes
0answers
13 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
0answers
22 views

Need help to find a way to make a image mapping

I need some help to find a way of creating a simple game in any language/software/technology. What I have to do is to map a png image in order to create a correct "path" for a player so he can make ...
0
votes
1answer
95 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
1answer
13 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
1answer
24 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
0answers
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. ...
0
votes
1answer
46 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
1answer
22 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
1answer
72 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
2answers
97 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
2answers
46 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
0answers
60 views

Godot: How do I change my icon to my export

Changing My Icon I want to change the file icon to my exported project. After reading the official documentation and downloading and trying both versions of rcedit in the editor it did not work. ...
0
votes
1answer
144 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 ...
1
vote
3answers
261 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
0answers
55 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
1answer
153 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
0answers
122 views

ImGui: disable window move with drag event on image

I'm displaying an image with ImGUI like this: ...
0
votes
1answer
26 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 ...
0
votes
1answer
17 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 ...
1
vote
2answers
552 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
0answers
247 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
1answer
241 views

World space coords for 2d images

How can I make an 2d image using World space coords with a shape? Like a circle instead of a quad.In 3d you can modify the vertices but if I want a smooth circle there will be too much vertices. What ...
0
votes
1answer
31 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
1answer
40 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
0answers
405 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
1answer
98 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.
3
votes
1answer
470 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 ...
0
votes
1answer
183 views

How to make progress vertical bar increase instead of decrease

I have a script for a vertical progress bar using filled image but the image decreases (basically you can see the full image when the game starts and then it goes down, like a health bar) but since it'...
1
vote
0answers
86 views

images loaded onto texture appear completely white

I am applying a texture to a primitive plane using ARKit and Unity like so, ...
2
votes
1answer
738 views

How to view 360 degree images in Unreal Engine 4

Is there any way I can view 360 degree images in UE4, Ive read about possibly mapping it onto a hollow sphere however it always seems warped. I am working on a virtual tour and would like to be able ...
1
vote
1answer
123 views

How can I improve the display of my png files?

I develop a mini Android game available from my github (also the release apk file). The game is for kids and you are supposed to catch falling object and get points for that. Now I just created png ...
-1
votes
1answer
378 views

Coroutine doesn't work

I've been trying to make this work for days and I can't figure it out. I have a code, attached to an enemy prefab, that should display an image a couple seconds after an enemy spawns (this is to show ...
0
votes
1answer
81 views

Get object position on texture

I'm rendering a 3D object to texture (2048x1600) and show this texture on a panel (1600x285) using a RawImage (2048x1600) component as child. This texture is rendered successfully on screen. This 3d ...
1
vote
2answers
80 views

Display image a couple seconds after an enemy spawns?

So right now I have enemies that spawn behind objects with a delay. What I need is to display an image on the screen 5 seconds after each enemy spawns (it's to show the player it has been "attacked")...
1
vote
1answer
2k views

UE4 Image Asset From String

I have a custom widget with an image component. I want to change the image dynamically based on a string from a data table. How do I do this?
1
vote
1answer
244 views

Processing large multi layered images with SharpDX

I'm currently working on an image processing project that pans and zooms on multi-layer high resolution images. The goal is colorize (including color, gain and noise) ...
0
votes
2answers
2k views

2D UI - Image with 1px border randomly gets different thickness

I created a test image that is 60 x 60 px, which has a 1px border. I then drop that into Unity as a UI sprite image set to the same size, however the 1px border on a few sides can appear to be ...
1
vote
0answers
346 views

How to load data from stbi allocated memory into java managed memory?

LWJGL3 provides me with simple wrappers around nothings' stb libraries. In order to load images I thus make use of the stb_image wrapper. My issue is that when I use this wrapper library, all I get ...
1
vote
1answer
51 views

Ground texture comes up blurry using the UV Rect Tool

Im trying to recreate the ground as this sample sprite sheet: https://opengameart.org/content/post-apocalyptic-expansion I downloaded the sprite sheet and extracted the top left block and saved it ...
1
vote
1answer
100 views

How to reduce the size occupied by my video animations?

I have a mobile game but my build size is currently 4gb. Furthermore, it crashes on open and I suspect it has something to do with the huge build size. In my project are 10 animations made of a ...
1
vote
0answers
37 views

What is the perfect sprite size for new ipads with retina displays [closed]

The graphic designer is sending me huge sprites 3000px in width drawn by hand. And now the company is hiring a professional painter to paint huge oil paintings for the game for other levels. Nothing ...
1
vote
0answers
58 views

How to hexagonate an image

I am making a biome map based off the entities in that area but I'd like to make it hexagonal shape instead of a cube. How would I do this? Or at least a better defining word on what I'm speaking of ...
5
votes
2answers
671 views

Unity: How can I get realtime image capturing at ~60fps?

I am writing an application in Unity which will be required to capture an image from a camera every frame (at ~60fps), and send the resultant data to another service running locally. The issue is, I ...
2
votes
1answer
803 views

Effect only on one object (two cameras)

I have a problem. I want a Grayscale effect to be applied ONLY to the chair on the stage. The chair has a layer CurrentItem. And I have two cameras: ...
1
vote
1answer
115 views

How to make proper animations for a html5 game?

I am working on a web based MMORPG in html5. Therefore, I think about using Phaser.io to be the main engine of the game on the client side. I want the game to be isometric and I am wondering how to ...
1
vote
1answer
782 views

How OpenGL works with Windows GDI in order to produce output image on computer screen?

I am curious how GDI integrates with OpengGL in order to create image for computer screen. I know that GDI provide Device Context which describes window properties and as far as I know it also offer ...