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

learn more… | top users | synonyms

0
votes
2answers
235 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 ...
0
votes
1answer
42 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 ...
0
votes
1answer
13 views

organizing animation in Flash CS6 for sprite sheets

Can I make a sprite sheet of a character which contains animated movies inside the main movie-symbol? I tried to export it, but those movies inside the main one are not animated. Thanks
0
votes
1answer
50 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); ...
2
votes
1answer
144 views

How can I correctly line up differently sized animation frames with a character?

For educational purposes, I'm developing a 2d game without APIs or libraries. Currently I'm stuck with a sprite drawing problem. To store sprites for drawing (assuming I have the sprites I need all ...
0
votes
1answer
108 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 ...
0
votes
0answers
38 views

Is there any benefit to using sprite sheets in Java with awt?

I am aware that this question addresses the issue for flash and this question addresses the issue vaguely for miscellaneous rendering engines like OpenGL. The way the latter asserts the superiority of ...
2
votes
1answer
89 views

AndEngine GLES 2 Animate Character [closed]

I want to animate my character in game. My graphic animator prepare for me three options. Frame-by-frame by this is over 9MB for one animation. With TextureSpriter 4-5MB. Spriter but I can't find ...
0
votes
0answers
27 views

Sprite sheets, Clamp or Wrap?

I'm using a combination of sprite sheets for well, sprites and individual textures for infinite tiling. For the tiling textures I'm obviously using Wrap to draw the entire surface in one call but up ...
2
votes
2answers
259 views

How do I render an animation where some frames appear twice?

I am animating a sprite. The sprite has 7 different frames, but the animation is 10 frames long. This is because 3 of the original frames appear twice in the animation: 3 -> 4 -> 5 -> 6 ...
2
votes
1answer
166 views

How to swap row/column major order?

I'm trying to get a sprite sheet clipped in the right order but I'm a bit stumped, every iteration I've tried has tended to be in the wrong order. This is my current implementation. Frames = ...
0
votes
0answers
54 views

C# Fit an image into the outline of a 2d sprite character body perfectly

Ok, I'm trying to wrap my head around how to begin doing this. I tried on stackoverflow.com but my question was downvoted/closed for being "too broad"; so here goes again in more detail. I have two ...
0
votes
4answers
3k views

How can I unpack a sprite sheet into multiple images?

I need to take a sprite sheet and convert it into multiple images, one for each frame of the sprite sheet. How should I go about this? I would prefer an offline method or a tool to do so -- I found ...
0
votes
1answer
63 views

Scaling sprites in a spritesheet without changing the overall size of each image

It might be more of a graphics software question - but, well, it concerns game development. I'm using some free spritesheets found in the web, and basically one of the characters seems slightly ...
1
vote
1answer
164 views

Can't create “hero walking” animation

I'm creating a Fez-based HTML5 Canvas game and animating my hero image using sprite sheets. The problem is that I can't create the animation of the hero walking, don't matter how much I try, the ...
0
votes
0answers
43 views

MonoGame and pragmatically loaded textures OnActivated [WP8]

I have a custom content format for my spriter animations. Within this format, I have a list of Texture2DContexts that are loaded splendidly upon starting the app with Content.Load(filename); However, ...
2
votes
1answer
77 views

How do I use createPattern with a spritesheet? [closed]

Say that I have a spritesheet like this And I want to use the dirt tile at (1, 1). I know that I can repeat an entire image using createPattern but how do I create the pattern from just the tile ...
0
votes
0answers
20 views

Looking for top-down robot spritesheet [duplicate]

Anyone know where I can find a top-down robot spritesheet which contains the robot in a 30x30 pixel size, and also including an idle animation for that robot?
7
votes
1answer
580 views

How do I programmatically access single sprites when Sprite Mode is Multiple?

Unity 4.3 newly brings an ability to cut up a sprite sheet into multiple individual sprites. This is useful since you then only need one master spritesheet, but nevertheless get references to ...
0
votes
0answers
29 views

How do I optimally give current UVs to the shader for animating a spritesheet?

I've implemented sprite animation by passing UVs into the shader with the good-ol' shader.SetParameters[] call. In the vertex shader, I lerp the new UVs with the Texture Coordinates of the original ...
0
votes
0answers
49 views

error reading atlas file [duplicate]

I follow this tutorial to learn how to develop some 2d games with libGDX: http://www.gamefromscratch.com/post/2013/10/02/LibGDX-Tutorial-3-Basic-graphics.aspx I am stuck at the TextureAtlas part. I ...
1
vote
0answers
407 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 ...
1
vote
2answers
399 views

Exporting distinct images from a sprite sheet using GIMP

I have recently found that in Photoshop there is a script that enables you to export individual images on different layers into distinct png images on disk. Is it GIMP capable of doing the same ...
1
vote
1answer
114 views

Multiple FBX Animation Files in Maya

I bought some animated models which came as FBX files from the unity asset store and I'm trying to export them to PNG sprite sheets in Maya (for an html5 web project). The file seems to be main fbx ...
1
vote
0answers
55 views

Monogame apply tint to only some parts of sprite [duplicate]

Each player is a different colour (Red, Blue, Green, Yellow) and I want a small part of each piece of armour to be tinted to the player colour. Is this possible without using a second armour sprite ...
3
votes
2answers
960 views

How can i create sprite sheet from 3d model (3D studio max)

I built simple 3D model of a car, with simple animation in which it's wheels are turning. Now i want to create a sprite sheet, the only way i know how to do it, is to render manually 20 frames from ...
3
votes
2answers
424 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 ...
2
votes
3answers
186 views

Is it more efficient to encode rotation in a spritesheet or rotate at runtime?

I'm developing a game with JavaScript and HTML5 and I'm wondering about the performance implications of sprite rotations. There are two ways that I know to rotate a sprite: Rotate the actual sprite ...
2
votes
4answers
421 views

Can sprite sheet width and height affect performance?

Is there any performance difference in the way the images are placed inside a sprite sheet image (for the same total area)? For example, should I place 50 sprites (50x50 each) in a linear way ...
1
vote
1answer
234 views

How can I output multiple sprite sheets from a single .fla?

I have to produce out three sprite sheets of differing sizes. To do so, I have three different .fla source files. Obviously maintaining three files takes more time than maintaining one; is there some ...
0
votes
1answer
224 views

How should I determine the bounding rectangles for frames within a sprite sheet? [closed]

I have a spritesheet for a character. The spritesheet has several rows, and each row represents an animation. The elements within a row might vary in width. How can I load the different sections of ...
1
vote
1answer
114 views

Should I be using Reach or HiDef profile if I have large spritesheets?

I'm working on a platformer in monogame, that I want to use a large number of sprites for making up items and objects in the background. The main spritesheet I've created is 4095x3734, when I tried ...
4
votes
1answer
507 views

How should I handle sprite creation for customizable 2D characters?

I'm want to create avatar animations (sprites) for a browser-based MMORPG. The player is able to customize the character, and the content changes often (new weapons, armors, and so on). How can I ...
5
votes
4answers
2k 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. ...
0
votes
2answers
406 views

How to make different layers in a 2d game map

My question is this: How do I make a gamemap from the drawings on my spritesheet? The tutorial I have followed for making a java 2D game uses this technique to make a gamemap: in photoshop I create ...
1
vote
1answer
113 views

How do I create an efficient long, pannable, sprite-animated scene in a Windows Store game?

I am creating my first Windows Store application in XAML, and I cannot seem to find a proper example for the requirements I have. The basic idea of the app is to have a large scrollable canvas which ...
1
vote
1answer
998 views

OpenGL ES 2.0. Sprite Sheet Animation

I've found a bunch of tutorials on how to make this work on Open GL 1 & 1.1 but I can't find it for 2.0. I would work it out by loading the texture and use a matrix on the vertex shader to move ...
0
votes
1answer
363 views

Cocos2d how to correctly preload a spritesheet before the scene start?

I'm working on a game with Objective-C and Cocos2d, the game has a huge number of images, and obviously as I add images on the spritesheet (well yes I'm using spritesheets) the loading time get ...
0
votes
2answers
196 views

