Questions tagged [sprites]
A 2D rendering of an object in space. Sprites are two-dimensional bitmaps that represent objects or entities in a game and populate larger scenes.
1,171 questions
0 votes
1 answer
59 views
Rendering Sprite from tightly packed atlas onto RenderTexture
I'm currently working on a Unity BepInEx Plugin that should allow users to customize certain textures in the game. As part of this, I need to extract sprites from a sprite atlas into individual ...
3 votes
0 answers
140 views
Displaying pixel art at any resolution with subpixel movement
The Goal I have a game in Unity which utilizes pixel art. I'm not following the standard rules of pixel art, however. I'm ok with sprites having different sized pixels, pixels rotating, and pixels not ...
0 votes
0 answers
148 views
Why does a sprite with a larger texture render faster?
While drawing a map for a game in Pygame, I encountered a strange problem. Loading my grass sprite, which is a little over a kilobyte, and placing it, the FPS dropped by half. However, replacing the ...
1 vote
0 answers
63 views
How to hide a Sprite unless it is illuminated by a Light 2D?
I want to have a sprite that is invisible when outside of light, and visible when inside of light. I created a new Custom Lit Shader Graph in Unity 6 with the following setup: I then created a player ...
0 votes
0 answers
56 views
Blurry Board Game Node Images in Unity (UI & Sprite Issue)
I'm developing a board game in Unity and facing an issue with image clarity. The board consists of multiple nodes, each displaying a 480x600 px image. However, these images appear blurry and ...
1 vote
1 answer
665 views
Why don't more top-down 3D games use an oblique projection, instead of tilting their models and sprites?
I'm making a 2D game in Unity that is set-up in 3D similarly to Enter the Gungeon, where I have an orthographic camera rotated 45 degrees. This makes sprites look wrong and I've seen two main ways to ...
0 votes
1 answer
158 views
How to make objects appear on the map at a certain distance based on scale?
Mode7 - Sprites on Screen / Pseudo 3D Scale x1: Scale x16: I'm trying to recreate this system with JAVASCRIPT: https://github.com/vinibiavatti1/Mode7/blob/master/src/mode7/FlatModeSeven.java The ...
0 votes
0 answers
57 views
Making Unity Particle System emission rate scale with Sprite "area"?
I'm using a Particle System with the Shape in the shape module set to Sprite Renderer, and the Type set to Triangle. As far as I can tell, the default behavior is for the Particle System's emission ...