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

learn more… | top users | synonyms

-2
votes
0answers
34 views

Faster way of creating character animations [on hold]

We need to create a computer game for our Artificial Intelligence subject. I decided to choose 2D Fighting games because I thought it would be easy. As I continued researching about this game I found ...
1
vote
1answer
202 views

Exporting spritesheet for Cocos2d

I would like to know how people usually save the animations in order to load them easily in Cocos2d with as few hard-code as possible. E.G. The solution I thought of is to have one plist file ...
3
votes
1answer
55 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 ...
5
votes
4answers
4k views

How can I ease the work of getting pixel coordinates from a spritesheet?

When it comes to spritesheets they're usually easier to use, and they're very efficient memory-wise, but the problem that I'm always having is getting the actual position of a sprite from a sheet. ...
2
votes
1answer
112 views

Handling animations in a Platformer

I'm developing a 2D platformer game using the Cocos2d-x Engine, i can load correctly the animations according in which action the player is(running, jumping, standing, etc). Now i'm trying to add the ...
0
votes
2answers
179 views

Slick2D: Animation not being parsed from spritesheet correctly

I have a 960x960 spritesheet with each tile being 192x192. I initialized my spritesheet and animation like so: spritesheet = new SpriteSheet("resources/spritesheets/player.png", 192, 192); ...
1
vote
1answer
100 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
29 views

Unity3d how to correctly using tilesets

currently I am using external tilesets like this: Load texture from file to Texture2D Texture2D tx2 = new Texture2D(2, 2); tx2.filterMode = FilterMode.Point; tx2.wrapMode = TextureWrapMode.Clamp; ...
0
votes
0answers
23 views

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

The question is in the title. i want to avoid loading all the sprites from a sprite sheet into a dictionary for example so I can assign them that way. Is there a way to access the specific sprite ...
0
votes
0answers
23 views

Script for Sprite Slicing works fine as a MonoBehaviour, but not as a normal class called in a Editor Script

I got a script for auto-slicing sprites from the internet. Link to the script. I made the script so that it is not a MonoBehaviour. Then i do this is my custom assets importer: private void ...
0
votes
2answers
5k views

How do I make an 8 bit sprite sheet using GIMP or Paint.NET?

I'm looking to create a sprite sheet for an 8 bit, 2D RPG I'm making. All I need to do at the moment is render in some textures. To do this, I want to make an 8x8 sprite sheet. Now, I am really bad at ...
1
vote
2answers
113 views

How do I use delta-times to determine the speed of a frame-by-frame animation?

I have a character spritesheet with 8 images. How do I animate it? At the moment, the sprite changes to a different image every frame, which makes the animation speed vary with framerate. I have a ...
0
votes
1answer
58 views

Pixel Animation is tearing in Unity

I am working on a 2D game and I have created a simple sprite sheet. The sprite sheet represents a medkit. The size of the sprite sheet is 128x16 pixels with 8 different frames that animate the medkit ...
1
vote
1answer
64 views

How do I call the sprite auto-slicer from a script in the Unity editor

First of all let me start with an apology. I know this may not be the right place for this question, but the good people over at stackoverflow did not answer me and neither did I get a answer over at ...
0
votes
0answers
16 views

Packing a load of irregularly shaped textures with UV bounds into a single texture

I'm developing a 2D game that uses a very large and varied set of high resolution tiles. Some of the shapes are large and diagonal, so when when it comes to batching all of the images into a single ...
8
votes
3answers
10k views

How to decompose sprite sheet

I have a lot of spritesheets that are poorly formatted that I want to decompose, or split out into many small images, one for each sprite. If I can do that, I can use my custom texture packer tool to ...
0
votes
0answers
15 views

How can I crop sprites of different sizes into many files

I have an image with a punch of different sprites. The sprites are roughly 50x50px but not exactly. Is there any easy way to go through and convert this to various images?
1
vote
0answers
2k views

Unity 2D loading Spritesheet Atlas at runtime from web and using it dynamically

