Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

A collection of sprites that are loaded into memory as one image.

1
vote
1answer
35 views

Unity - SpriteAtlas memory consumption

I'm in the process of optimizing my application memory consumption. To do so, I'm using Unity profiler while connecting to an Android device, which runs a development build of the application. The ...
0
votes
1answer
66 views

How to split sprites into multiple pieces, like in image below

Or how it should be called? I will change color programmatically. Sorry for my English.
0
votes
0answers
17 views

How to separate sprites to different files from a single sprite sheet?

I have this sprite sheet and its metadata file. I open the project in Unity Editor and open the file in Sprite Editor. Unity shows the borders of different sprites in the sprite sheet. However, I ...
0
votes
1answer
36 views

Multiple image objects extracted from spritesheets or one-two object for all?

Let's say I want to make a 2D game and I'll use a spritesheet containing all of the animation frames and a texture-atlas for static sprites such as walls, non-animated decorations...etc. Should I ...
0
votes
0answers
24 views

Spine: export both skeleton and spritesheet

I am follow this tutorial for animation using spine. In this tutorial, they are import components separately (i.e: head, body, hands, legs ...). After I finish animation part, I want to export to json....
1
vote
1answer
27 views

How can I have more values in array on X axis than Y axis in my tilemap?

Following my old question Array of map data renders the map the opposite way after I got the answer to it and fixed my problem, I got another problem that occurs. If my ...
0
votes
2answers
70 views

Parts of sprite disappear when zoomed out

I'm playing around with making a roguelike and I want to use ascii characters as tiles in the game. I'm using a 256x256 sprite map where each character ends up being a 32x32 box. This works fine, ...
0
votes
1answer
33 views

How to make my SpriteSheet be POT?

So let's say my sprite sheet has 3 sprites in one row. One sprite is 64 pixels wide and high. When that is combined my sheet would be 192 pixels wide and 64 high. So from that, how am I supposed to ...
3
votes
1answer
115 views

What are the legal considerations with using spritesheets? [duplicate]

If you google for sprites sheets, you'll find a lot of sprites sheets. As far as I can remember, industrial patents (the terms may not be the right ones I'm sorry), after 20 years, fall into public ...
0
votes
2answers
76 views

How to access sprite sheet via row and column

I'm currently designing a 2D game engine in C#, just had a quick question. I have a SpriteSheet class that splits up a sprite into several different sprites (like ...
0
votes
0answers
35 views

Send all sprites at once to a videocard in Unity

Is it possible to make the sprites be sent to a videocard all at once in the latest version of the Unity? For example in ngui I can specify ...
0
votes
0answers
34 views

Can we load sprites on-demand from server?

To minimize the size of the app file, I wish to transfer the animation sprites from the app to the server and load them on-demand when needed. Is there an efficient way to do this in Unity?
0
votes
0answers
74 views

How can I use a .json/.png spritesheet in libGDX?

