Skip to content

Block SVGs? #362

Answered by DoomTas3r
tindrew asked this question in Q&A
Jan 25, 2025 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

@tindrew The blocks aren't actually SVGs, but are drawn with Godot's CanvasItem methods. The functions for drawing the blocks can be found in res://addons/block_code/ui/blocks/utilities/background/background.gd

Godot's renderer doesn't handle SVGs, so these methods were implemented to ensure that the blocks can scale properly

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@tindrew
Comment options

Answer selected by manuq
Comment options

You must be logged in to vote
2 replies
@manuq
Comment options

manuq Jan 29, 2025
Collaborator

@manuq
Comment options

manuq Jan 30, 2025
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants