For Cromoran 0.1.0
Bring your animation into Godot
Publish an animated sprite and place it in a Godot 4 scene.
Cromoran publishes your animations straight into a Godot 4 project as a native SpriteFrames resource. You don't need to install a plugin or have Godot open.
Publish from Cromoran
- Open a Godot 4 project or create a test project. Find the folder that contains project.godot.
- In Cromoran, open the project from your first animation or download Aleteo (.mca). With Animación (Animation) active, choose Exportar → Godot · publicar animaciones (Export → Godot · publish animations).
- Check the framing and background. If you're using Aleteo, open Ajustes para Godot… (Godot settings) and choose Pixel 1×. Keep scene creation enabled.
- Save the resource as aleteo.tres in a visible folder inside the Godot project. Cromoran also creates aleteo-sprite.tscn and the images it needs.
The dialog lists the sequences being published, with their names, frame rates, and playback modes. Check the names before publishing. If a sequence is removed or renamed when you republish, review the warning and update references to that name in Godot. Transparency is preserved. Ping pong includes the return trip.
Test the sprite in Godot
- Return to Godot and wait for the import to finish. Open or create a 2D scene.
- Drag aleteo-sprite.tscn from the FileSystem dock onto the canvas and place it where you can see it.
- Select the AnimatedSprite2D and set the animation to autoplay. If you used the sample, the animation is called aleteo. Save and run the current scene with F6 to check the movement.
If you published only the .tres, add an AnimatedSprite2D and assign the file to Sprite Frames. Godot AnimatedSprite2D reference
In the scene tree, select the sprite node and use the Inspector to check its Sprite Frames resource and animation name. If the node is out of frame, move it inside the view before running the scene.
Godot settings
Ajustes para Godot… (Godot settings) offers:
- Profiles: Pixel 1×, 2×, or 3×, and Illustration.
- Node scale and filtering: Nearest (crisp pixels) or Linear (smoothed).
- Pivot: center, bottom center, corner, or custom. It's expressed as a percentage of the exported frame.
- Atlas or individual images: by default, Cromoran packs frames into atlas pages of 1024, 2048, or 4096 pixels. Identical frames are shared.
These settings don't change the pixels of your project in Cromoran.
Update from the same project
Edit the animation in Cromoran and publish again to the same path: Cromoran remembers each project's last destination. Godot detects the change and updates the sprite.
- Keep the character's logic in your game scene. The .tres, the -sprite.tscn, and its -sprite.gd are generated files and get replaced when you publish.
- Changes you make to an instance, such as its scale or position, are kept.
- A running game may need to restart to show the new images.
Cromoran only updates resources that the same project published. If the .tres belongs to another project, it asks you for a different name.
Old images
Published images are stored in an mcs-textures-… folder. Previous versions are kept so existing references don't break. If you turn on Revisar imágenes antiguas después de publicar (Review old images after publishing), Cromoran shows you which ones are no longer used and can archive them reversibly. Ajustes para Godot → Restaurar imágenes archivadas… (Godot settings → Restore archived images) brings them back.
Add the .tres, the scene, the script, and the images folder to version control.
Publish a multi-part object
Use this workflow when Godot needs to move parts independently, such as a door and its frame.
- Draw the frame and the door on separate layers. Group the line and color layers that should move together. If your project is in Animation mode, go to the frame whose drawing you want to publish.
- Open Proyecto → Publicar por piezas… (Project → Publish by parts). Enable the parts you want to include and select the door.
- Place its pivot on the hinge in the preview. Test a rotation to check where it turns. Use Se mueve con (Moves with) when one part should follow another. Choose Guardar montaje (Save assembly) and save the Cromoran project to keep these settings.
- Choose Godot · escena 2D (Godot · 2D scene), save the .tscn within the Godot project, and instance it in your level. Use Referencia Godot (Godot reference) to identify the node your game will control. Keep the game logic in your own scene.
- To update the artwork, publish again to the same destination and review any notice about changed names, parts, or hierarchy before confirming.
Godot · escena 3D (Godot · 3D scene) publishes parts as flat 3D sprites using the same assembly. Use Tamaño de píxel 3D (3D pixel size) to set how many Godot units a pixel represents. Paquete portable · PNG + JSON (Portable package · PNG + JSON) creates a ZIP of textures and a manifest listing names, pivots, order, and hierarchy for use in another engine.
What isn't published: Godot receives images. Editable keys, collisions, and sound aren't transferred, and changes made in Godot don't flow back to Cromoran.