Spritesheet vs single tiles

I am currently programming a 2d platformer and this is the first time I am coding a video game. Now I've downloaded the 'platformer art deluxe' package. In the tiles folder there are single tiles and ...
3
votes
1answer
617 views

Sprite sheet textures picking up edges of adjacent texture

I have a custom sprite routine (openGL 2.0) which uses a simple sprite sheet (my textures are arranged horizontally next to each other). So, for example, here is a test sprite sheet with 2 simple ...
1
vote
0answers
143 views

Using fully cropped sprites with TexturePacker and Cocos2d

When using texturepacker, you can set your trim-mode to crop. This is nice, because when a sprite loads in cocos2d your bounding box will only be the visible area of your sprite - which is useful for ...
0
votes
1answer
167 views

When to call GLBindTexture when using a spite-sheet?

Originally, I was using individual textures (ie, individual .png files) for my sprite's animation and recently altered my code so that I could put all my animation frames into 1 file (so it basically ...
1
vote
1answer
243 views

Sprite sheet resolutions and Tile Maps

I am making a game using Cocos2d-x and want to support multiple mobile phone resolutions and sizes. Right now I have made my game sprite sheets set on a resolution of iPad Retina's resolution of ...
0
votes
1answer
207 views

.dat files in 2D Games: Spritesheets vs Individual Images

I've been doing some research and I found that the game RollerCoaster Tycoon uses .dat files to store all the animations/images for each ride. Basically we're talking hundreds of images (per ride ...
0
votes
1answer
1k views

How to set multiple animations in cocos2d-x

I'm currently starting with cocos2d-x to build games for blackberry/android/iOS. I have the png and plist for the animations of a character created with texturepacker. I load them with ...
12
votes
5answers
3k views

How can I handle sprite sheets with nonuniform sprite dimensions?

For a spritesheet with non-uniform sprite dimensions, how can I get the bounding-rectangles for each individual sprite (i.e. the blue boxes in the following image / I only drew a few examples)? What ...
2
votes
1answer
278 views

Best way to manage sprite sheets on Android using NME

I'm creating a 2D game for mobile touchscreen devices, specifically Android and iOS. I would like to know what is the best way (regarding performance and best practices) to manage sprite sheets. ...
3
votes
5answers
771 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 x ...
2
votes
1answer
231 views

Which camera angle is used for these sprites?

I am trying to replicate these sprites: But I am not managing to make sense of how it is done. The character is facing forward ( <--- ), but you can see the front of its body instead of just ...
0
votes
1answer
192 views

Get sprites from XML and spritesheet in Java

I have a SpriteSheet that have a lot of images in one in .png format, and the XML file with the all names of every sprite (x,y,width,height) like this: <TextureAtlas imagePath="sheet.png"> ...