Questions tagged [sprite-sheet]

A spritesheet is a large image filled with smaller images. When you display each of the smaller images in the correct order, you get an animation. If you imagine an old celluloid movie reel, unrolled, chopped up, and laid out in a large square, you have the idea of a sprite sheet.

Sprite Sheet (also known as Atlas, or Texture Atlas) is an image file which contains many smaller images, evenly spaced, which usually comprise the frames of an animation.

Such an image makes it easier for various software to access specific frames within the image by coordinates. Sprite sheets are used extensively in 2D animations, allowing to group together frames of a specific movement of a character.

In Sprite sheets can be imported and used in the sprite editor to create animations in the scene, controlled by an Animator state machine.

An example of a sprite sheet can be seen here https://web.archive.org/web/20140715213314/http://gamemedia.wcgame.ru/game-sprite-sheet.html.

Texture Atlas Wikipedia Article

Unity sprite editor used to slice sprite sheets

500 questions
0
votes
1 answer

Sprite Sheet Issues?

I created sprite sheets with Zwoptex and generated the .plist file. I am having issues linking these sprite sheets to my iOS game. I loaded the .plist and .png files created on Zwoptex to Xcode, but the changes are not being recognized. I don't know…
esierr1
  • 117
  • 3
  • 12
0
votes
1 answer

AS3 Starling Framework Texture Atlas TypeError #1007

I'm new to the starling framework and am currently learning how to use it. I've created textures from embedded PNG files with the starling framework that work perfectly and display on the screen, but I am trying to get a spritesheet (Texture Atlas)…
0
votes
1 answer

opengl java glTexCoord problems. am i not doing it right?

Ok, i am a self taught programmer, and i am trying to use lwjgl and slik-utils to make a library to provide tools to make games. i have been trying to make a spritesheet, and i am using glTexCoord() to try to get only a part of the image. But to my…
abernardi597
  • 123
  • 7
0
votes
1 answer

Properly handling android resizing of sprite sheets

I have some 1-row sprite sheets for the game I'm working on. I provide them in the drawable-xhdpi folder only, and I'm letting the OS do the resizing for me on other densities. The following problem occurs with this approach: I have a 1750 width…
IVlad
  • 43,099
  • 13
  • 111
  • 179
0
votes
2 answers

How can I load a sprite sheet in Flash correctly?

As common users of flash you know that you can export images to a moveclip, doing frame per frame, but thats not very "optimized" way to do it, in C++ my friend who I can't talk with right now, have read a spritesheet and made the movements and…
0
votes
1 answer

Pixel perfect collision on spritesheet animation, XNA

I'm using a spritesheet animation in XNA and I want to use pixel perfect collision. My problem is that the pixel perfect collisions checks if the current pixel on the spritesheet is transparent instead of checking against the part of the spritesheet…
0
votes
1 answer

cannot be cast to java.awt.image.ImageObserver

import java.awt.*; import java.awt.image.ImageObserver; import javax.swing.*; public class CharacterMove { CharacterCollision CharacterCollision; public static int vel = 2; public final int baseVel = 2; public int spriteHeight = 23; public…
Matthew Tory
  • 1,306
  • 2
  • 16
  • 30
-1
votes
0 answers

How can I load the image overlapping-ly to create animation from spride sheet?

I am having trouble loading the image from sprite sheet overlapping-ly to create an animation for my character in a fighting game. [enter image description here](https://i.stack.imgur.com/E5Uh8.png) The following are the function for loading the…
-1
votes
1 answer

Unity Sprite Editor Slice Results in Diamond Shaped Slices/Missing Data

I am trying to slice a sprite sheet in Unity 2021.3.1. I have a 1024x1024 png I am saving 32x32 tile map sprites onto. When I slice them they appear to be selected correctly. But each sprite ends up losing data and being in a diamond shape. Here…
-1
votes
1 answer

Unity Sprite Sheet jagged on Android Device

I am using 2D sprite sheet to show an animation. It's working correct in editor and many Android devices except a specific Android (Nexus 5, Android 6) where the images looks jagged. The sprite sheet size is 3115 x 4361. Here are the sprite…
Johny
  • 625
  • 2
  • 6
  • 26
-1
votes
1 answer

How do I fix my html/javascript code to animate a sprite sheet?

I attempted to animate a sprite sheet using html and javascript to no avail. Here is my sprite sheet Below is lines 36-59 of my code. I'm not getting any errors so I don't really know what's wrong. How do I fix/improve my code? This is for a…
nourinjh
  • 1
  • 3
-1
votes
3 answers

Javascript Animation Not Smooth?

var positioner=0; var ames=setInterval(animate, 100); function animate(){ if(positioner < 1536){ document.getElementsByTagName('img')[0].style.backgroundPosition='-'+positioner+'px';positioner +=…
James Furious
  • 49
  • 1
  • 6
-1
votes
1 answer

Centering a sprite as div background

I have a button consisting of a sprite set as the background image of a div. The sprite sheet is arranged horizontally. Note that the source image is also being scaled down to fit the div. .button { background: url(sprite.png); …
Igid
  • 515
  • 4
  • 15
-1
votes
1 answer

Unity 3D Game sprites

I need some good sprites for game development on unity. Action game project is quite good for me. There is only one better resource for it: open game art But I want some more better resource for a game.
-1
votes
1 answer

Best technique for playing(animating) huge sprite sheets

I have to run several sprite sheet animations with each sheet having hundreds of frames. I have tried SpriteKit as well as Cocos2D, each having memory and CPU load time issues. Can anyone please recommend the best way to about it using Cocos2D,…
Simulator
  • 156
  • 1
  • 11
1 2 3
33
34