Skip to content

ssab#51

Closed
Naruto wants to merge 76 commits into
mainfrom
dev/ssab
Closed

ssab#51
Naruto wants to merge 76 commits into
mainfrom
dev/ssab

Conversation

@Naruto
Copy link
Copy Markdown
Collaborator

@Naruto Naruto commented Jan 17, 2026

No description provided.

Naruto and others added 14 commits April 20, 2026 15:07
…ance

- Resolve texture and cell information directly from SSAB binary, fixing the incorrect texture hash lookups.
- Use map_id for CellMap and LookupByKey with name_hash for fast Cell retrieval.
- Migrate from CanvasItem drawing API (NOTIFICATION_DRAW) to RenderingServer child RIDs to avoid redundant draw calls and retain unchanged part states.
- Support Godot 4.6 rendering_server.h include path changes.
- Add is_valid() to GdSsabResource using FlatBuffers Verifier for robust structural validation.
- Enforce validation during load_from_file and GdSsPlayerNode2D::setSsabResource to prevent processing invalid or empty data.
- Migrate drawAnimation from high-level CanvasItem API to low-level RenderingServer for better performance.
- Optimize cell lookups using LookupByKey and simplify the rendering loop by removing redundant checks.
- Support Godot 4.6 rendering_server.h include path changes.
- Replaced simple add_texture_rect_region with a hybrid approach using add_triangle_array for Normal parts that utilize advanced features.
- Added support for Vertex Deform (4-corner translation).
- Added support for Part Color (4-corner RGBA blending).
- Added support for UV animations (translation, rotation, scaling).
- Implemented CanvasItemMaterial caching to support SpriteStudio Blend Modes (Mix, Add, Sub, Mul).
- Corrected Y-coordinate and Z-rotation mapping to align SpriteStudio's Y-up orientation with Godot's Y-down coordinate system.
@Naruto Naruto closed this Apr 23, 2026
@Naruto Naruto deleted the dev/ssab branch April 23, 2026 10:11
@Naruto Naruto restored the dev/ssab branch April 23, 2026 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants