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.

Filter by
Sorted by
Tagged with
0
votes
0answers
35 views

Is it possible to render 2D dynamic sprites during runtime? [closed]

I am researching to see if we have the technology to create 2D dynamic characters during run time. What I mean by this is the character would already be created in the game, just we will give them ...
0
votes
0answers
7 views

Adobe Animate Visible Masks & Layers for Character Mouth/Teeth Movement

I'm working on animating a characters mouth opening and closing. The layers for this character are currently ordered:Body < Mouth < Teeth. When I animate the ...
0
votes
1answer
23 views

How to change size of a SINGLE tile on a tilemap at runtime?

I'm having trouble figuring out how to change the scale (size) of a single sprite (tile) on a Unity Tilemap. In the game, I place trees as tiles on a tilemap, and when they grow over time, I want to ...
0
votes
1answer
42 views

Choosing Number of Points and PPI Resolution To Future-Proof Game Images

I'm working on an iOS SpriteKit game and I'm currently designing some images to be used as character animations in Photoshop. There are many different iPhones with various screen sizes and resolutions,...
1
vote
0answers
23 views

Two neighbouring wall sprites have visible connecting egdes (generated in Blender)

I use Blender to model walls. I render 2d sprites of these walls in a (gaming) isometric perspective. My problem pertains to the "edges" of the 3d wall: On both left and right ends of the ...
-1
votes
1answer
37 views

Create list of objects with a for loop pygame/python

Hi everyone I am trying to make a Mahjong Solitaire game using pygame. I want to create a list of objects (the tiles of the game) using a for loop, but I can't manage to set a different type (the ...
0
votes
0answers
28 views

Filling out letters from TMPro in Unity

I got this Japanese font called RampartOne-Regular and created several Font Assets for TMPro to use and so far it is running smoothly. The problem with this font in particular is that the fill of the ...
1
vote
1answer
75 views

How to create endless background in a 2d top down game?

I have a seamless background sprite, and I do not want the player to be able to reach the edge of the background. Setting huge width and height in tiled drawmode doesn't sounds like a solution. How ...
0
votes
0answers
50 views

match-3 Board border

I'm new to unity and I'm currently working on a match-3 game. I know there are a lot of similar games and that's why I would like to know what is the best way to autogenerate border of a match-3 board ...
0
votes
1answer
67 views

Creating a background image with Photoshop for Unity

I'm making a home screen for my game. I don't know how to transfer a 2d image from Photoshop into a game that's on Unity. How do I import the image and make it visible in game? It’s a 3D game. I don't ...
-1
votes
1answer
53 views

How to make environment art like the building interiors in Digimon World 3 [closed]

I'm wondering how to create art like this (the map, not the characters), is this 2D or 3D?
0
votes
0answers
20 views

how can I recreate the transitions in Xybots when the character turns or moves?

Xybots is a pseudo FPS game akin to Dungeon Master on the Amiga. Instead of smooth movement in any direction in a game like Doom, your player is on a grid and can move only in four directions, and can ...
0
votes
1answer
168 views

How can I bake 2D sprites in Godot at runtime?

I would like to use the technique described here to create a player sprite with unlimited clothing and equipment options (like in Stardew Valley). To elaborate: I want to have a sprite sheet for the ...
0
votes
1answer
11 views

Which are the corresponding parameters for rect and pivot in exporting an editor defined sprite, to be re-created using Sprite.Create?

Which are the corresponding parameters for rect and pivot in exporting an editor defined sprite, to be re-created using Sprite.Create? I've tried both .rect and .textureRect for storing the editor ...
0
votes
0answers
34 views

Layer sprites according to their vertical position

I need advanced blitting options in my game. It's a 2D game that has trees' sprites along with the player's sprite. I want that every tree sprite to be displayed either in front of or behind the ...
0
votes
1answer
61 views

How to keep objects in the same position relative to their parent?

I'm writing a simple game in C# and i'm having some difficulty to calculate the local position of a sprite. What i'm aiming to achieve: Calculate the sprite "local position" relative to the ...
0
votes
0answers
118 views

Unity 2d Sprite Swap Help

i know that that's is a very old unity issue. I'm doing a 2d pixel art rpg and i want to sprite swap whenever the player gets an armor (helmet,vest,boots...). I created an empty gameobject and childed ...
0
votes
1answer
20 views

SpriteAtlas's sprites not initialized in ScriptableObject?

I am trying to implement a simple abstraction over SpriteAtlas where I can simply request texture coordinates for a certain ...
0
votes
0answers
51 views

How to make under-construction sprites have blueprint graphics?

In my game, every placeable object and structure will only be placed as a blueprint, which the characters will then automatically build. An example from "RimWorld": Objects placed as ...
0
votes
0answers
41 views

How many Sprite Atlases should be used?

I am using Sprite Atlases in my game to fix a bug with gaps between tiles as a result of oversampling, and I started wondering how the atlases should be used. What I'm asking here is whether I should ...
1
vote
0answers
62 views

2D Armor/Weapon System (Paperdolling)

I´m currently working on a 2D RPG where you should be able to compose your character from diffrent armor/weapon parts. For example the character can wear a "wooden helmet" and a "chain ...
0
votes
1answer
37 views

Sprite transparency fails when rendered through shader

I am currently trying to implement a shader to a sprite of mine, but the transparency is completely removed when the texture goes through a Sample Texture 2D node. The sprite under the Sample Texture ...
1
vote
1answer
46 views

Making Sprite Movement Appear More Natural

Currently I have a 2D game in which the player and a computer controlled (non-player) sprite move from point to point collecting tokens in a continuous environment. The player and the non-player ...
1
vote
1answer
59 views

Editing Pixel Art, Copyright and "The Ship of Theseus" Problem

(Please read the entire question before you crucify me :p) This is a question that has been on my mind for some time. Basically, How much of a sprite needs to be changed in order for you to claim &...
0
votes
1answer
28 views

text - part of the sprite or dynamically generated

I am trying to reproduce the same stamping tool as the one we found in the video game "Papers, Please". In my case I want my users to be able to modify the text they are going to stamp. I ...
0
votes
0answers
86 views

How to remove a sprite from a group?

I am trying to make a chess game with Pygame, but am unable to remove the chess piece when it is captured. Stack Overflow already has a question on this here. But this code doesn't seem to work. When ...
0
votes
0answers
19 views

Sprite sorting is working fine but tilemap sorting is working the opposite way I want it to [duplicate]

I provided some screenshots to display what I'm talking about. The blue tile is a sprite, and the bushes are made from tilemap, each being 4 16x16 tiles. My transparency sort axis is set to 0,1,0. I'...
4
votes
1answer
908 views

Invert the colour of pixels where 1 bit sprites are overlapping

I have a simple scene in Unity that makes use of some simple art that uses either white or transparent colours to create a 1-bit art design. The image below shows this. I want to have a that if two ...
0
votes
0answers
23 views

how would i make a sprite go in front and behind a 2d wall? [duplicate]

I've tried a few solutions but none seem to work. first, I tried adding half of that same sprite onto the original and then making the layer higher, which would work, except my original sprite can ...
0
votes
0answers
23 views

Turning a flashlight on/off via SetActive

I don't know if this matters, but I'm using Unity 2D. The code only turns the flashlight off, but not back on. ...
0
votes
0answers
39 views

Why does 'SpriteRenderer.drawMode' virtually change from Tiled to Simple when 'SpriteRenderer.size' exceeds some value?

Given: texture size = 225x225 2D sprite object; SpriteRenderer.drawMode = SpriteDrawMode.Tiled; Now if SpriteRenderer.size is changed to 286x286 the sprite is ...
0
votes
1answer
88 views

Identify when Unity Button Enters Pressed State

I am trying to create a UI Button Prefab with a text child element that I would like to use all over my application. Its intended behavior is very simple: Its size would be dependent on the text's ...
1
vote
0answers
49 views

How to properly delete unwanted models

I am implementing bullets into my game, and each bullet has a lifetime. Whenever the bullet has existed for a set amount of time or collides with an object, the bullet should be deleted. I implemented ...
1
vote
0answers
54 views

Parsing Sprites from Spritesheet

How can I parse a spritesheet consisting of scattered sprites with different sizes, like this example and return the (x, y) and ...
0
votes
0answers
52 views