I downloaded from opengameart.org a .png-file that is composed of various sprites and a corresponding .json-file with information where the sprites are located in the .png-file (see opengameart.org/...
0
votes
0answers
36 views

Animated spritesheet not working right

It worked on 1080X1920, but it dosent in my note 8 resolution. now it starts right, but when it gets to the 7th frame (in which it should start over) it takes another frame of the spritsheet and its ...
4
votes
3answers
560 views

Is there an easier way to get sprites from a spritesheet

One issue I have when working with API's such as Monogame and SFML unlike with Game Engines like Unity and Unreal is trying to extract sprites from a spritesheet. I know the method of doing it but it ...
0
votes
0answers
46 views

Direct2d - Stuck in loading animation

I have been trying to create a Mario game using Direct2d, but unfortunately I am unable to load images from the sprite-sheet, large enough, on the screen. I am using the following way to load the ...
0
votes
0answers
24 views

Spritesheet XML data (anchorX, anchorY)?

I have been working on this for days, and asking everyone I know, and no one can figure it out. Any help would be appreciated. I have a spritesheet, and a companion XML file. The XML lines describing ...
0
votes
1answer
146 views

Don't know what to do with XML file and Spritesheet (Swift 3)

I'm new to spritesheets and game development in general. I have two files: 1) a .png spritesheet with tons of sprites and 2) a companion XML file with coordinates, anchor points, image names, and ...
1
vote
1answer
179 views

One big spritesheet vs many smaller spritesheets?

I have my 2D character animations which are stored in spritesheets. I have individual sprite sheet for every animation. For example, if my character have animations for idle, run and jump, I have 3 ...
0
votes
1answer
290 views

Cannot use sprite sheet to add texture to RawImage?

I am basically trying to recreate this sample image from this sprite sheet (Source) I split the sprite sheet in the sprite editor of unity, now I want to use the top left texture for ground. But ...
0
votes
1answer
149 views

Unity fails to effectively split spritesheet

I'm very new to game development and I find it very difficult to split the spritesheets available at opengameart.org. All of them are kind of jumbled together without any fixed grid. The resource I ...
0
votes
2answers
221 views

Unity performance: change sprite from array or sprite sheet animation?

Quite some time ago I made a "GIF player" that basically reads a sprite array and swaps the sprite using a Coroutine, one after the other, in order to imitate a "...
0
votes
0answers
72 views

Use texture array for spritesheets?

To save texture bind there is the technique to use a sprite sheet which combines several sprites into one texture. Now if I have more sprites than which will fit into one sprite sheet (limited by ...
1
vote
0answers
125 views

How to flip sprites with different dimensions horizontally?

I am trying to make an animation on HTML5 Canvas with this texture atlas, which was packed by TexturePacker: and it works good when the Character is facing right. I try to flip it horizontally, but ...
1
vote
0answers
91 views

Splitting a sprite sheet into sprites

Each animation has its own sprite sheet. First I tried to give each sprite their own rectangle and do some calculations to make sure that the bottom left corner of each sprite would be at the same ...
0
votes
0answers
77 views

What is the best way to create walk cycle animation for units in a tiled RTS game using pygame?

I am working on a prove of concept, prototype, tiled, RTS game with a top down view. I want my units to be able to move in 8 directions. Firstly I have created frames for movement in all of them and ...
0
votes
1answer
102 views

SFML Sprite not being rendered when returned from a method

I am trying to use spritesheets in SFML. My Player class inherits from the Creature class which inherits from the Entity class. I only see a white square when I render the player. However, this is not ...
-1
votes
1answer
83 views

Why is my SpriteSheet displayed over my player character in MonoGame?

I'm trying to make a little Zelda clone. I'm just starting with MonoGame, following tutorials, and I have a problem when loading the sprite for my player character: it loads the whole spritesheet ...
3
votes
1answer
302 views

SpriteSheets with XML and without XML

I'm very new to game development, and I'm working with Godot engine. I'm making a platform game and I downloaded a package from the web with assets, it contained ...
1
vote
0answers
64 views

What is a good way to load and provide graphics to classes and subclasses in monogame?

First of all: I'm not sure if my question is worded well, I just can't think of any better way. I'm also a beginner both at Monogame and programming in general, so my question might miss the actual ...
2
votes
1answer
168 views

How should you save sprites for talking and blinking characters?

Lets say you have a game like Phoenix Wright: Ace Attorney, where characters appear on screen and do things like: change their stance/pose depending on the situation and mood (looking happy, looking ...
0
votes
0answers
129 views

Character Sprite Not Rendering Correctly in LibGDX

I'm new to libGDX, so I'm a n00b to this community, so any help is greatly appreciated! Currently, I am making an RPG with the hero being moveable by the arrow keys. In addition, there are enemies ...
0
votes
1answer
192 views

How to select multiple frames from a sprite sheet in unity

I have a sprite sheet and cannot figure out how to select multiple frames in unity 5.5 I am watching a tutorial and it doesn't say how to do it. Is there a button I have to press while clicking or is ...
1
vote
0answers
132 views

What is the purpose of these purple images in these sprite files of Super Mario Maker? [closed]

I was looking at the Wii U's Super Mario Maker Sprites and noted that all of them have purple images that each correspond to one of the animation frames (see below). What could they have been used for?...
1
vote
1answer
137 views

What are the advantages and disadvantages of exporting spritesheets instead of models from Spriter into Unity?

I'm working on a simple 2D platformer in Unity and have been using the Spriter2Unity tool to import my Spriter animations directly into Unity. I have noticed that this creates large hierarchies of ...
1
vote
0answers
49 views

how can i make a sprite from a spritesheet increase its size?

I want to be able to increase the size of a sprite to give the illusion that it is walking towards you (or decrease in size to move away). how do i manipulate the size of a loaded sprite off a sprite ...
0
votes
1answer
298 views

How to make even animations with sprite sheets in Unity 5?

When importing a sprite sheet into Unity and dividing it up, what is the best way to do so to ensure that your animation works smoothly? Is there a mathematical formula for dividing the spritesheet ...
0
votes
1answer
78 views

How do I make perfect sprite sheets?

I made a .GIF using sprite sheet animation, but I do not think it is working properly, because it shivers at the base. I made it in Photoshop Max Power. How do I easily make perfect sprite sheets ...
3
votes
1answer
2k views

How to use Unity to slice sprite

The polygon slice function of TexturePacker Pro is very nice, it suit the size of the sprite. However my TexturePacker Pro trial had finished, and by using Unity Sprite Editor will make my sliced ...
0
votes
0answers
66 views

Create a spreadsheet for a tiled map

My plan is to write a tile map generator, that will automatically take the right sprite out of a spreadsheet, and place it on the game board starting from the basics in this tutorial for Unity. My ...
0
votes
1answer
230 views

What does pressing CTRL do when editing a sprite sheet?

I have a multi-sprite sprite sheet. When I have a blue box selected, and I hold CTRL, the box turns green. I have played with it, but cannot figure out what it does. I checked the documentation, ...
1
vote
1answer
761 views

How to create and choose sprite sheet for different mobile screen resolution in Unity

Background We’re working on a 2D mobile game. We want to publish the game on all apple devices which at least support iOS 7 and to all android devices which at least support Android 4 OS. These ...
28
votes
3answers
14k views

Why don't most major game engines use gifs for animated textures?

What is better to use Animation Sheets or Gifs? One advantage Gifs have over Animation Sheets is that you don't have to think about frames going too fast or too slow because of your code and updating ...
1
vote
1answer
108 views

Do the sprites inside a PoT spritesheed need to be PoT aswell?

I use TexturePackerGUI to create PoT spritesheets. But do the sprites inside the spritesheet need to be PoT aswell? If they need to, do I need to disable trimming? The framework I use is libGDX.
0
votes
1answer
223 views

Trouble loading sprite from spritesheet with Phaser

I am working on re-creating a breakout clone to help me learn Phaser (following the overall design of jsbreakouts.org). Anyway, I have the start screen set up. From the start screen, I can transition ...
0
votes
1answer
160 views

LibGDX - How do you load huge spritesheets?

As we know, there is a GL_MAX_TEXTURE_SIZE on each mobile phone which makes things really hard. I write an app for all mobile devices and I need to load some huge ...
3
votes
1answer
71 views

How to save one color channel, taking only 1 byte per pixel?

How can I save only one color channel, such that it would only take 1 byte per pixel? I only want to save the alpha channel and apply colors later using a custom shader. But all the formats I tried ...
2
votes
1answer
803 views

How should I animate sprites with separate body parts?

I am not an artist. I have a 2D Sprite broken up into different body parts that I want to animate. I know how to do it in Unity, but every artist I know would prefer to use Flash. I am trying to ...
0
votes
0answers
348 views

Unity3d how to correctly using tilesets

currently I am using external tilesets like this: Load texture from file to Texture2D ...
1
vote
0answers
372 views

Load a specific sprite by name from a SpriteSheet with Resources.Load

I want to avoid loading all the sprites from a sprite sheet into a dictionary. Is there a way to access the specific sprite inside the sheet. Right now I'm using this code : ...