Questions tagged [spritesheet]
A collection of sprites that are loaded into memory as one image.
230 questions
1
vote
1
answer
88
views
Drawing textures to a RenderTexture + rotating in 90° intervals
For context: I am currently working on a BepInEx Plugin for the Unity-based game Hollow Knight: Silksong. The goal is to be able to replace the base game sprites with custom ones. The game uses Sprite ...
1
vote
1
answer
221
views
Separate Sword Sprite from Player
I am aware that a common approach in game development for attack animations is to separate the player from the weapon and 'stitch' them together at runtime, depending on the weapon equipped.
This ...
1
vote
1
answer
244
views
How do I compose RPG character with different equipment?
I wonder which technique is used to render 2D RPG character with different armor pieces and weapons.
E.g. character can equip different chest armors, gloves, boots and helmets. They also can equip ...
0
votes
1
answer
450
views
Sprite Animation in Pygame Zero
How do I use a sprite sheet in pygame zero?
The height of the images are 32, width is 25
0
votes
0
answers
51
views
My sprite rects are flipped vertically in Unity Sprite Editor after being processed by code
I'm currently trying to process an Adobe Animate XML file with a Unity editor script, and I'm a lot of the way there, my parsing is complete, and I'm able to get some form of output, however the ...
0
votes
1
answer
475
views
How do you load/store assets?
I'm new to C++ and SDL2 and for the past few days I've been trying to figure out what to do with/how to handle assets for my game. I'm using an asset pack that includes 4 characters and each character ...
0
votes
0
answers
344
views
How to unpack a spritesheet
The sprites are not aligned to a grid, they are packed as tightly as possible to preserve space (1px spacing). I tried using Alferd SpriteSheet Unpacker but it didn't work on my image because the ...
0
votes
2
answers
372
views
Numbering sprites in a sprite sheet left-to-right, top-to-bottom
I'm using this program called Quadtastic which is a sprite sheet management tool that lets you define quads on a sprite sheet, name them, etc, and export to metadata with those names (+ position, size,...
0
votes
1
answer
292
views
Invisible sprites with requestAnimationFrame
I'm trying to animate a sprite sheet. I have a single image, and multiple objects of the same type but drawn at different locations on the canvas.
What I'm trying to do is have each object move with ...
1
vote
1
answer
740
views
How should I go about generating a spritesheet JSON file for an existing PNG containing a grid of assets?
To get started with game development I purchased some top-down sprite assets which come arranged in a grid, but to use them with a typical 2D rendering engine (I'm using Pixi.JS), I need a JSON file ...
2
votes
1
answer
697
views
Spritesheet with unstable width
I'm working on my 2d game engine using HTML5 and Canvas. I have a sprite sheet, and each frame of this sprite sheet has its own size.
Considering that the Viewport is following this sprite sheet (in ...
0
votes
1
answer
981
views
How to animate sprite swapping with changeable equipment sprites?
I know that this is a very old Unity issue. I'm doing a 2D pixel art rpg and I want to sprite swap whenever the player gets an armor (helmet,vest,boots...).
I created an empty game object and parented ...
1
vote
0
answers
197
views
Turnaround animation
So I have a Moose with 3 animations: idle, walk, turnaround.
Idle and walk are mostly self explanatory while the spritesheet for the turnaround animation looks like this:
I set an animator with 3 ...
1
vote
0
answers
294
views
2D Armor/Weapon System (Paperdolling)
I´m currently working on a 2D RPG where you should be able to compose your character from diffrent armor/weapon parts. For example the character can wear a "wooden helmet" and a "chain ...
-3
votes
2
answers
523
views
Better use background chromas or transparency?
For png 2D sprites, its better use chromas or alpha channel?
What is more performant during run-time processing?
What uses less storage?
Any difference between ...