export_godot_spriteframes
Convert a sprite sheet PNG into a Godot 4 SpriteFrames .tres resource for AnimatedSprite2D use.
Instructions
Generate a Godot 4 SpriteFrames .tres resource from a sprite sheet. Ready to use with AnimatedSprite2D.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | Animation FPS (default: 8 for walk cycle, 10-12 for attack) | |
| frame_width | No | Width of each frame in pixels (default: sprite width) | |
| output_path | Yes | Output path for .tres file (e.g. res://Assets/Sprites/Characters/Protagonist/protagonist.tres) | |
| frame_height | No | Height of each frame in pixels (default: sprite height) | |
| sprite_sheet_path | Yes | Path to the exported sprite sheet PNG |