Questions tagged [spritesheet]

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

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

Editing this code to put in my own sprites and textures?

I have to make a game for class and have to have scrolling camera, fully textured background, and have the sprite be fluid. I need the rectangle to be turned into a sprite. This code I found on https:/...
1
vote
1answer
36 views

Creating palette from irregular sprites in Unity

I want to create a palette based on a number of PNGs in Unity 2D. I am struggling to understand the slicing logic. Let's say I have a sprite 588x547, and I set PPU to 128. So obviously the sprite ...
0
votes
0answers
52 views

Spritesheet Usage

I am working on an RPG game and I am storing most of my textures in separate .png files, but for my sprites I would like to use a sprite sheet. How do you cut and store the sheet into individual ...
0
votes
2answers
77 views

Slicing irregular spritesheet (automatically?)

If found a cool sprite sheet on the internet but its irregular. Is there any way besides manually cutting sprites to extract the separate pngs? I need to pack them then again into the Texture Atlas ...
2
votes
1answer
60 views

Making my characters modular

I'm making a school-based sandbox adventure game in Unity. I need a lot of NPCs with different apperances. I dreaded this since I don't have fun doing art and it is usually the reason I end up ...
0
votes
1answer
54 views

How to render a trimmed sprite?

I used TexturePacker to create an atlas for me and I've read it into my game. I can use unrotated and untrimmed sprites and it works fine. Now I would like to support trimmed sprites and I'm running ...
0
votes
1answer
123 views

How to cut polygon shape sprite in Multiple Sprite Editor Unity

Here is a sprite I have taken from internet and trying to slice it out in many smaller pieces. But the problem is I have polygon shape sprite, how to cut it out, selected in picture ? Rest are ...
0
votes
0answers
27 views

Generate spritesheets on the server or in the client browser?

I want to make a browser game (using HTML5-canvas) where the user can create their own character with different clothing and stuff. I want to use something like the Universal LPC Sprite Sheet set. ...
0
votes
0answers
30 views

Placing tile on second layer results in wrong tile, or changes nearby tiles

So I am working on a 2d game and running into strange behavior when trying to add tiles to a tile map. The first layer seems to work fine but if I add a new layer it will always place the same tile ...
2
votes
1answer
54 views

Why does my sprite shifts position on specific animationframe?

I have created a spritesheet to create animation. Everything is working fine untill I come to a specific frame in one animation. I have currently 3 animations loops Idle Animation Moving Animation ...
0
votes
0answers
47 views

How should I go about handling nonuniformed sprite sheet with JSON data?

This might be a lenghty question so bare with me. I'm developing a 2D game i Monogame framework and I'm stuck with it comes to handle large sprite sheets with different frame width, height and ...
3
votes
1answer
251 views

Any tips for aligning existing sprite sheets to a grid?

I've been dabbling with sprites, and I've found most sprite sheets that have been posted for existing games (for example, Sonic & Knuckles) are not aligned to a grid. I've found this frustrating ...
0
votes
1answer
50 views

unity emission map bleeds (bug?)

I have a material with a spritesheet texture (albedo) and an emission map. The spritesheet has 32x32 squares. The emission has a 32x32 square that is an emission for the magma-looking square. It ...
1
vote
0answers
29 views

What are efficient strategies to support alternate spritesheets in Unity

Context Let's suppose a classic card game, designed in Unity (say the latest release as of now, so 2018.2.16). Visible cards are GameObjects with ...
1
vote
1answer
358 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
229 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
1answer
45 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
253 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
31 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
257 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
89 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
135 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
260 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 ...
4
votes
3answers
2k 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
1answer
306 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
467 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
700 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
383 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
387 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
118 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
305 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
104 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
1answer
250 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
124 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
467 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
75 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
228 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
1answer
543 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
227 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
293 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
78 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
350 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
108 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
3k 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
1answer
291 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
965 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
116 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
337 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
199 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 ...