We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [image]

Questions related to images, including creation and modification

Filter by
Sorted by
Tagged with
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
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
31 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
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, ...
3
votes
1answer
573 views

Unity2D: Scaling and Locking Image to anchor points

I have a script that uses Index to change an objects sprite using OnClick to move through the sprites, like a slideshow. I want the image to scale to the size of my anchor points, because I've notice ...
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
94 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
237 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
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
1answer
45 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
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
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
1k views

How can I map regions on a world map image?

I am trying to use a map of the real world, but I need to have a way to break it down by countries and regions. Ideally down to a province level. I figure that I'd need to be able to define ...
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 ...
3
votes
1answer
274 views

SDL2_ttf gradient

I want to render some text using a gradient instead of a solid color, but I can't figure out how to. I first load a gradient like this: ...
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
42 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
59 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. ...
5
votes
1answer
137 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
3answers
260 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
1answer
137 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 ...
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
151 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: ...
327
votes
20answers
347k views

Where can I find free sprites and images? [closed]

I need sprites and images, such as characters, landscapes and others. Where can I find them?
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 ...
1
vote
1answer
560 views

Showing background transparent image in android [closed]

I have a image with transparent background created from photoshop. I added this to my android game which I am creating using libgdx. But when I add it to that, it is shown with white background like ...
1
vote
1answer
2k views

Image Interpolaton for Rotation

I am building a 2D game in Java in which I use trig operations for rotation. I know Java offers an excellent graphics library but I intend to make my own code just for learning purposes. Now the ...
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
686 views

Using sprites in pygame without classes and objects

Relevant information I'm in a grade 11 computer science class that uses Python & Pygame. We're aloud to use sprites and images though we're never taught it, just drawing graphics like squares and ...
2
votes
2answers
8k 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 : ...
1
vote
2answers
542 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 ...
2
votes
1answer
5k views

How to make texture size correctly in THREE.js?

I'm new to THREE.js and I have a frustrating problem. I can't get my grass texture to size "normally" on the terrain. I get it, the terrain is steep, but that doesn't mean the grass should be ...
10
votes
3answers
4k 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 have ...
1
vote
0answers
244 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 ...
2
votes
1answer
550 views

How do I convert a partially transparent image into polygons?

I'm using GLEE2D, a level editor allowing me to import images, scale them, rotate them, and position them onto layers and export the data into XML format. However, it does not tell me objects' ...
1
vote
0answers
47 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
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 ...
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, ...
5
votes
3answers
23k views

How do I make a background fill the whole screen in Libgdx?

I'm using this code to set a 800x420 image to be full screen: ...
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
404 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
957 views

Unity Raw Image ui not showing when small

I have some Images online that I download using WWW class and the use as UI elements. So far all of them where working perfectly but now the one I added recently is ...
1
vote
1answer
97 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.
1
vote
1answer
99 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 ...
5
votes
2answers
665 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 ...
3
votes
1answer
462 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 ...
2
votes
1answer
148 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 ...