A collection of sprites that are loaded into memory as one image.
31
votes
2answers
2k views
In a browser, is it best to use one huge spritesheet or many (10000) different PNG's?
I'm creating a game in jQuery, where I use about 10000 32x32 tiles. Until now, I have been using them all separately (no sprite sheet). An average map uses about 2000 tiles (sometimes re-used PNG's ...
20
votes
9answers
6k views
Tips and Tools for creating Spritesheet animations
I am looking for a tool that I can use to create sprite sheet easily.
Right now I am using Illustrator, but I can never get the center of the character in the exact position, so it looks like it is ...
13
votes
9answers
4k views
Is there a tool to make a Spritesheet out of 1000 PNG's?
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 :)
...
13
votes
3answers
1k views
Faking isometric graphics in a 2D space game
First off, I know exactly what my drawing problem is, and I have various ideas on how to approach solving it. I am here to figure out how to adjust which frame is drawn so that the isometric ...
11
votes
2answers
536 views
Is there a tool to help quickly define animation frames from non-uniform size sprite sheets?
Many of the sprite sheets online have non-uniform sized rectangles as the animation frames and often use a portion of the image for credits, etc., this makes it hard for a game engine to correctly ...
8
votes
5answers
2k 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 ...
7
votes
2answers
4k views
How do I disable texture filtering for sprite scaling in XNA 4.0?
I have a sprite that I'm trying to scale up in XNA, but XNA is applying some sort of texture filtering that smooths it and makes it look ugly. I'd like it to just do pixel doubling instead of ...
7
votes
1answer
1k views
Sprite sheets with buffer objects and shaders
What is the "best" way to handle sprite sheets with shaders and buffers? In immediate mode it is easy to modify a sprite's texcoords when it is drawn, but I don't know how to do this with modern ...
6
votes
2answers
902 views
Best way to do large XNA animations?
What's the best way to have large animations in XNA 4.0? I have created a spritesheet with the sprite being 250x400 (more of an image than a sprite but hey ho) and there are approximately 45 frames in ...
6
votes
4answers
1k views
Sprite Animation in Android with OpenGL ES
How to do a sprite animation in android using OpenGL ES?
What i have done :
Now I am able to draw a rectangle and apply my texture(Spritesheet) to it
What I need to know :
Now the rectangle shows ...
5
votes
4answers
662 views
Anyone know of an online resource with spritesheets from classic games? [closed]
I'm looking for spritesheets for classic retro games, and old home computer games (c64, amiga etc.) Does anyone know of a source online?
5
votes
3answers
1k views
Differently-sized sprites?
I'm still at the very early stages of my game design -- nowhere near actually needing the sprites yet -- but a thought occurred to me: What's the best way to approach sprites of different dimensions?
...
5
votes
4answers
783 views
Is there a sprite sheet creator that satisfies these requirements?
I'm looking for a decent sprite sheet packer.
Features:
Command line interface for Linux.
Effective packing algorithm.
Configurable padding between sprites in the sheet.
Configurable fixed sprite ...
4
votes
4answers
582 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. ...
4
votes
2answers
596 views
Xna - How do you use large animations for a menu
In the main menu of my game I have several animations that pause in specific frames.
I made the sprite sheets for the different layers, but then I found out that the sprite sheet has to be smaller ...
4
votes
2answers
436 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 ...
4
votes
1answer
506 views
Is there a tool to import a sprite sheet into Flash as a frame-based animation?
I'm looking for a tool that can help create a Flash-based animation given a spritesheet -- basically the reverse of Spriteloq.
I'd like to take a sheet like the one below, import it into Flash, and ...
3
votes
4answers
693 views
Higher Performance With Spritesheets Than With Rotating Using C# and XNA 4.0?
I would like to know what the performance difference is between
using multiple sprites in one file (sprite sheets) to draw a game-character being able to face in 4 directions and
using one sprite ...
3
votes
6answers
1k views
How to get quality sprite sheet generation with rotations
I'm working on a game that uses sprite sheets with rotation for animations. While the effect is pretty good, the quality of the rotations is somewhat lacking. I exported a flash animation to png ...
3
votes
2answers
980 views
What are the advantages of a sprite sheet over an image sequence/flash timeline?
I've noticed sprite sheets are used more and more in Flash games and I don't fully understand what are the advantages over an image sequence/flash timeline - MovieClip.
I've read this related ...
3
votes
2answers
567 views
SpriteSheet Animation with XNA
Hi i'm working on my First 2D Game with XNA and I have a little problem.
To give a running effect to my Sprite, I scroll through a SpriteSheet with this code(running right):
if (AnimationDelay == 6)
...
3
votes
4answers
823 views
using odd number of sprites in multi-row spriteSheet?
Using XNA it's pretty easier to loop through a sprite sheet, I tell it how many rows and how many columns it has and I have a method that loops through the whole set.
I usually use this method in my ...
3
votes
2answers
660 views
Spritesheets From Individual Images in Content Pipeline?
My main goal is avoid using an external program like SpriteSheetPacker.
I would like to just use sequenced PNGs and have the sprite sheets be made, updated, and saved automatically when I build my ...
3
votes
1answer
202 views
Combining multiple sprites vs separate sprites
I have a character which can hold ten types of weapons.
Should I:
Create ten sets of animations for the character with each weapon
Create animations for each weapon, and programmatically draw them ...
3
votes
1answer
375 views
Time Required for Animation to Finish
Using a tutorial found on the AppHub, I've been attempted to add controls to a sample sprite sheet. I am able to get all the animations working, but for stuff like punching or stabbing, the animations ...
3
votes
2answers
64 views
using DirectX to generate a sprite sheet
I am building a site in HTML5 for my client and it must run on the iPad/iPhone (i.e. Safari on iOS).
They want a 3D effect where they have a simple, yet, specific product they want to show on the ...
3
votes
4answers
380 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 ...
3
votes
1answer
1k views
Spritesheet per pixel collision XNA
So basically i'm using this:
public bool IntersectPixels(Rectangle rectangleA, Color[] dataA,Rectangle rectangleB, Color[] dataB)
{
int top = Math.Max(rectangleA.Top, rectangleB.Top);
...
2
votes
3answers
165 views
Do larger sprite sheets improve performance in html 5 games?
I know when I did some game development with XNA they recommended that we try to group are sprites into fewer sheets because the graphic card could process it faster. Does this also apply to web based ...
2
votes
3answers
3k views
Sprite sheet generator
I need to generate a sprite sheet with squared sprite for a 2D game. How can I generate a sprite sheet where each frame has x = y? The only think I have to do is to "insert" some blank space between ...
2
votes
3answers
326 views
How can I create a spritesheet animation with big images?
If I have a 200x200 pixel sprite, and I want to create an animation for it with 30 different frames, how can I accomplish that? I can't put them on one texture/spritesheet.
2
votes
2answers
194 views
Is it better to cut and store all sprites needed from a spritesheet in memory, or cut them out just-in-time?
I'm not sure what's best practice here as I have little experience with this. Essentially what I am asking is...
if it's better to get your single PNG with all your different sprites on it for use ...
2
votes
2answers
2k 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 ...
2
votes
2answers
1k views
Rotate spritesheet graphics in flixel
I am using the flash flixel engine, and have a sprite sheet of a spaceship from top-down view. The sprite sheet includes a bunch of different states and animation frames. Problem is that I have drawn ...
2
votes
3answers
752 views
How to animate a character from a sprite sheet?
I'm making an online game, and I had been using a blank square as the character until recently. Now I want to add a real, animated character.
I downloaded a free sprite sheet which has 12 (3x4) ...
2
votes
1answer
640 views
Opengl drawing a section of a texture stretched over a quad
Current Situation
I have a spritesheet loaded in for a texture when drawing the specific portions of the sheet that I'd like to have on my quads I do some simple math to get their location on the ...
2
votes
1answer
359 views
2d game with png sequences slowing on Unity3d
We are building a tower defence game,In which enemy movement is done through sprite sheets as well the tower rotation is also done through sprites...every tower and every enemy has its own script ...
2
votes
2answers
538 views
Can a texture's UV coordinates be animated (scrolled) when part of a SpriteSheet?
Alright so my question is about texture manipulation in Flash Stage3D / Context3D using AGAL for the shader language. But I'm pretty sure this could be applicable in other situations involving GPU ...
2
votes
3answers
468 views
How do you maintain content size vs. content quality in a mobile application?
I am developing my first Cocos2d iPhone/iPad game that includes quite a few sprites, I would need approximately 80 different. As this is for both normal and HD displays I have 2x of each sprite. I am ...
1
vote
3answers
243 views
How to Handle frame rates and synchronizing screen repaints
I would first off say sorry if the title is worded incorrectly.
Okay now let me give the scenario
I'm creating a 2 player fighting game, An average battle will include a Map (moving/still) and 2 ...
1
vote
4answers
2k views
Dividing up spritesheet in Javascript
I would like to implement an object for my spritesheets in Javascript.
I'm very new to this language and game-developement so I dont really know how to do it.
My guess is I set spritesize to 16, use ...
1
vote
2answers
209 views
Sprite animation problem
I have this sprite I have to animate. The sprite is 7 images total but animation is 10 frames (2 positions are repeated).
The order I want to go through the frames is like this:
3 -> 4 -> 5 -> 6 -> ...
1
vote
1answer
338 views
help a 2D image onto a 3D cube
I am just diving into the Stage3D APIs for Flash Player 11. I am trying to figure out a simple way to display isometric 2D content that gets blitted from a sprite sheet onto a 3D cube. The idea ...
1
vote
2answers
242 views
Quarter turn sprite sheets?
I'm having trouble finding sprite sheets that have the characters turn in 8th movements, so that you can see back, front, left, right, and in between. What would be a good term to search for when ...
1
vote
1answer
269 views
Using spritesheets with z-buffer
I am working on a 2D game with sprite sheets. I might be completely overlooking something here, but I can't figure out for the life of me how to use sprite sheets with z-buffer testing.
Here are the ...
1
vote
1answer
175 views
Is this the best way to do sprite sheet animation? [closed]
I would like to make my player animate via a sprite sheet.
I looked online and there are many different ways; I want to know what is the best way. Which method will allow me greater flexibility when ...
1
vote
1answer
50 views
Flixel: Is it possible to use a spritesheet for FlxButtonPlus?
I'm trying to change the graphic on a FlxButtonPlus. I want to get the graphic from a spritesheet. However, if I try the ' regular' way (make an animation and play it), it refuses to use just the part ...
0
votes
4answers
594 views
How powerful is modern hardware for complex, intensive 2D graphics?
I am embarking on a massive (image quality, file size, high frame count) project. I am still working on the basic engine, but have a big question that I would like answered before I begin testing. (It ...
0
votes
2answers
143 views
How to create texture coordinates for a spritesheet with lwjgl
Using lwjgl and slick-util I've been trying to use certain pieces of a spritesheet as textures. lwjgl uses glTexCoord2f(); to map coordinates to individual vertices, and the coordinates it takes in ...
0
votes
3answers
180 views
How to combine multiple sprite sheets from multiple sources (Actionscript/Starling)
In starling, it's faster if you use BitmapText instead of traditional text. Which is well great except for one issue. Right now the sprite sheet I was making was with a single Fla. I just created the ...
