Skip Navigation

Search

Persistent variables in tool script

My script sets this value in editor. How can I keep the the changes when saving the scene?

``` class Anchor: var offset: Vector3 var connected: Node3D var end: bool

var anchors: Array[Anchor] I found [this issue](https://github.com/godotengine/godot/issues/21900), so I tried fiddling with_get_property_list()```, but that didn't work. It also doesn't seem that I can export the var.

Thanks

6

pixel art in a theme?

How would I go about creating a pixel art theme for a game? I don't want to lower the resolution of the game, as it is supposed to render the game in the native resolution and I want crisp effects and text. Currently Godot makes a single pixel of the ui a single pixel on the screen. How would one go about fixing that? UI looks like this currently:

!

Do I really have to scale every control, or can I set it up for controls to automatically display its textures bigger?

EDIT: Here is a zoomed in version of the picture above. This should clarify of what I want to achieve (without having to zoom in) !

4