-
I'm currently working on a block cheetsheet/ documentation for the plugin(still very rudimentary of course). Is there any place that the SVG blocks are uploaded so that the community can use them? Maybe they are located in the project somewhere but I can't find them, and I'm currently recreating every single block by screenshotting and making them from scratch in inkscape. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
@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 Godot's renderer doesn't handle SVGs, so these methods were implemented to ensure that the blocks can scale properly |
Beta Was this translation helpful? Give feedback.
-
Do you guys have internal documentation or public documentation somewhere on the plugin that we could contribute to? I was considering setting up a small doc site on github pages, but I have no idea what the actual plan for this plugin is outside of its intent(being a learning tool). |
Beta Was this translation helpful? Give feedback.
@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