Skip to content

Instantly share code, notes, and snippets.

@tool
extends Node
@export_storage var viewport_position: Vector2
@export_storage var viewport_size: Vector2i
@export var main_screen_position_offset := Vector2(0, -18)
@export var main_screen_size_offset := Vector2i(0, -32)
func _enter_tree() -> void:
@passivestar
passivestar / Editor.tres
Last active October 23, 2024 19:30
Godot editor theme
[gd_resource type="Theme" load_steps=12 format=3 uid="uid://7bvxnk5n5imx"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_6h42l"]
content_margin_left = 10.5
content_margin_top = 8.75
content_margin_right = 10.5
content_margin_bottom = 8.75
bg_color = Color(0.117647, 0.117647, 0.117647, 1)
draw_center = false
border_color = Color(1, 1, 1, 0.137255)