I am new to Unity (came from AS3/Starling) and just started for 2D games in Unity. I have a spritesheet / texture-atlas (many different sized images packed in a single png) which I want to download at ...
0
votes
2answers
53 views

Struggling to define js sprite sheet

I've been working on this for a couple days, unable to get anything to load. Here is the whole page. Please help me find what I'm doing wrong. Right now, I'm only trying to render the first card in ...
0
votes
2answers
72 views

Using sourceRect or cropping out a Texture 2D to draw? MonoGame/XNA

I was wondering what is the best way to draw textures (for performance). Using the sourceRectange in the spriteBatch.Draw() call and just draw the whole spriteSheet, or crop out every texture on the ...
1
vote
2answers
1k views

Playing a sprite sheet animation in Cocos2D-x

I'm trying to create an animation using a sprite sheet in Cocos2D-x. I'm doing the following. The game doesn't crash but the screen is still blank. bool HelloWorld::init() { //////////////////////...
1
vote
1answer
122 views
1
vote
1answer
127 views

How to code sprite sheets?

First of all, the XNA Framework works on my computer, but I do not wish to use it for reasons. I am set with the task of coding my own sprite sheet class. I do not know if a class is the best way to ...
-2
votes
1answer
887 views

How can I locate the frames of a spritesheet PNG based on this PLIST data?

Someone asked me to reskin a certain game. Now he only sent me the whole sprite PNG and PLIST files of the sprites. He instructed me to rename each sprite with the same name corresponding to each ...
5
votes
1answer
109 views

How to Sort Shoebox frames by order?

I ve been playing with ShoeBox lately and when trying to make a frame sheet i see that they don't appear alphabetically (frame_1 , frame_2 , etc). But they appear by best fitting. In Texture-Packer ...
61
votes
9answers
14k views

How can you put all images from a game to 1 file?

I've just finished a basic RPG game written in C++ SFML, I've put a lot of effort into the game and I'd want to distribute it, however I've ran into a small issue. Problem is, I have well over 200 ...
6
votes
2answers
5k views

What is the difference between a sprite sheet and a texture atlas?

I wondering what the difference is between a sprite sheet and a texture atlas? Aren't both the same? In a sprite sheet you have some Sprites and in a texture atlas you also have some sprites, so what'...
1
vote
1answer
49 views

Question of tilesheet efficiency

For a 2d side scrolling game made in Java, should I make a sprite sheet for my character walking left and for walking right, or should I just do the one, and flip it when it loads? Also, the way I'...
0
votes
0answers
23 views

How to handle 2d avatar creation [duplicate]

I am new to game design and i am creating a MMORPG that allows players to create 2d avatars that can be customized. If i had lets say a male character model (no equipment no armor). How would i handle ...
1
vote
1answer
188 views

How to load sprites manually from a file in unity?

We're making a game, in which the User can apply their own textures to the game in order to make their own rooms. Is there a way to make a prefab with sprites, scripts, colliders, etc during runtime? ...
1
vote
1answer
156 views

Unity + Texturepacker: Pivot point in weird positions

When my designer sends me the spritesheets done with Texturepacker and I open them with the Sprite editor, i notice that the pivot point is in extremely weird positions. Way above the spritebox that ...
1
vote
2answers
118 views

Efficient way to implement animation from spritesheet?

I'm actually trying to port a GBA game to SDL for educationnal purpose. The game has many sprites and tiles. Since the GBA screen size is 240x160px, I decided to scale it 2x. At first, it went okay ...
1
vote
1answer
144 views

How do I move a sprite with out the sprite leaving a trail? [closed]

