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

learn more… | top users | synonyms

2
votes
1answer
31 views

How do I use createPattern with a spritesheet?

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
19 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?
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
1answer
87 views

Extracting/locating sprites from PNG sprite sheet and PLIST

Good day! 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
0answers
29 views

error reading atlas file

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
118 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
1answer
27 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); ...
5
votes
1answer
136 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 ...
1
vote
0answers
42 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
178 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
146 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
351 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 ...
0
votes
1answer
202 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 ...
4
votes
1answer
343 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 ...
0
votes
2answers
326 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
94 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
609 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 ...
3
votes
2answers
486 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 ...
0
votes
2answers
171 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
458 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
117 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
113 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
100 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 ...
0
votes
1answer
186 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
209 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 ...
1
vote
1answer
106 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 ...
2
votes
1answer
188 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
997 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 ...
0
votes
1answer
135 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"> ...
1
vote
1answer
102 views

Why are my sprite sheet's frames not visible in Cocos Builder?

I have created a sprite sheet with zwoptex. Then I just dragged the .plist and .png files to my Cocos Builder project. After this I wanted to take a sprite frame and set it to a sprite: But the ...
1
vote
1answer
224 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 ...
1
vote
3answers
127 views

Generating spritesheet(s) on load

I would like to reduce the size of the spritesheet I am loading by only loading the specific sprites I need. Is there a way to crop and splice images at runtime using javascript? Creating separate ...
1
vote
2answers
244 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 ...
2
votes
1answer
191 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
1answer
183 views

sprite animation individual framerate

When animating sprites I am taking the delta difference between frames and locking the rendering frame rate of the sprite animation to the delta time. float delay = 1000.0f / FPS; float now = ...
0
votes
1answer
1k views

In Unity3D, try to load a png into a Texture2D in an Editor script and then run PackTextures, but they need Readable flag to be set

I am trying to automatically create a texture atlas from a set of generated png files in an Editor script. The problem is that I can't seem to be able to load a png into a Texture3D without it being ...
0
votes
1answer
412 views

Android cocos2d removing a sprite after animation

I have an object going across the screen with an animation using the following code: CCSpriteFrameCache.sharedSpriteFrameCache().addSpriteFrames("ninjastar.plist"); CCSpriteSheet projectileSheet = ...
0
votes
1answer
622 views

Creating metadata/pack files for an existing sprite sheet

I've just bought Oryx's tileset pack: http://oryxdesignlab.com/sprites/ultimate-roguelike-tileset I use LibGDX (flixel-gdx to be precise). My question is, given this premade sprite sheet format, ...
2
votes
3answers
260 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 ...
-5
votes
2answers
105 views

animation runs only onces [closed]

I found this tutorial on sprite sheets that works great. Managing sprite sheets for animation I am not sure how I could modify it, so that it loops through just once. My thought was to add an if ...
3
votes
2answers
99 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 ...
0
votes
0answers
109 views

Flash CS6 Spritesheets and XNA

So new with Adobe Flash CS6 comes the new Feature to export Movie Clips as a Spritesheet which seems very nice! I have a few questions to CS6: http://imgur.com/enllkyL Its nifty but it lost its "up ...
0
votes
1answer
100 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 ...
1
vote
1answer
345 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
228 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 ...
1
vote
1answer
83 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
552 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 ...
0
votes
2answers
566 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
1answer
133 views

Use an external sprite or image file in flixel game in flashbuilder

Is there any way to use an external image/sprite file for the graphic of a FlxSprite instance? Say I declare my player FlxSprite as follows: player = new FlxSprite(FlxG.width/2 - 5); ...
3
votes
5answers
728 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 ...