A collection of sprites that are loaded into memory as one image.
2
votes
1answer
56 views
How to use Unity to slice sprite
The polygon slice function of TexturePacker Pro is very nice, it suit the size of the sprite. However my TexturePacker Pro trial had finished, and by using Unity Sprite Editor will make my sliced ...
0
votes
0answers
42 views
Create a spreadsheet for a tiled map
My plan is to write a tile map generator, that will automatically take the right sprite out of a spreadsheet, and place it on the game board starting from the basics in this tutorial for Unity.
My ...
0
votes
0answers
20 views
sprite sheets with atlas/pack resource website?
Im currently learning bout properly usage of spritesheets. I know how to use them etc but I find it cumbersome to manually write down all the cooords for each sprites start location into atlas etc.
...
0
votes
1answer
191 views
What does pressing CTRL do when editing a sprite sheet?
I have a multi-sprite sprite sheet. When I have a blue box selected, and I hold CTRL, the box turns green. I have played with it, but cannot figure out what it does. I checked the documentation, ...
1
vote
1answer
67 views
How to create and choose sprite sheet for different mobile screen resolution in Unity
Background
We’re working on a 2D mobile game. We want to publish the game on all apple devices which at least support iOS 7 and to all android devices which at least support Android 4 OS. These ...
29
votes
3answers
14k views
Why don't most major game engines use gifs for animated textures?
What is better to use Animation Sheets or Gifs? One advantage Gifs have over Animation Sheets is that you don't have to think about frames going too fast or too slow because of your code and updating ...
1
vote
1answer
48 views
Do the sprites inside a PoT spritesheed need to be PoT aswell?
I use TexturePackerGUI to create PoT spritesheets. But do the sprites inside the spritesheet need to be PoT aswell? If they need to, do I need to disable trimming? The framework I use is libGDX.
0
votes
0answers
38 views
How can I pass the xy coordinates coming thought websocket to moveToXY to move the sprite
//Code for received coordinates
/************ON RECEIVING MESSAGES VIA WEBSOCKET *////
ws.onmessage = function(event) {
var mySpan = document.getElementById("messageGoesHere");
var mySpan2 = ...
0
votes
1answer
34 views
Trouble loading sprite from spritesheet with Phaser
I am working on re-creating a breakout clone to help me learn Phaser (following the overall design of jsbreakouts.org). Anyway, I have the start screen set up. From the start screen, I can transition ...
2
votes
1answer
55 views
LibGDX - How do you load huge spritesheets?
As we know, there is a GL_MAX_TEXTURE_SIZE on each mobile phone which makes things really hard. I write an app for all mobile devices and I need to load some huge spritesheets combined with 64 frames ...
3
votes
1answer
60 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 ...
2
votes
1answer
214 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
78 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
56 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
33 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
1answer
111 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
129 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
18 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 ...
0
votes
0answers
20 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?
0
votes
2answers
70 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
149 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
1answer
253 views
Is there any other way to animate 2d spritesheet without Animator Component in unity?
Is there any easy way exists that animates frames without using Animator component?
1
vote
2answers
129 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 ...
1
vote
1answer
210 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 ...
1
vote
1answer
50 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
24 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 ...
5
votes
1answer
149 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 ...
1
vote
1answer
251 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
138 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
209 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;
...
1
vote
1answer
232 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? ...
0
votes
0answers
65 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 ...
1
vote
1answer
377 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
1answer
224 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
779 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
1answer
154 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 ...
1
vote
1answer
121 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
429 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
301 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 ...
0
votes
2answers
3k 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
3k 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 ...
0
votes
1answer
290 views
Use spritesheet frames as particles?
I want to use frames from a spritesheet as particles for my emitter.
I load my spritesheet with :
game.load.spritesheet('particles_sheet', 'http://stuff.lck.io/luckyslot/sprite_sheet.png', 50, 50, 6)...
1
vote
1answer
840 views
Texture packer and 2d game sprite sheet creation
I am developing a game in Unity3D. I have a bunch of images which display the character animations. I decided to use texture packer to reduce the amount of individual images. I create one sprite sheet ...
0
votes
0answers
50 views
Efficiently creating animation sprites
I'm currently developing a simple 2d game on LibGDX. The core game logic is in place, but the assets are simply taking forever to create.
My current method to create each animation frame is to ...
1
vote
2answers
3k views
How do I create and implement a sprite sheet for my SFML game?
I have a game I am currently working on, and I have created 6 16 frame animations for my player character. Currently each of these are saved as seperate .jpg files, which are about 1.5x bigger than I ...
1
vote
3answers
122 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
1answer
160 views
How to trim a sprite?
I have a spritesheet:
var spriteSheet = new createjs.SpriteSheet({
// ...
frames: { width:520, height:600, regX: 260, regY:300 }
// ...
});
I am computing it's physics body as follows:
...
0
votes
0answers
117 views
Efficient way to convert animation stack to sprite sheet using Pixelmator?
I'm new around here so please feel free to guide me if this question should be asked elsewhere.
I'm trying to take an animation stack of 145 layers, each 200x200 pixels, and convert them into a ...
4
votes
1answer
1k views
How can I update a sprite sheet without affecting the sprites already being used?
Every time I overwrite my sprite sheet with additional or updated sprites, I have to reattach the textures to all of my Animations and Sprite Renderers. How can I update a sprite sheet without ...
0
votes
1answer
212 views
Android OpenGL: Use several Textures for one Animated Sprite
Good evening. I'm programming an Android Game. To reduce the amount of textures that need to be loaded (OpenGL ES 2.0) I've created several spritesheets of size 1024x1024. Some frames of the same ...