NEW IMAGE NO SPRITE WITH : if(q>=15){ screen.clear(0); screen.render(Art.sprites[i][0], 20 , cx); i++; movement(); cx+=1; if(i>=3)i=0; ...
0
votes
1answer
354 views

DirectX9 Drawing Sprites out of place due to offset

This is my very first time into DirectX. Im trying to make a simple 2D game, just for learning the basics. And i've achieved that. The next step is to draw an animation using sprites. For that, i ...
4
votes
5answers
1k views

XNA 2D Spritesheet drawing rendering problem

I'm making a tile-based game, using one spritesheet containing all tile graphics. Each tile has a size of 32x32 pixels. The main problem is: when I draw the tile to the screen, if the tile position ...
1
vote
1answer
289 views

How to Slice the external Spritesheet programmatically by using C# in Unity

I have a sprite sheet like this: I am using Unity Engine to develope my game. I would like to load this external spritesheet outside and slice it as Grid type programmatically instead of using ...
0
votes
0answers
57 views

Create sprite sheet (texture atlas) from video with alpha

What's the best way to make a sprite sheet (texture atlas) from a video? In my case, I have videos of animated character expressions (e.g., smiling, frowning, sad, excited), which I intend to use as ...
3
votes
3answers
2k views

How can I dynamically load the correct sprite from a sprite sheet?

I am making a simple card game in unity. The game is based on a standard 52-card pack, with identical backs for unique faces. In my particular game different cards are worth different values and have ...
0
votes
1answer
173 views

Monogame/XNA Making animations play once per click

I'm currently making a #gbjam entry and everything has been going smoothly up to this point. My issue being that I've implemented a shooting mechanic and along with it an animation to play as a shot ...
1
vote
2answers
306 views

Tilesets - how to make the pink color appear transparent

recently I searched for some free to use Tilesets on the internet. And wherever I found a sheet of sprites there is this pink color in the background. i know that all the spots having that color ...
1
vote
1answer
108 views

SFML Library Not Rendering Sprite Texture Updates When Accessing Sprite From Lower In Framework Heirarchy

So currently I am working on a framework for a game utilising the SFML graphics library and in one of the classes representing a renderable object in the framework there is an sf::Sprite that is used ...
1
vote
2answers
570 views

How to programmatically change sprite sheet sub-sprite name

I am trying to change the name of the sub-sprites of a sprite sheet. I have searched and tried everything I can think of and cannot get it to work, which makes me think it can't be done at this point ...
2
votes
2answers
8k views

Exporting the frames in a Flash CS5.5 animation and possibly creating the spritesheet

Some time ago, I asked a question here to know what would be the best way to create animations when making an Android game and I got great answers. I did what people told me there by exporting each ...
0
votes
2answers
2k views

Creating metadata/pack files for an existing sprite sheet

I've just bought Oryx's Roguelike Tileset pack and I use LibGDX (flixel-gdx to be precise). My question is, given this pre-made sprite sheet format, what's the best way to integrate the sprites into ...
1
vote
1answer
254 views

Android - animating spritesheets

I'm creating a basic endless runner game on Android using SurfaceView. I have background that recreates itself constantly, which was simple enough. One problem I've always had is getting my head ...
-1
votes
1answer
3k views

C# XNA - How to animate using Texture Atlas/ Sprite Sheet

I have a problem which I need to resolve. I am making a Space Invaders game in C# XNA. I've been following this tutorial for the Invaders: https://www.youtube.com/watch?list=LLhsF03QfDMDhbw02_8C6Smg&...
1
vote
3answers
107 views

How to handle transparent pixels in a spritesheet

I am trying to correctly handle transparent pixels. I have a spritesheet that gave me the following: The green body is the ground physics body and the gray body around the sprite is the sprite's ...
0
votes
2answers
2k views

Optimizing file-size of a sprite-sheet for a 2D game

I have a question regarding the method of creating a sprite-sheet so that it will not consume to much disk space and still preserve graphics quality. I was researching about this topic and found ...
5
votes
5answers
2k views

Should I ask my artist to make Sprites in full resolution or can I scale them up?

I'm started with Unity development and my artist asked me what size she should make the sprites for the game. They are all pixel art and she didn't know if she should make them on Photoshop on a ...
23
votes
10answers
33k views

Is there a tool to make a Spritesheet out of 1000 PNG's? [closed]

My graphics designer has made graphics in separate PNG files. Is there a clever tool/script that mashes them into a spritesheet? I could probably code something myself, but why re-invent the wheel :)