Title. I plan on making something using vector graphics, to simulate the old Flash style, stretching to accommodate any screen size and zooming in and out without losing fidelity is something I’d like.

Now, I know that I can import a svg file into a TileMap node, but it’ll be rasterized and act just like a png. Searching around YT and google aren’t yielding many results about using vector graphics with Godot.

  • @[email protected]
    link
    fedilink
    4
    edit-2
    11 months ago

    From what I read in the docs, SVGs are rasterized when they are imported by godot. Are the SVGs you use for other things besides the tile map importing as rasterized images too? Or is it just the ones for the tilemap?

    EDIT: After a bit more research, godot doesnt support SVG images as vector graphics. When they get imported the are rasterized and used as textures. But there are plugins that allow the use of vector graphics. https://godotengine.org/asset-library/asset/1544 This one is old, for use with 3.x, but you might be able to find a newer one.

    • I Cast FistOP
      link
      English
      111 months ago

      Is there a way to apply bezier curves to polygons? I can’t see anything regarding curves or “bezier” in the polygon docs. There is a Curve2D object type, so it seems I’d have to extend it