Unity 2D Problem: Tilemap Tearing ONLY in Scene View

Facing an annoying problem with unity, googled to no avail. Basically I was having tilemap tearing so I created a sprite default material with pixel snap on. This fixed the tearing when running the ...
0
votes
2answers
33 views

How to handle player slowness while moving up and down in a Top Down game with angled ortho camera and angled sprite due to stretching of ground?

So i'm making a 2D top down game setup in 3D using tilted Sprites and angled orthographic camera. My camera setup is as shown. In my game I have the floor flat on the X/Z plane with walls/characters ...
1
vote
0answers
18 views

How do I change a sprite using code from another node? [duplicate]

I'm trying to make a program in Godot where the player can put a bunch of images into a folder, and when the button is pressed, have the image appear as a sprite on the screen. With the current code, ...
0
votes
1answer
281 views

How can I set up a 3D camera for a top-down game like Enter the Gungeon?

DodgeRollGames, the developers of Enter the Gungeon, tweeted that the game was in fact made in 3D They tried to explain how they set their camera in this reddit post. Basically what they said was : ...
0
votes
0answers
23 views

Weird "jiggly"/"warping" effect on my tiles

I need help with a problem I'm having in Unity regarding a "jiggly"/"warping" effect. It is a strange effect which occurs when I move my sprite character and makes the tiles have ...
0
votes
0answers
62 views

LibGDX Shader that converts sprite to single colour with blurred edges

I made a shader which turns all the colours of the texture to black but I also want it to be blurred at the edges where the opaque sprite turns transparent. Original texture with desired output. <...
0
votes
0answers
33 views

How to choose between 2D sprites versus 3D models for a 2D game? [duplicate]

I wanted to know how to decide between using 2D vs 3D models for games. What are the advantages/disadvantages of using 3D models versus 2D sprites in 2D games?
0
votes
0answers
14 views

Make a child sprite match the layer ordering of its parent

I have my project settings set up to order the sprites' visual layering based on their y position. If I add a sword as a child to my character, the sword won't have the same order as the parent so ...
0
votes
1answer
104 views

Make enemy move diagonally in 2D

I'm making the enemy follow the player only straight or diagonally e.g.(1,1)(1,0)(0,1)(-1,1). I expected the problem that I have, but I don't really know how to fix it. When my enemy is placed ...
0
votes
1answer
35 views

Lights not displayed on Sprite

I have a scene that contains 3 elements: Main Camera A 2D Sprite that renders a single white pixel image, scaled to 2000 x 1000 A point light with a yellow color What should be done so that the ...
0
votes
0answers
55 views

Having Problems in PyGame with Mouse Cursor and Sprite Collision

I know something is not right but I'm just starting out and hit a wall. Basically, I just want to MouseClick on a Sprite and make something happen. The mouse clicking itself works, the sprite ...
1
vote
1answer
75 views

How should I setup my sprites for 2D combat?

I was painting pixel sprites of a goblin (the enemies in the game). I first thought of making sprites of it for each different scenario: facing camera, moving toward camera 1, moving toward camera 2, ...
1
vote
0answers
61 views

How to use HD and SD sprites in Unity addressables

I am able to load sprites using Unity addressables. But how can I use SD or HD variants of a sprite based on my device resolution? Previously I was using LIBGDX, and it has ...
3
votes
1answer
148 views

Why use sprite tile maps on the GPU in WebGL?

I'm trying to figure out the best way of rendering my layered tiled maps with WebGL, and have come across this tutorial several times: https://blog.tojicode.com/2012/07/sprite-tile-maps-on-gpu.html ...
0
votes
0answers
31 views

How do I determine that the edge of the camera intersects the edge of the background sprite? UE4

I'm trying to make sure that when the camera reaches the border (left or right) of the sprite's background, a copy of it is spawned from the corresponding side. But I seem to be missing something in ...
-1
votes
1answer
31 views

How can I create a musical sheet using sprites?(Ocarina of time )

I am looking to make a musical sheet similar to the image below: I want to: use sprites prefabs have each sprite correspond to a different line Move down notes are more are being played have tail ...

1
2 3 4 5
22