diff --git a/godot_ship/Gameplay.gd b/godot_ship/Gameplay.gd deleted file mode 100644 index bb9bd06..0000000 --- a/godot_ship/Gameplay.gd +++ /dev/null @@ -1,16 +0,0 @@ -extends Control - - -# Declare member variables here. Examples: -# var a = 2 -# var b = "text" - - -# Called when the node enters the scene tree for the first time. -func _ready(): - pass # Replace with function body. - - -# Called every frame. 'delta' is the elapsed time since the previous frame. -#func _process(delta): -# pass diff --git a/godot_ship/debug.tres b/godot_ship/debug.tres new file mode 100644 index 0000000..7f37538 --- /dev/null +++ b/godot_ship/debug.tres @@ -0,0 +1,43 @@ +[gd_resource type="Theme" format=2] + +[resource] +resource_name = "Debug Theme" +TextEdit/colors/background_color = Color( 0, 0.117647, 0.152941, 1 ) +TextEdit/colors/bookmark_color = Color( 0.0784314, 0.490196, 0.980392, 1 ) +TextEdit/colors/brace_mismatch_color = Color( 1, 0.2, 0.2, 1 ) +TextEdit/colors/breakpoint_color = Color( 0.8, 0.8, 0.4, 0.2 ) +TextEdit/colors/caret_background_color = Color( 0, 0, 0, 1 ) +TextEdit/colors/caret_color = Color( 0.88, 0.88, 0.88, 1 ) +TextEdit/colors/code_folding_color = Color( 0.8, 0.8, 0.8, 0.8 ) +TextEdit/colors/completion_background_color = Color( 0.17, 0.16, 0.2, 1 ) +TextEdit/colors/completion_existing_color = Color( 0.87, 0.87, 0.87, 0.13 ) +TextEdit/colors/completion_font_color = Color( 0.67, 0.67, 0.67, 1 ) +TextEdit/colors/completion_scroll_color = Color( 1, 1, 1, 1 ) +TextEdit/colors/completion_selected_color = Color( 0.26, 0.26, 0.27, 1 ) +TextEdit/colors/current_line_color = Color( 0.25098, 0.25098, 0.258824, 0.8 ) +TextEdit/colors/executing_line_color = Color( 0.2, 0.8, 0.2, 0.4 ) +TextEdit/colors/font_color = Color( 0.611765, 0.760784, 0.764706, 1 ) +TextEdit/colors/font_color_readonly = Color( 0.611765, 0.760784, 0.764706, 1 ) +TextEdit/colors/font_color_selected = Color( 0, 0, 0, 1 ) +TextEdit/colors/function_color = Color( 0.4, 0.64, 0.81, 1 ) +TextEdit/colors/line_number_color = Color( 0.67, 0.67, 0.67, 0.4 ) +TextEdit/colors/mark_color = Color( 1, 0.4, 0.4, 0.4 ) +TextEdit/colors/member_variable_color = Color( 0.9, 0.31, 0.35, 1 ) +TextEdit/colors/number_color = Color( 0.92, 0.58, 0.2, 1 ) +TextEdit/colors/safe_line_number_color = Color( 0.67, 0.78, 0.67, 0.6 ) +TextEdit/colors/selection_color = Color( 0.49, 0.49, 0.49, 1 ) +TextEdit/colors/symbol_color = Color( 0.94, 0.94, 0.94, 1 ) +TextEdit/colors/word_highlighted_color = Color( 0.8, 0.9, 0.9, 0.15 ) +TextEdit/constants/completion_lines = 7 +TextEdit/constants/completion_max_width = 50 +TextEdit/constants/completion_scroll_width = 3 +TextEdit/constants/line_spacing = 4 +TextEdit/fonts/font = null +TextEdit/icons/fold = null +TextEdit/icons/folded = null +TextEdit/icons/space = null +TextEdit/icons/tab = null +TextEdit/styles/completion = null +TextEdit/styles/focus = null +TextEdit/styles/normal = null +TextEdit/styles/read_only = null diff --git a/godot_ship/main.tres b/godot_ship/main.tres index 51effda..74cd80c 100644 --- a/godot_ship/main.tres +++ b/godot_ship/main.tres @@ -2,3 +2,1251 @@ [resource] resource_name = "Main Theme" +BoxContainer/constants/separation = 4 +Button/colors/font_color = Color( 0, 0, 0, 1 ) +Button/colors/font_color_disabled = Color( 0, 0, 0, 1 ) +Button/colors/font_color_hover = Color( 0, 0, 0, 1 ) +Button/colors/font_color_pressed = Color( 0, 0, 0, 1 ) +Button/colors/icon_color_hover = Color( 0, 0, 0, 1 ) +Button/colors/icon_color_pressed = Color( 0, 0, 0, 1 ) +Button/constants/hseparation = 2 +Button/fonts/font = null +Button/styles/disabled = null +Button/styles/focus = null +Button/styles/hover = null +Button/styles/normal = null +Button/styles/pressed = null +CheckBox/colors/font_color = Color( 0, 0, 0, 1 ) +CheckBox/colors/font_color_disabled = Color( 0, 0, 0, 1 ) +CheckBox/colors/font_color_hover = Color( 0, 0, 0, 1 ) +CheckBox/colors/font_color_hover_pressed = Color( 0, 0, 0, 1 ) +CheckBox/colors/font_color_pressed = Color( 0, 0, 0, 1 ) +CheckBox/colors/icon_color_hover = Color( 0, 0, 0, 1 ) +CheckBox/constants/check_vadjust = 0 +CheckBox/constants/hseparation = 4 +CheckBox/fonts/font = null +CheckBox/icons/checked = null +CheckBox/icons/radio_checked = null +CheckBox/icons/radio_unchecked = null +CheckBox/icons/unchecked = null +CheckBox/styles/disabled = null +CheckBox/styles/focus = null +CheckBox/styles/hover = null +CheckBox/styles/hover_pressed = null +CheckBox/styles/normal = null +CheckBox/styles/pressed = null +CheckButton/colors/font_color = Color( 0, 0, 0, 1 ) +CheckButton/colors/font_color_disabled = Color( 0, 0, 0, 1 ) +CheckButton/colors/font_color_hover = Color( 0, 0, 0, 1 ) +CheckButton/colors/font_color_hover_pressed = Color( 0, 0, 0, 1 ) +CheckButton/colors/font_color_pressed = Color( 0, 0, 0, 1 ) +CheckButton/colors/icon_color_hover = Color( 0, 0, 0, 1 ) +CheckButton/constants/check_vadjust = 0 +CheckButton/constants/hseparation = 4 +CheckButton/fonts/font = null +CheckButton/icons/off = null +CheckButton/icons/off_disabled = null +CheckButton/icons/on = null +CheckButton/icons/on_disabled = null +CheckButton/styles/disabled = null +CheckButton/styles/focus = null +CheckButton/styles/hover = null +CheckButton/styles/hover_pressed = null +CheckButton/styles/normal = null +CheckButton/styles/pressed = null +ColorPicker/constants/h_width = 30 +ColorPicker/constants/label_width = 10 +ColorPicker/constants/margin = 4 +ColorPicker/constants/sv_height = 256 +ColorPicker/constants/sv_width = 256 +ColorPicker/icons/add_preset = null +ColorPicker/icons/color_hue = null +ColorPicker/icons/color_sample = null +ColorPicker/icons/overbright_indicator = null +ColorPicker/icons/preset_bg = null +ColorPicker/icons/screen_picker = null +ColorPickerButton/colors/font_color = Color( 0, 0, 0, 1 ) +ColorPickerButton/colors/font_color_disabled = Color( 0, 0, 0, 1 ) +ColorPickerButton/colors/font_color_hover = Color( 0, 0, 0, 1 ) +ColorPickerButton/colors/font_color_pressed = Color( 0, 0, 0, 1 ) +ColorPickerButton/constants/hseparation = 2 +ColorPickerButton/fonts/font = null +ColorPickerButton/icons/bg = null +ColorPickerButton/styles/disabled = null +ColorPickerButton/styles/focus = null +ColorPickerButton/styles/hover = null +ColorPickerButton/styles/normal = null +ColorPickerButton/styles/pressed = null +Dialogs/constants/button_margin = 32 +Dialogs/constants/margin = 8 +Editor/colors/accent_color = Color( 0, 0, 0, 1 ) +Editor/colors/axis_x_color = Color( 0, 0, 0, 1 ) +Editor/colors/axis_y_color = Color( 0, 0, 0, 1 ) +Editor/colors/axis_z_color = Color( 0, 0, 0, 1 ) +Editor/colors/base_color = Color( 0, 0, 0, 1 ) +Editor/colors/box_selection_fill_color = Color( 0, 0, 0, 1 ) +Editor/colors/box_selection_stroke_color = Color( 0, 0, 0, 1 ) +Editor/colors/contrast_color_1 = Color( 0, 0, 0, 1 ) +Editor/colors/contrast_color_2 = Color( 0, 0, 0, 1 ) +Editor/colors/dark_color_1 = Color( 0, 0, 0, 1 ) +Editor/colors/dark_color_2 = Color( 0, 0, 0, 1 ) +Editor/colors/dark_color_3 = Color( 0, 0, 0, 1 ) +Editor/colors/disabled_font_color = Color( 0, 0, 0, 1 ) +Editor/colors/error_color = Color( 0, 0, 0, 1 ) +Editor/colors/font_color = Color( 0, 0, 0, 1 ) +Editor/colors/highlight_color = Color( 0, 0, 0, 1 ) +Editor/colors/highlighted_font_color = Color( 0, 0, 0, 1 ) +Editor/colors/mono_color = Color( 0, 0, 0, 1 ) +Editor/colors/prop_category = Color( 0, 0, 0, 1 ) +Editor/colors/prop_section = Color( 0, 0, 0, 1 ) +Editor/colors/prop_subsection = Color( 0, 0, 0, 1 ) +Editor/colors/property_color = Color( 0, 0, 0, 1 ) +Editor/colors/sub_inspector_property_color = Color( 0, 0, 0, 1 ) +Editor/colors/success_color = Color( 0, 0, 0, 1 ) +Editor/colors/warning_color = Color( 0, 0, 0, 1 ) +Editor/constants/dark_theme = 1 +Editor/constants/inspector_margin = 8 +Editor/constants/scale = 1 +Editor/constants/sub_inspector_font_offset = 4 +Editor/constants/thumb_size = 64 +Editor/styles/sub_inspector_bg0 = null +Editor/styles/sub_inspector_bg1 = null +Editor/styles/sub_inspector_bg10 = null +Editor/styles/sub_inspector_bg11 = null +Editor/styles/sub_inspector_bg12 = null +Editor/styles/sub_inspector_bg13 = null +Editor/styles/sub_inspector_bg14 = null +Editor/styles/sub_inspector_bg15 = null +Editor/styles/sub_inspector_bg2 = null +Editor/styles/sub_inspector_bg3 = null +Editor/styles/sub_inspector_bg4 = null +Editor/styles/sub_inspector_bg5 = null +Editor/styles/sub_inspector_bg6 = null +Editor/styles/sub_inspector_bg7 = null +Editor/styles/sub_inspector_bg8 = null +Editor/styles/sub_inspector_bg9 = null +Editor/styles/sub_inspector_property_bg0 = null +Editor/styles/sub_inspector_property_bg1 = null +Editor/styles/sub_inspector_property_bg10 = null +Editor/styles/sub_inspector_property_bg11 = null +Editor/styles/sub_inspector_property_bg12 = null +Editor/styles/sub_inspector_property_bg13 = null +Editor/styles/sub_inspector_property_bg14 = null +Editor/styles/sub_inspector_property_bg15 = null +Editor/styles/sub_inspector_property_bg2 = null +Editor/styles/sub_inspector_property_bg3 = null +Editor/styles/sub_inspector_property_bg4 = null +Editor/styles/sub_inspector_property_bg5 = null +Editor/styles/sub_inspector_property_bg6 = null +Editor/styles/sub_inspector_property_bg7 = null +Editor/styles/sub_inspector_property_bg8 = null +Editor/styles/sub_inspector_property_bg9 = null +Editor/styles/sub_inspector_property_bg_selected0 = null +Editor/styles/sub_inspector_property_bg_selected1 = null +Editor/styles/sub_inspector_property_bg_selected10 = null +Editor/styles/sub_inspector_property_bg_selected11 = null +Editor/styles/sub_inspector_property_bg_selected12 = null +Editor/styles/sub_inspector_property_bg_selected13 = null +Editor/styles/sub_inspector_property_bg_selected14 = null +Editor/styles/sub_inspector_property_bg_selected15 = null +Editor/styles/sub_inspector_property_bg_selected2 = null +Editor/styles/sub_inspector_property_bg_selected3 = null +Editor/styles/sub_inspector_property_bg_selected4 = null +Editor/styles/sub_inspector_property_bg_selected5 = null +Editor/styles/sub_inspector_property_bg_selected6 = null +Editor/styles/sub_inspector_property_bg_selected7 = null +Editor/styles/sub_inspector_property_bg_selected8 = null +Editor/styles/sub_inspector_property_bg_selected9 = null +EditorAbout/styles/panel = null +EditorFonts/fonts/bold = null +EditorFonts/fonts/doc = null +EditorFonts/fonts/doc_bold = null +EditorFonts/fonts/doc_source = null +EditorFonts/fonts/doc_title = null +EditorFonts/fonts/expression = null +EditorFonts/fonts/main = null +EditorFonts/fonts/output_source = null +EditorFonts/fonts/rotation_control = null +EditorFonts/fonts/rulers = null +EditorFonts/fonts/source = null +EditorFonts/fonts/status_source = null +EditorFonts/fonts/title = null +EditorHelp/colors/headline_color = Color( 0, 0, 0, 1 ) +EditorIcons/icons/2D = null +EditorIcons/icons/3D = null +EditorIcons/icons/AABB = null +EditorIcons/icons/ARVRAnchor = null +EditorIcons/icons/ARVRCamera = null +EditorIcons/icons/ARVRController = null +EditorIcons/icons/ARVROrigin = null +EditorIcons/icons/AcceptDialog = null +EditorIcons/icons/ActionCopy = null +EditorIcons/icons/ActionCut = null +EditorIcons/icons/ActionPaste = null +EditorIcons/icons/Add = null +EditorIcons/icons/AddAtlasTile = null +EditorIcons/icons/AddAutotile = null +EditorIcons/icons/AddSingleTile = null +EditorIcons/icons/AddSplit = null +EditorIcons/icons/Anchor = null +EditorIcons/icons/AnimatedSprite = null +EditorIcons/icons/AnimatedSprite3D = null +EditorIcons/icons/AnimatedTexture = null +EditorIcons/icons/Animation = null +EditorIcons/icons/AnimationFilter = null +EditorIcons/icons/AnimationPlayer = null +EditorIcons/icons/AnimationTrackGroup = null +EditorIcons/icons/AnimationTrackList = null +EditorIcons/icons/AnimationTree = null +EditorIcons/icons/AnimationTreePlayer = null +EditorIcons/icons/Area = null +EditorIcons/icons/Area2D = null +EditorIcons/icons/Array = null +EditorIcons/icons/ArrayMesh = null +EditorIcons/icons/ArrowDown = null +EditorIcons/icons/ArrowLeft = null +EditorIcons/icons/ArrowRight = null +EditorIcons/icons/ArrowUp = null +EditorIcons/icons/AspectRatioContainer = null +EditorIcons/icons/AssetLib = null +EditorIcons/icons/AtlasTexture = null +EditorIcons/icons/AudioBusBypass = null +EditorIcons/icons/AudioBusLayout = null +EditorIcons/icons/AudioBusMute = null +EditorIcons/icons/AudioBusSolo = null +EditorIcons/icons/AudioStreamMP3 = null +EditorIcons/icons/AudioStreamOGGVorbis = null +EditorIcons/icons/AudioStreamPlayer = null +EditorIcons/icons/AudioStreamPlayer2D = null +EditorIcons/icons/AudioStreamPlayer3D = null +EditorIcons/icons/AudioStreamSample = null +EditorIcons/icons/AutoEnd = null +EditorIcons/icons/AutoKey = null +EditorIcons/icons/AutoPlay = null +EditorIcons/icons/AutoTriangle = null +EditorIcons/icons/Back = null +EditorIcons/icons/BackBufferCopy = null +EditorIcons/icons/Bake = null +EditorIcons/icons/BakedLightmap = null +EditorIcons/icons/BakedLightmapData = null +EditorIcons/icons/Basis = null +EditorIcons/icons/BezierHandlesBalanced = null +EditorIcons/icons/BezierHandlesFree = null +EditorIcons/icons/BezierHandlesMirror = null +EditorIcons/icons/BitMap = null +EditorIcons/icons/BitmapFont = null +EditorIcons/icons/Blend = null +EditorIcons/icons/Bone = null +EditorIcons/icons/Bone2D = null +EditorIcons/icons/BoneAttachment = null +EditorIcons/icons/BoneTrack = null +EditorIcons/icons/BoxShape = null +EditorIcons/icons/Bucket = null +EditorIcons/icons/BusVuEmpty = null +EditorIcons/icons/BusVuFrozen = null +EditorIcons/icons/BusVuFull = null +EditorIcons/icons/Button = null +EditorIcons/icons/ButtonGroup = null +EditorIcons/icons/CPUParticles = null +EditorIcons/icons/CPUParticles2D = null +EditorIcons/icons/CSGBox = null +EditorIcons/icons/CSGCapsule = null +EditorIcons/icons/CSGCombiner = null +EditorIcons/icons/CSGCylinder = null +EditorIcons/icons/CSGMesh = null +EditorIcons/icons/CSGPolygon = null +EditorIcons/icons/CSGSphere = null +EditorIcons/icons/CSGTorus = null +EditorIcons/icons/Camera = null +EditorIcons/icons/Camera2D = null +EditorIcons/icons/CameraTexture = null +EditorIcons/icons/CanvasItem = null +EditorIcons/icons/CanvasItemMaterial = null +EditorIcons/icons/CanvasItemShader = null +EditorIcons/icons/CanvasItemShaderGraph = null +EditorIcons/icons/CanvasLayer = null +EditorIcons/icons/CanvasModulate = null +EditorIcons/icons/CapsuleMesh = null +EditorIcons/icons/CapsuleShape = null +EditorIcons/icons/CapsuleShape2D = null +EditorIcons/icons/CenterContainer = null +EditorIcons/icons/CheckBox = null +EditorIcons/icons/CheckButton = null +EditorIcons/icons/Checkerboard = null +EditorIcons/icons/CircleShape2D = null +EditorIcons/icons/ClassList = null +EditorIcons/icons/Clear = null +EditorIcons/icons/ClippedCamera = null +EditorIcons/icons/Close = null +EditorIcons/icons/Collapse = null +EditorIcons/icons/CollisionPolygon = null +EditorIcons/icons/CollisionPolygon2D = null +EditorIcons/icons/CollisionShape = null +EditorIcons/icons/CollisionShape2D = null +EditorIcons/icons/Color = null +EditorIcons/icons/ColorPick = null +EditorIcons/icons/ColorPicker = null +EditorIcons/icons/ColorPickerButton = null +EditorIcons/icons/ColorRamp = null +EditorIcons/icons/ColorRect = null +EditorIcons/icons/ColorTrackVu = null +EditorIcons/icons/ConcavePolygonShape = null +EditorIcons/icons/ConcavePolygonShape2D = null +EditorIcons/icons/ConeTwistJoint = null +EditorIcons/icons/ConfirmationDialog = null +EditorIcons/icons/Container = null +EditorIcons/icons/Control = null +EditorIcons/icons/ControlAlignBottomCenter = null +EditorIcons/icons/ControlAlignBottomLeft = null +EditorIcons/icons/ControlAlignBottomRight = null +EditorIcons/icons/ControlAlignBottomWide = null +EditorIcons/icons/ControlAlignCenter = null +EditorIcons/icons/ControlAlignCenterLeft = null +EditorIcons/icons/ControlAlignCenterRight = null +EditorIcons/icons/ControlAlignLeftCenter = null +EditorIcons/icons/ControlAlignLeftWide = null +EditorIcons/icons/ControlAlignRightCenter = null +EditorIcons/icons/ControlAlignRightWide = null +EditorIcons/icons/ControlAlignTopCenter = null +EditorIcons/icons/ControlAlignTopLeft = null +EditorIcons/icons/ControlAlignTopRight = null +EditorIcons/icons/ControlAlignTopWide = null +EditorIcons/icons/ControlAlignWide = null +EditorIcons/icons/ControlHcenterWide = null +EditorIcons/icons/ControlLayout = null +EditorIcons/icons/ControlVcenterWide = null +EditorIcons/icons/ConvexPolygonShape = null +EditorIcons/icons/ConvexPolygonShape2D = null +EditorIcons/icons/CopyNodePath = null +EditorIcons/icons/CreateNewSceneFrom = null +EditorIcons/icons/CryptoKey = null +EditorIcons/icons/CubeMap = null +EditorIcons/icons/CubeMesh = null +EditorIcons/icons/Curve = null +EditorIcons/icons/Curve2D = null +EditorIcons/icons/Curve3D = null +EditorIcons/icons/CurveClose = null +EditorIcons/icons/CurveConstant = null +EditorIcons/icons/CurveCreate = null +EditorIcons/icons/CurveCurve = null +EditorIcons/icons/CurveDelete = null +EditorIcons/icons/CurveEdit = null +EditorIcons/icons/CurveIn = null +EditorIcons/icons/CurveInOut = null +EditorIcons/icons/CurveLinear = null +EditorIcons/icons/CurveOut = null +EditorIcons/icons/CurveOutIn = null +EditorIcons/icons/CurveTexture = null +EditorIcons/icons/CylinderMesh = null +EditorIcons/icons/CylinderShape = null +EditorIcons/icons/DampedSpringJoint2D = null +EditorIcons/icons/Debug = null +EditorIcons/icons/DebugContinue = null +EditorIcons/icons/DebugNext = null +EditorIcons/icons/DebugSkipBreakpointsOff = null +EditorIcons/icons/DebugSkipBreakpointsOn = null +EditorIcons/icons/DebugStep = null +EditorIcons/icons/DefaultProjectIcon = null +EditorIcons/icons/DeleteSplit = null +EditorIcons/icons/Dictionary = null +EditorIcons/icons/DirectionalLight = null +EditorIcons/icons/DistractionFree = null +EditorIcons/icons/Duplicate = null +EditorIcons/icons/DynamicFont = null +EditorIcons/icons/DynamicFontData = null +EditorIcons/icons/Edit = null +EditorIcons/icons/EditBezier = null +EditorIcons/icons/EditInternal = null +EditorIcons/icons/EditKey = null +EditorIcons/icons/EditPivot = null +EditorIcons/icons/EditResource = null +EditorIcons/icons/Editor3DHandle = null +EditorIcons/icons/EditorControlAnchor = null +EditorIcons/icons/EditorCurveHandle = null +EditorIcons/icons/EditorHandle = null +EditorIcons/icons/EditorHandleAdd = null +EditorIcons/icons/EditorInternalHandle = null +EditorIcons/icons/EditorPathSharpHandle = null +EditorIcons/icons/EditorPathSmoothHandle = null +EditorIcons/icons/EditorPivot = null +EditorIcons/icons/EditorPlugin = null +EditorIcons/icons/EditorPosition = null +EditorIcons/icons/EditorPositionPrevious = null +EditorIcons/icons/EditorPositionUnselected = null +EditorIcons/icons/Enum = null +EditorIcons/icons/Environment = null +EditorIcons/icons/Error = null +EditorIcons/icons/ErrorSign = null +EditorIcons/icons/ErrorWarning = null +EditorIcons/icons/ExpandBottomDock = null +EditorIcons/icons/Favorites = null +EditorIcons/icons/File = null +EditorIcons/icons/FileBigThumb = null +EditorIcons/icons/FileBroken = null +EditorIcons/icons/FileBrokenBigThumb = null +EditorIcons/icons/FileDead = null +EditorIcons/icons/FileDeadBigThumb = null +EditorIcons/icons/FileDeadMediumThumb = null +EditorIcons/icons/FileDialog = null +EditorIcons/icons/FileList = null +EditorIcons/icons/FileMediumThumb = null +EditorIcons/icons/FileThumbnail = null +EditorIcons/icons/Filesystem = null +EditorIcons/icons/FixedMaterial = null +EditorIcons/icons/FixedSpatialMaterial = null +EditorIcons/icons/Folder = null +EditorIcons/icons/FolderBigThumb = null +EditorIcons/icons/FolderMediumThumb = null +EditorIcons/icons/Font = null +EditorIcons/icons/Forward = null +EditorIcons/icons/GDNativeLibrary = null +EditorIcons/icons/GDScript = null +EditorIcons/icons/GIProbe = null +EditorIcons/icons/GIProbeData = null +EditorIcons/icons/Generic6DOFJoint = null +EditorIcons/icons/GizmoBakedLightmap = null +EditorIcons/icons/GizmoCPUParticles = null +EditorIcons/icons/GizmoCamera = null +EditorIcons/icons/GizmoDirectionalLight = null +EditorIcons/icons/GizmoGIProbe = null +EditorIcons/icons/GizmoLight = null +EditorIcons/icons/GizmoListener = null +EditorIcons/icons/GizmoParticles = null +EditorIcons/icons/GizmoReflectionProbe = null +EditorIcons/icons/GizmoSpatialSamplePlayer = null +EditorIcons/icons/GizmoSpatialStreamPlayer = null +EditorIcons/icons/GizmoSpotLight = null +EditorIcons/icons/Godot = null +EditorIcons/icons/GodotDocs = null +EditorIcons/icons/Gradient = null +EditorIcons/icons/GradientTexture = null +EditorIcons/icons/GraphEdit = null +EditorIcons/icons/GraphNode = null +EditorIcons/icons/Grid = null +EditorIcons/icons/GridContainer = null +EditorIcons/icons/GridMap = null +EditorIcons/icons/GridMinimap = null +EditorIcons/icons/GrooveJoint2D = null +EditorIcons/icons/Group = null +EditorIcons/icons/GroupViewport = null +EditorIcons/icons/Groups = null +EditorIcons/icons/GuiChecked = null +EditorIcons/icons/GuiClose = null +EditorIcons/icons/GuiCloseCustomizable = null +EditorIcons/icons/GuiDropdown = null +EditorIcons/icons/GuiEllipsis = null +EditorIcons/icons/GuiGraphNodePort = null +EditorIcons/icons/GuiHTick = null +EditorIcons/icons/GuiHsplitter = null +EditorIcons/icons/GuiMiniCheckerboard = null +EditorIcons/icons/GuiOptionArrow = null +EditorIcons/icons/GuiProgressBar = null +EditorIcons/icons/GuiProgressFill = null +EditorIcons/icons/GuiRadioChecked = null +EditorIcons/icons/GuiRadioUnchecked = null +EditorIcons/icons/GuiResizer = null +EditorIcons/icons/GuiScrollArrowLeft = null +EditorIcons/icons/GuiScrollArrowLeftHl = null +EditorIcons/icons/GuiScrollArrowRight = null +EditorIcons/icons/GuiScrollArrowRightHl = null +EditorIcons/icons/GuiScrollBg = null +EditorIcons/icons/GuiScrollGrabber = null +EditorIcons/icons/GuiScrollGrabberHl = null +EditorIcons/icons/GuiScrollGrabberPressed = null +EditorIcons/icons/GuiSliderGrabber = null +EditorIcons/icons/GuiSliderGrabberHl = null +EditorIcons/icons/GuiSpace = null +EditorIcons/icons/GuiSpinboxUpdown = null +EditorIcons/icons/GuiTab = null +EditorIcons/icons/GuiTabMenu = null +EditorIcons/icons/GuiTabMenuHl = null +EditorIcons/icons/GuiToggleOff = null +EditorIcons/icons/GuiToggleOn = null +EditorIcons/icons/GuiTreeArrowDown = null +EditorIcons/icons/GuiTreeArrowRight = null +EditorIcons/icons/GuiTreeArrowUp = null +EditorIcons/icons/GuiTreeUpdown = null +EditorIcons/icons/GuiUnchecked = null +EditorIcons/icons/GuiVTick = null +EditorIcons/icons/GuiViewportHdiagsplitter = null +EditorIcons/icons/GuiViewportVdiagsplitter = null +EditorIcons/icons/GuiViewportVhsplitter = null +EditorIcons/icons/GuiVisibilityHidden = null +EditorIcons/icons/GuiVisibilityVisible = null +EditorIcons/icons/GuiVisibilityXray = null +EditorIcons/icons/GuiVsplitBg = null +EditorIcons/icons/GuiVsplitter = null +EditorIcons/icons/HBoxContainer = null +EditorIcons/icons/HScrollBar = null +EditorIcons/icons/HSeparator = null +EditorIcons/icons/HSlider = null +EditorIcons/icons/HSplitContainer = null +EditorIcons/icons/HTTPRequest = null +EditorIcons/icons/Headphones = null +EditorIcons/icons/Heart = null +EditorIcons/icons/HeightMapShape = null +EditorIcons/icons/Help = null +EditorIcons/icons/HelpSearch = null +EditorIcons/icons/HingeJoint = null +EditorIcons/icons/History = null +EditorIcons/icons/Hsize = null +EditorIcons/icons/Image = null +EditorIcons/icons/ImageTexture = null +EditorIcons/icons/ImmediateGeometry = null +EditorIcons/icons/ImportCheck = null +EditorIcons/icons/ImportFail = null +EditorIcons/icons/InformationSign = null +EditorIcons/icons/InsertAfter = null +EditorIcons/icons/InsertBefore = null +EditorIcons/icons/Instance = null +EditorIcons/icons/InstanceOptions = null +EditorIcons/icons/InterpCubic = null +EditorIcons/icons/InterpLinear = null +EditorIcons/icons/InterpRaw = null +EditorIcons/icons/InterpWrapClamp = null +EditorIcons/icons/InterpWrapLoop = null +EditorIcons/icons/InterpolatedCamera = null +EditorIcons/icons/InverseKinematics = null +EditorIcons/icons/Issue = null +EditorIcons/icons/ItemList = null +EditorIcons/icons/JoyAxis = null +EditorIcons/icons/JoyButton = null +EditorIcons/icons/Joypad = null +EditorIcons/icons/Key = null +EditorIcons/icons/KeyAnimation = null +EditorIcons/icons/KeyAudio = null +EditorIcons/icons/KeyBezier = null +EditorIcons/icons/KeyBezierHandle = null +EditorIcons/icons/KeyBezierPoint = null +EditorIcons/icons/KeyBezierSelected = null +EditorIcons/icons/KeyCall = null +EditorIcons/icons/KeyHover = null +EditorIcons/icons/KeyInvalid = null +EditorIcons/icons/KeyNext = null +EditorIcons/icons/KeyPosition = null +EditorIcons/icons/KeyRotation = null +EditorIcons/icons/KeyScale = null +EditorIcons/icons/KeySelected = null +EditorIcons/icons/KeyValue = null +EditorIcons/icons/KeyXform = null +EditorIcons/icons/Keyboard = null +EditorIcons/icons/KinematicBody = null +EditorIcons/icons/KinematicBody2D = null +EditorIcons/icons/Label = null +EditorIcons/icons/LargeTexture = null +EditorIcons/icons/Light2D = null +EditorIcons/icons/LightOccluder2D = null +EditorIcons/icons/Line2D = null +EditorIcons/icons/LineEdit = null +EditorIcons/icons/LineShape2D = null +EditorIcons/icons/LinkButton = null +EditorIcons/icons/ListSelect = null +EditorIcons/icons/Listener = null +EditorIcons/icons/Load = null +EditorIcons/icons/Lock = null +EditorIcons/icons/LockViewport = null +EditorIcons/icons/Logo = null +EditorIcons/icons/Loop = null +EditorIcons/icons/LoopInterpolation = null +EditorIcons/icons/MainPlay = null +EditorIcons/icons/MarginContainer = null +EditorIcons/icons/MatchCase = null +EditorIcons/icons/MaterialPreviewCube = null +EditorIcons/icons/MaterialPreviewCubeOff = null +EditorIcons/icons/MaterialPreviewLight1 = null +EditorIcons/icons/MaterialPreviewLight1Off = null +EditorIcons/icons/MaterialPreviewLight2 = null +EditorIcons/icons/MaterialPreviewLight2Off = null +EditorIcons/icons/MaterialPreviewSphere = null +EditorIcons/icons/MaterialPreviewSphereOff = null +EditorIcons/icons/MemberConstant = null +EditorIcons/icons/MemberMethod = null +EditorIcons/icons/MemberProperty = null +EditorIcons/icons/MemberSignal = null +EditorIcons/icons/MemberTheme = null +EditorIcons/icons/MenuButton = null +EditorIcons/icons/Mesh = null +EditorIcons/icons/MeshInstance = null +EditorIcons/icons/MeshInstance2D = null +EditorIcons/icons/MeshLibrary = null +EditorIcons/icons/MeshTexture = null +EditorIcons/icons/MiniObject = null +EditorIcons/icons/MirrorX = null +EditorIcons/icons/MirrorY = null +EditorIcons/icons/Mouse = null +EditorIcons/icons/MoveDown = null +EditorIcons/icons/MoveLeft = null +EditorIcons/icons/MovePoint = null +EditorIcons/icons/MoveRight = null +EditorIcons/icons/MoveUp = null +EditorIcons/icons/MultiEdit = null +EditorIcons/icons/MultiLine = null +EditorIcons/icons/MultiMesh = null +EditorIcons/icons/MultiMeshInstance = null +EditorIcons/icons/MultiMeshInstance2D = null +EditorIcons/icons/NativeScript = null +EditorIcons/icons/Navigation = null +EditorIcons/icons/Navigation2D = null +EditorIcons/icons/NavigationMesh = null +EditorIcons/icons/NavigationMeshInstance = null +EditorIcons/icons/NavigationPolygon = null +EditorIcons/icons/NavigationPolygonInstance = null +EditorIcons/icons/New = null +EditorIcons/icons/NewRoot = null +EditorIcons/icons/Nil = null +EditorIcons/icons/NinePatchRect = null +EditorIcons/icons/Node = null +EditorIcons/icons/Node2D = null +EditorIcons/icons/NodePath = null +EditorIcons/icons/NodeWarning = null +EditorIcons/icons/NoiseTexture = null +EditorIcons/icons/NonFavorite = null +EditorIcons/icons/Object = null +EditorIcons/icons/OccluderPolygon2D = null +EditorIcons/icons/OmniLight = null +EditorIcons/icons/Onion = null +EditorIcons/icons/OptionButton = null +EditorIcons/icons/OverbrightIndicator = null +EditorIcons/icons/Override = null +EditorIcons/icons/PackedDataContainer = null +EditorIcons/icons/PackedScene = null +EditorIcons/icons/Panel = null +EditorIcons/icons/PanelContainer = null +EditorIcons/icons/Panels1 = null +EditorIcons/icons/Panels2 = null +EditorIcons/icons/Panels2Alt = null +EditorIcons/icons/Panels3 = null +EditorIcons/icons/Panels3Alt = null +EditorIcons/icons/Panels4 = null +EditorIcons/icons/PanoramaSky = null +EditorIcons/icons/ParallaxBackground = null +EditorIcons/icons/ParallaxLayer = null +EditorIcons/icons/ParticleAttractor2D = null +EditorIcons/icons/Particles = null +EditorIcons/icons/Particles2D = null +EditorIcons/icons/ParticlesMaterial = null +EditorIcons/icons/Path = null +EditorIcons/icons/Path2D = null +EditorIcons/icons/PathFollow = null +EditorIcons/icons/PathFollow2D = null +EditorIcons/icons/Pause = null +EditorIcons/icons/PhysicalBone = null +EditorIcons/icons/Pin = null +EditorIcons/icons/PinJoint = null +EditorIcons/icons/PinJoint2D = null +EditorIcons/icons/PinPressed = null +EditorIcons/icons/Plane = null +EditorIcons/icons/PlaneMesh = null +EditorIcons/icons/PlaneShape = null +EditorIcons/icons/Play = null +EditorIcons/icons/PlayBackwards = null +EditorIcons/icons/PlayCustom = null +EditorIcons/icons/PlayOverlay = null +EditorIcons/icons/PlayScene = null +EditorIcons/icons/PlayStart = null +EditorIcons/icons/PlayStartBackwards = null +EditorIcons/icons/PlayTravel = null +EditorIcons/icons/PluginScript = null +EditorIcons/icons/PointMesh = null +EditorIcons/icons/Polygon2D = null +EditorIcons/icons/PolygonPathFinder = null +EditorIcons/icons/PoolByteArray = null +EditorIcons/icons/PoolColorArray = null +EditorIcons/icons/PoolIntArray = null +EditorIcons/icons/PoolRealArray = null +EditorIcons/icons/PoolStringArray = null +EditorIcons/icons/PoolVector2Array = null +EditorIcons/icons/PoolVector3Array = null +EditorIcons/icons/Popup = null +EditorIcons/icons/PopupDialog = null +EditorIcons/icons/PopupMenu = null +EditorIcons/icons/PopupPanel = null +EditorIcons/icons/Portal = null +EditorIcons/icons/Position2D = null +EditorIcons/icons/Position3D = null +EditorIcons/icons/PrismMesh = null +EditorIcons/icons/ProceduralSky = null +EditorIcons/icons/Progress1 = null +EditorIcons/icons/Progress2 = null +EditorIcons/icons/Progress3 = null +EditorIcons/icons/Progress4 = null +EditorIcons/icons/Progress5 = null +EditorIcons/icons/Progress6 = null +EditorIcons/icons/Progress7 = null +EditorIcons/icons/Progress8 = null +EditorIcons/icons/ProgressBar = null +EditorIcons/icons/ProjectIconLoading = null +EditorIcons/icons/ProximityGroup = null +EditorIcons/icons/ProxyTexture = null +EditorIcons/icons/Quad = null +EditorIcons/icons/QuadMesh = null +EditorIcons/icons/Quat = null +EditorIcons/icons/RID = null +EditorIcons/icons/RayCast = null +EditorIcons/icons/RayCast2D = null +EditorIcons/icons/RayShape = null +EditorIcons/icons/RayShape2D = null +EditorIcons/icons/Rayito = null +EditorIcons/icons/Rect2 = null +EditorIcons/icons/RectangleShape2D = null +EditorIcons/icons/ReferenceRect = null +EditorIcons/icons/ReflectionProbe = null +EditorIcons/icons/RegionEdit = null +EditorIcons/icons/Reload = null +EditorIcons/icons/ReloadSmall = null +EditorIcons/icons/RemoteTransform = null +EditorIcons/icons/RemoteTransform2D = null +EditorIcons/icons/Remove = null +EditorIcons/icons/RemoveInternal = null +EditorIcons/icons/Rename = null +EditorIcons/icons/Reparent = null +EditorIcons/icons/ReparentToNewNode = null +EditorIcons/icons/ResourcePreloader = null +EditorIcons/icons/RichTextEffect = null +EditorIcons/icons/RichTextLabel = null +EditorIcons/icons/RigidBody = null +EditorIcons/icons/RigidBody2D = null +EditorIcons/icons/Room = null +EditorIcons/icons/RoomBounds = null +EditorIcons/icons/RootMotionView = null +EditorIcons/icons/Rotate0 = null +EditorIcons/icons/Rotate180 = null +EditorIcons/icons/Rotate270 = null +EditorIcons/icons/Rotate90 = null +EditorIcons/icons/RotateLeft = null +EditorIcons/icons/RotateRight = null +EditorIcons/icons/Ruler = null +EditorIcons/icons/SampleLibrary = null +EditorIcons/icons/Save = null +EditorIcons/icons/Script = null +EditorIcons/icons/ScriptCreate = null +EditorIcons/icons/ScriptCreateDialog = null +EditorIcons/icons/ScriptExtend = null +EditorIcons/icons/ScriptRemove = null +EditorIcons/icons/ScrollContainer = null +EditorIcons/icons/Search = null +EditorIcons/icons/SegmentShape2D = null +EditorIcons/icons/Shader = null +EditorIcons/icons/ShaderMaterial = null +EditorIcons/icons/ShortCut = null +EditorIcons/icons/Signal = null +EditorIcons/icons/Signals = null +EditorIcons/icons/SignalsAndGroups = null +EditorIcons/icons/Skeleton = null +EditorIcons/icons/Skeleton2D = null +EditorIcons/icons/SkeletonIK = null +EditorIcons/icons/SliderJoint = null +EditorIcons/icons/Slot = null +EditorIcons/icons/Snap = null +EditorIcons/icons/SnapGrid = null +EditorIcons/icons/SoftBody = null +EditorIcons/icons/Sort = null +EditorIcons/icons/Spatial = null +EditorIcons/icons/SpatialMaterial = null +EditorIcons/icons/SphereMesh = null +EditorIcons/icons/SphereShape = null +EditorIcons/icons/SpinBox = null +EditorIcons/icons/SpotLight = null +EditorIcons/icons/SpringArm = null +EditorIcons/icons/Sprite = null +EditorIcons/icons/Sprite3D = null +EditorIcons/icons/SpriteFrames = null +EditorIcons/icons/SpriteSheet = null +EditorIcons/icons/StaticBody = null +EditorIcons/icons/StaticBody2D = null +EditorIcons/icons/StatusError = null +EditorIcons/icons/StatusSuccess = null +EditorIcons/icons/StatusWarning = null +EditorIcons/icons/Stop = null +EditorIcons/icons/StreamTexture = null +EditorIcons/icons/String = null +EditorIcons/icons/StyleBoxEmpty = null +EditorIcons/icons/StyleBoxFlat = null +EditorIcons/icons/StyleBoxLine = null +EditorIcons/icons/StyleBoxTexture = null +EditorIcons/icons/TabContainer = null +EditorIcons/icons/Tabs = null +EditorIcons/icons/TestCube = null +EditorIcons/icons/TextEdit = null +EditorIcons/icons/TextFile = null +EditorIcons/icons/Texture3D = null +EditorIcons/icons/TextureArray = null +EditorIcons/icons/TextureButton = null +EditorIcons/icons/TextureProgress = null +EditorIcons/icons/TextureRect = null +EditorIcons/icons/Theme = null +EditorIcons/icons/ThumbnailWait = null +EditorIcons/icons/TileMap = null +EditorIcons/icons/TileSet = null +EditorIcons/icons/Time = null +EditorIcons/icons/TimelineIndicator = null +EditorIcons/icons/Timer = null +EditorIcons/icons/ToolAddNode = null +EditorIcons/icons/ToolButton = null +EditorIcons/icons/ToolConnect = null +EditorIcons/icons/ToolMove = null +EditorIcons/icons/ToolPan = null +EditorIcons/icons/ToolRotate = null +EditorIcons/icons/ToolScale = null +EditorIcons/icons/ToolSelect = null +EditorIcons/icons/ToolTriangle = null +EditorIcons/icons/Tools = null +EditorIcons/icons/TouchScreenButton = null +EditorIcons/icons/TrackAddKey = null +EditorIcons/icons/TrackAddKeyHl = null +EditorIcons/icons/TrackCapture = null +EditorIcons/icons/TrackContinuous = null +EditorIcons/icons/TrackDiscrete = null +EditorIcons/icons/TrackTrigger = null +EditorIcons/icons/Transform = null +EditorIcons/icons/Transform2D = null +EditorIcons/icons/TransitionEnd = null +EditorIcons/icons/TransitionEndAuto = null +EditorIcons/icons/TransitionEndAutoBig = null +EditorIcons/icons/TransitionEndBig = null +EditorIcons/icons/TransitionImmediate = null +EditorIcons/icons/TransitionImmediateAuto = null +EditorIcons/icons/TransitionImmediateAutoBig = null +EditorIcons/icons/TransitionImmediateBig = null +EditorIcons/icons/TransitionSync = null +EditorIcons/icons/TransitionSyncAuto = null +EditorIcons/icons/TransitionSyncAutoBig = null +EditorIcons/icons/TransitionSyncBig = null +EditorIcons/icons/Translation = null +EditorIcons/icons/Transpose = null +EditorIcons/icons/Tree = null +EditorIcons/icons/Tween = null +EditorIcons/icons/Unbone = null +EditorIcons/icons/Ungroup = null +EditorIcons/icons/Unlock = null +EditorIcons/icons/Uv = null +EditorIcons/icons/VBoxContainer = null +EditorIcons/icons/VScrollBar = null +EditorIcons/icons/VSeparator = null +EditorIcons/icons/VSlider = null +EditorIcons/icons/VSplitContainer = null +EditorIcons/icons/Variant = null +EditorIcons/icons/Vector2 = null +EditorIcons/icons/Vector3 = null +EditorIcons/icons/VehicleBody = null +EditorIcons/icons/VehicleWheel = null +EditorIcons/icons/VideoPlayer = null +EditorIcons/icons/Viewport = null +EditorIcons/icons/ViewportContainer = null +EditorIcons/icons/ViewportSpeed = null +EditorIcons/icons/ViewportTexture = null +EditorIcons/icons/ViewportZoom = null +EditorIcons/icons/VisibilityEnabler = null +EditorIcons/icons/VisibilityEnabler2D = null +EditorIcons/icons/VisibilityNotifier = null +EditorIcons/icons/VisibilityNotifier2D = null +EditorIcons/icons/VisualScript = null +EditorIcons/icons/VisualShader = null +EditorIcons/icons/VisualShaderPort = null +EditorIcons/icons/Warning = null +EditorIcons/icons/WindowDialog = null +EditorIcons/icons/World = null +EditorIcons/icons/World2D = null +EditorIcons/icons/WorldEnvironment = null +EditorIcons/icons/X509Certificate = null +EditorIcons/icons/YSort = null +EditorIcons/icons/Zoom = null +EditorIcons/icons/ZoomLess = null +EditorIcons/icons/ZoomMore = null +EditorIcons/icons/ZoomReset = null +EditorIcons/icons/bool = null +EditorIcons/icons/float = null +EditorIcons/icons/int = null +EditorProperty/colors/error_color = Color( 0, 0, 0, 1 ) +EditorProperty/colors/property_color = Color( 0, 0, 0, 1 ) +EditorProperty/constants/font_offset = 1 +EditorProperty/constants/vseparation = 4 +EditorProperty/styles/bg = null +EditorProperty/styles/bg_selected = null +EditorSettingsDialog/styles/panel = null +EditorStyles/styles/Background = null +EditorStyles/styles/BottomPanelDebuggerOverride = null +EditorStyles/styles/Content = null +EditorStyles/styles/DebuggerPanel = null +EditorStyles/styles/DebuggerTabBG = null +EditorStyles/styles/DebuggerTabFG = null +EditorStyles/styles/Focus = null +EditorStyles/styles/Information3dViewport = null +EditorStyles/styles/MenuHover = null +EditorStyles/styles/MenuPanel = null +EditorStyles/styles/PlayButtonPanel = null +EditorStyles/styles/SceneTabBG = null +EditorStyles/styles/SceneTabFG = null +EditorStyles/styles/ScriptEditor = null +EditorStyles/styles/ScriptEditorPanel = null +FileDialog/colors/file_icon_modulate = Color( 0, 0, 0, 1 ) +FileDialog/colors/files_disabled = Color( 0, 0, 0, 1 ) +FileDialog/colors/folder_icon_modulate = Color( 0, 0, 0, 1 ) +FileDialog/icons/file = null +FileDialog/icons/folder = null +FileDialog/icons/parent_folder = null +FileDialog/icons/reload = null +FileDialog/icons/toggle_hidden = null +Fonts/fonts/large = null +Fonts/fonts/normal = null +GraphEdit/colors/activity = Color( 0, 0, 0, 1 ) +GraphEdit/colors/grid_major = Color( 0, 0, 0, 1 ) +GraphEdit/colors/grid_minor = Color( 0, 0, 0, 1 ) +GraphEdit/colors/selection_fill = Color( 0, 0, 0, 1 ) +GraphEdit/colors/selection_stroke = Color( 0, 0, 0, 1 ) +GraphEdit/constants/bezier_len_neg = 160 +GraphEdit/constants/bezier_len_pos = 80 +GraphEdit/constants/port_grab_distance_horizontal = 48 +GraphEdit/constants/port_grab_distance_vertical = 6 +GraphEdit/icons/minimap = null +GraphEdit/icons/minus = null +GraphEdit/icons/more = null +GraphEdit/icons/reset = null +GraphEdit/icons/snap = null +GraphEdit/styles/bg = null +GraphEditMinimap/colors/resizer_color = Color( 0, 0, 0, 1 ) +GraphEditMinimap/icons/resizer = null +GraphEditMinimap/styles/bg = null +GraphEditMinimap/styles/camera = null +GraphEditMinimap/styles/node = null +GraphNode/colors/close_color = Color( 0, 0, 0, 1 ) +GraphNode/colors/resizer_color = Color( 0, 0, 0, 1 ) +GraphNode/colors/title_color = Color( 0, 0, 0, 1 ) +GraphNode/constants/close_h_offset = 20 +GraphNode/constants/close_offset = 18 +GraphNode/constants/port_offset = 3 +GraphNode/constants/separation = 1 +GraphNode/constants/title_h_offset = -16 +GraphNode/constants/title_offset = 20 +GraphNode/fonts/title_font = null +GraphNode/icons/close = null +GraphNode/icons/port = null +GraphNode/icons/resizer = null +GraphNode/styles/breakpoint = null +GraphNode/styles/comment = null +GraphNode/styles/commentfocus = null +GraphNode/styles/defaultfocus = null +GraphNode/styles/defaultframe = null +GraphNode/styles/frame = null +GraphNode/styles/position = null +GraphNode/styles/selectedframe = null +GraphNode/styles/state_machine_frame = null +GraphNode/styles/state_machine_selectedframe = null +GridContainer/constants/hseparation = 4 +GridContainer/constants/vseparation = 4 +HBoxContainer/constants/separation = 4 +HScrollBar/icons/decrement = null +HScrollBar/icons/decrement_highlight = null +HScrollBar/icons/increment = null +HScrollBar/icons/increment_highlight = null +HScrollBar/styles/grabber = null +HScrollBar/styles/grabber_highlight = null +HScrollBar/styles/grabber_pressed = null +HScrollBar/styles/scroll = null +HScrollBar/styles/scroll_focus = null +HSeparator/constants/separation = 4 +HSeparator/styles/separator = null +HSlider/icons/grabber = null +HSlider/icons/grabber_disabled = null +HSlider/icons/grabber_highlight = null +HSlider/icons/tick = null +HSlider/styles/grabber_area = null +HSlider/styles/grabber_area_highlight = null +HSlider/styles/slider = null +HSplitContainer/constants/autohide = 1 +HSplitContainer/constants/separation = 12 +HSplitContainer/icons/grabber = null +HSplitContainer/styles/bg = null +Icons/icons/close = null +ItemList/colors/font_color = Color( 0, 0, 0, 1 ) +ItemList/colors/font_color_selected = Color( 0, 0, 0, 1 ) +ItemList/colors/guide_color = Color( 0, 0, 0, 1 ) +ItemList/constants/hseparation = 4 +ItemList/constants/icon_margin = 4 +ItemList/constants/line_separation = 2 +ItemList/constants/vseparation = 2 +ItemList/fonts/font = null +ItemList/styles/bg = null +ItemList/styles/bg_focus = null +ItemList/styles/cursor = null +ItemList/styles/cursor_unfocused = null +ItemList/styles/selected = null +ItemList/styles/selected_focus = null +Label/colors/font_color = Color( 0, 0, 0, 1 ) +Label/colors/font_color_shadow = Color( 0, 0, 0, 1 ) +Label/colors/font_outline_modulate = Color( 0, 0, 0, 1 ) +Label/constants/line_spacing = 3 +Label/constants/shadow_as_outline = 0 +Label/constants/shadow_offset_x = 1 +Label/constants/shadow_offset_y = 1 +Label/fonts/font = null +Label/styles/normal = null +LineEdit/colors/clear_button_color = Color( 0, 0, 0, 1 ) +LineEdit/colors/clear_button_color_pressed = Color( 0, 0, 0, 1 ) +LineEdit/colors/cursor_color = Color( 0, 0, 0, 1 ) +LineEdit/colors/font_color = Color( 0, 0, 0, 1 ) +LineEdit/colors/font_color_selected = Color( 0, 0, 0, 1 ) +LineEdit/colors/font_color_uneditable = Color( 0, 0, 0, 1 ) +LineEdit/colors/read_only = Color( 0, 0, 0, 1 ) +LineEdit/colors/selection_color = Color( 0, 0, 0, 1 ) +LineEdit/constants/minimum_spaces = 12 +LineEdit/fonts/font = null +LineEdit/icons/clear = null +LineEdit/styles/focus = null +LineEdit/styles/normal = null +LineEdit/styles/read_only = null +LinkButton/colors/font_color = Color( 0, 0, 0, 1 ) +LinkButton/colors/font_color_disabled = Color( 0, 0, 0, 1 ) +LinkButton/colors/font_color_hover = Color( 0, 0, 0, 1 ) +LinkButton/colors/font_color_pressed = Color( 0, 0, 0, 1 ) +LinkButton/constants/underline_spacing = 2 +LinkButton/fonts/font = null +LinkButton/styles/focus = null +MarginContainer/constants/margin_bottom = 0 +MarginContainer/constants/margin_left = 0 +MarginContainer/constants/margin_right = 0 +MarginContainer/constants/margin_top = 0 +MenuButton/colors/font_color = Color( 0, 0, 0, 1 ) +MenuButton/colors/font_color_disabled = Color( 0, 0, 0, 1 ) +MenuButton/colors/font_color_hover = Color( 0, 0, 0, 1 ) +MenuButton/colors/font_color_pressed = Color( 0, 0, 0, 1 ) +MenuButton/constants/hseparation = 3 +MenuButton/fonts/font = null +MenuButton/styles/disabled = null +MenuButton/styles/focus = null +MenuButton/styles/hover = null +MenuButton/styles/normal = null +MenuButton/styles/pressed = null +OptionButton/colors/font_color = Color( 0, 0, 0, 1 ) +OptionButton/colors/font_color_disabled = Color( 0, 0, 0, 1 ) +OptionButton/colors/font_color_hover = Color( 0, 0, 0, 1 ) +OptionButton/colors/font_color_pressed = Color( 0, 0, 0, 1 ) +OptionButton/colors/icon_color_hover = Color( 0, 0, 0, 1 ) +OptionButton/constants/arrow_margin = 2 +OptionButton/constants/hseparation = 2 +OptionButton/constants/modulate_arrow = 1 +OptionButton/fonts/font = null +OptionButton/icons/arrow = null +OptionButton/styles/disabled = null +OptionButton/styles/focus = null +OptionButton/styles/hover = null +OptionButton/styles/normal = null +OptionButton/styles/pressed = null +Panel/styles/panel = null +PanelContainer/styles/panel = null +PopupDialog/styles/panel = null +PopupMenu/colors/font_color = Color( 0, 0, 0, 1 ) +PopupMenu/colors/font_color_accel = Color( 0, 0, 0, 1 ) +PopupMenu/colors/font_color_disabled = Color( 0, 0, 0, 1 ) +PopupMenu/colors/font_color_hover = Color( 0, 0, 0, 1 ) +PopupMenu/colors/font_color_separator = Color( 0, 0, 0, 1 ) +PopupMenu/constants/hseparation = 4 +PopupMenu/constants/vseparation = 4 +PopupMenu/fonts/font = null +PopupMenu/icons/checked = null +PopupMenu/icons/radio_checked = null +PopupMenu/icons/radio_unchecked = null +PopupMenu/icons/submenu = null +PopupMenu/icons/unchecked = null +PopupMenu/icons/visibility_hidden = null +PopupMenu/icons/visibility_visible = null +PopupMenu/icons/visibility_xray = null +PopupMenu/styles/disabled = null +PopupMenu/styles/focus = null +PopupMenu/styles/hover = null +PopupMenu/styles/labeled_separator_left = null +PopupMenu/styles/labeled_separator_right = null +PopupMenu/styles/normal = null +PopupMenu/styles/panel = null +PopupMenu/styles/panel_disabled = null +PopupMenu/styles/pressed = null +PopupMenu/styles/separator = null +PopupPanel/styles/panel = null +ProgressBar/colors/font_color = Color( 0, 0, 0, 1 ) +ProgressBar/colors/font_color_shadow = Color( 0, 0, 0, 1 ) +ProgressBar/fonts/font = null +ProgressBar/styles/bg = null +ProgressBar/styles/fg = null +ProjectSettingsEditor/styles/panel = null +RichTextLabel/colors/default_color = Color( 0, 0, 0, 1 ) +RichTextLabel/colors/font_color_selected = Color( 0, 0, 0, 1 ) +RichTextLabel/colors/font_color_shadow = Color( 0, 0, 0, 1 ) +RichTextLabel/colors/selection_color = Color( 0, 0, 0, 1 ) +RichTextLabel/constants/line_separation = 1 +RichTextLabel/constants/shadow_as_outline = 0 +RichTextLabel/constants/shadow_offset_x = 1 +RichTextLabel/constants/shadow_offset_y = 1 +RichTextLabel/constants/table_hseparation = 3 +RichTextLabel/constants/table_vseparation = 3 +RichTextLabel/fonts/bold_font = null +RichTextLabel/fonts/bold_italics_font = null +RichTextLabel/fonts/italics_font = null +RichTextLabel/fonts/mono_font = null +RichTextLabel/fonts/normal_font = null +RichTextLabel/styles/focus = null +RichTextLabel/styles/normal = null +ScrollContainer/styles/bg = null +SpinBox/icons/updown = null +TabContainer/colors/font_color_bg = Color( 0, 0, 0, 1 ) +TabContainer/colors/font_color_disabled = Color( 0, 0, 0, 1 ) +TabContainer/colors/font_color_fg = Color( 0, 0, 0, 1 ) +TabContainer/constants/hseparation = 4 +TabContainer/constants/label_valign_bg = 2 +TabContainer/constants/label_valign_fg = 0 +TabContainer/constants/side_margin = 8 +TabContainer/constants/top_margin = 24 +TabContainer/fonts/font = null +TabContainer/icons/decrement = null +TabContainer/icons/decrement_highlight = null +TabContainer/icons/increment = null +TabContainer/icons/increment_highlight = null +TabContainer/icons/menu = null +TabContainer/icons/menu_highlight = null +TabContainer/styles/panel = null +TabContainer/styles/tab_bg = null +TabContainer/styles/tab_disabled = null +TabContainer/styles/tab_fg = null +Tabs/colors/font_color_bg = Color( 0, 0, 0, 1 ) +Tabs/colors/font_color_disabled = Color( 0, 0, 0, 1 ) +Tabs/colors/font_color_fg = Color( 0, 0, 0, 1 ) +Tabs/constants/hseparation = 4 +Tabs/constants/label_valign_bg = 2 +Tabs/constants/label_valign_fg = 0 +Tabs/constants/top_margin = 24 +Tabs/fonts/font = null +Tabs/icons/close = null +Tabs/icons/decrement = null +Tabs/icons/decrement_highlight = null +Tabs/icons/increment = null +Tabs/icons/increment_highlight = null +Tabs/styles/button = null +Tabs/styles/button_pressed = null +Tabs/styles/panel = null +Tabs/styles/tab_bg = null +Tabs/styles/tab_disabled = null +Tabs/styles/tab_fg = null +TextEdit/colors/background_color = Color( 0, 0, 0, 1 ) +TextEdit/colors/bookmark_color = Color( 0, 0, 0, 1 ) +TextEdit/colors/brace_mismatch_color = Color( 0, 0, 0, 1 ) +TextEdit/colors/breakpoint_color = Color( 0, 0, 0, 1 ) +TextEdit/colors/caret_background_color = Color( 0, 0, 0, 1 ) +TextEdit/colors/caret_color = Color( 0, 0, 0, 1 ) +TextEdit/colors/code_folding_color = Color( 0, 0, 0, 1 ) +TextEdit/colors/completion_background_color = Color( 0, 0, 0, 1 ) +TextEdit/colors/completion_existing_color = Color( 0, 0, 0, 1 ) +TextEdit/colors/completion_font_color = Color( 0, 0, 0, 1 ) +TextEdit/colors/completion_scroll_color = Color( 0, 0, 0, 1 ) +TextEdit/colors/completion_selected_color = Color( 0, 0, 0, 1 ) +TextEdit/colors/current_line_color = Color( 0, 0, 0, 1 ) +TextEdit/colors/executing_line_color = Color( 0, 0, 0, 1 ) +TextEdit/colors/font_color = Color( 0, 0, 0, 1 ) +TextEdit/colors/font_color_readonly = Color( 0, 0, 0, 1 ) +TextEdit/colors/font_color_selected = Color( 0, 0, 0, 1 ) +TextEdit/colors/function_color = Color( 0, 0, 0, 1 ) +TextEdit/colors/line_number_color = Color( 0, 0, 0, 1 ) +TextEdit/colors/mark_color = Color( 0, 0, 0, 1 ) +TextEdit/colors/member_variable_color = Color( 0, 0, 0, 1 ) +TextEdit/colors/number_color = Color( 0, 0, 0, 1 ) +TextEdit/colors/safe_line_number_color = Color( 0, 0, 0, 1 ) +TextEdit/colors/selection_color = Color( 0, 0, 0, 1 ) +TextEdit/colors/symbol_color = Color( 0, 0, 0, 1 ) +TextEdit/colors/word_highlighted_color = Color( 0, 0, 0, 1 ) +TextEdit/constants/completion_lines = 7 +TextEdit/constants/completion_max_width = 50 +TextEdit/constants/completion_scroll_width = 3 +TextEdit/constants/line_spacing = 4 +TextEdit/fonts/font = null +TextEdit/icons/fold = null +TextEdit/icons/folded = null +TextEdit/icons/space = null +TextEdit/icons/tab = null +TextEdit/styles/completion = null +TextEdit/styles/focus = null +TextEdit/styles/normal = null +TextEdit/styles/read_only = null +ToolButton/colors/font_color = Color( 0, 0, 0, 1 ) +ToolButton/colors/font_color_disabled = Color( 0, 0, 0, 1 ) +ToolButton/colors/font_color_hover = Color( 0, 0, 0, 1 ) +ToolButton/colors/font_color_pressed = Color( 0, 0, 0, 1 ) +ToolButton/constants/hseparation = 3 +ToolButton/fonts/font = null +ToolButton/styles/disabled = null +ToolButton/styles/focus = null +ToolButton/styles/hover = null +ToolButton/styles/normal = null +ToolButton/styles/pressed = null +TooltipLabel/colors/font_color = Color( 0, 0, 0, 1 ) +TooltipLabel/colors/font_color_shadow = Color( 0, 0, 0, 1 ) +TooltipLabel/constants/shadow_offset_x = 1 +TooltipLabel/constants/shadow_offset_y = 1 +TooltipLabel/fonts/font = null +TooltipPanel/styles/panel = null +Tree/colors/custom_button_font_highlight = Color( 0, 0, 0, 1 ) +Tree/colors/drop_position_color = Color( 0, 0, 0, 1 ) +Tree/colors/font_color = Color( 0, 0, 0, 1 ) +Tree/colors/font_color_selected = Color( 0, 0, 0, 1 ) +Tree/colors/guide_color = Color( 0, 0, 0, 1 ) +Tree/colors/relationship_line_color = Color( 0, 0, 0, 1 ) +Tree/colors/title_button_color = Color( 0, 0, 0, 1 ) +Tree/constants/button_margin = 4 +Tree/constants/draw_guides = 1 +Tree/constants/draw_relationship_lines = 0 +Tree/constants/hseparation = 4 +Tree/constants/item_margin = 12 +Tree/constants/scroll_border = 4 +Tree/constants/scroll_speed = 12 +Tree/constants/vseparation = 4 +Tree/fonts/font = null +Tree/fonts/title_button_font = null +Tree/icons/arrow = null +Tree/icons/arrow_collapsed = null +Tree/icons/checked = null +Tree/icons/select_arrow = null +Tree/icons/unchecked = null +Tree/icons/updown = null +Tree/styles/bg = null +Tree/styles/bg_focus = null +Tree/styles/button_pressed = null +Tree/styles/cursor = null +Tree/styles/cursor_unfocused = null +Tree/styles/custom_button = null +Tree/styles/custom_button_hover = null +Tree/styles/custom_button_pressed = null +Tree/styles/hover = null +Tree/styles/selected = null +Tree/styles/selected_focus = null +Tree/styles/title_button_hover = null +Tree/styles/title_button_normal = null +Tree/styles/title_button_pressed = null +VBoxContainer/constants/separation = 4 +VScrollBar/icons/decrement = null +VScrollBar/icons/decrement_highlight = null +VScrollBar/icons/increment = null +VScrollBar/icons/increment_highlight = null +VScrollBar/styles/grabber = null +VScrollBar/styles/grabber_highlight = null +VScrollBar/styles/grabber_pressed = null +VScrollBar/styles/scroll = null +VScrollBar/styles/scroll_focus = null +VSeparator/constants/separation = 4 +VSeparator/styles/separator = null +VSlider/icons/grabber = null +VSlider/icons/grabber_disabled = null +VSlider/icons/grabber_highlight = null +VSlider/icons/tick = null +VSlider/styles/grabber_area = null +VSlider/styles/grabber_area_highlight = null +VSlider/styles/slider = null +VSplitContainer/constants/autohide = 1 +VSplitContainer/constants/separation = 12 +VSplitContainer/icons/grabber = null +VSplitContainer/styles/bg = null +WindowDialog/colors/title_color = Color( 0, 0, 0, 1 ) +WindowDialog/constants/close_h_ofs = 18 +WindowDialog/constants/close_v_ofs = 18 +WindowDialog/constants/scaleborder_size = 4 +WindowDialog/constants/title_height = 20 +WindowDialog/fonts/title_font = null +WindowDialog/icons/close = null +WindowDialog/icons/close_highlight = null +WindowDialog/styles/panel = null diff --git a/godot_ship/project.godot b/godot_ship/project.godot index 9fc46ec..a557922 100644 --- a/godot_ship/project.godot +++ b/godot_ship/project.godot @@ -17,6 +17,7 @@ config/icon="res://icon.png" [autoload] MessageBus="*res://script/game/Message Bus.gd" +OptionsController="*res://script/options/OptionsController.gd" [display] diff --git a/godot_ship/scenes/Debug Menu.tscn b/godot_ship/scenes/Debug Menu.tscn index 94d219a..8bb1fa2 100644 --- a/godot_ship/scenes/Debug Menu.tscn +++ b/godot_ship/scenes/Debug Menu.tscn @@ -1,9 +1,10 @@ -[gd_scene load_steps=5 format=2] +[gd_scene load_steps=6 format=2] [ext_resource path="res://main.tres" type="Theme" id=1] [ext_resource path="res://script/debug/debug_menu.gd" type="Script" id=2] [ext_resource path="res://script/debug/In.gd" type="Script" id=3] [ext_resource path="res://script/debug/Out.gd" type="Script" id=4] +[ext_resource path="res://debug.tres" type="Theme" id=5] [node name="Debug" type="Control"] anchor_right = 1.0 @@ -31,6 +32,7 @@ margin_right = 640.0 margin_bottom = 144.0 grow_vertical = 0 rect_min_size = Vector2( 0, 144 ) +theme = ExtResource( 5 ) readonly = true syntax_highlighting = true fold_gutter = true diff --git a/godot_ship/scenes/Main.tscn b/godot_ship/scenes/Main.tscn index d8abbd4..d80aaf4 100644 --- a/godot_ship/scenes/Main.tscn +++ b/godot_ship/scenes/Main.tscn @@ -2,7 +2,7 @@ [ext_resource path="res://script/game/Main.gd" type="Script" id=5] -[node name="Root" type="Control"] +[node name="Main" type="Control"] anchor_right = 1.0 anchor_bottom = 1.0 script = ExtResource( 5 ) diff --git a/godot_ship/scenes/Options.tscn b/godot_ship/scenes/Options.tscn index d839c7c..855245a 100644 --- a/godot_ship/scenes/Options.tscn +++ b/godot_ship/scenes/Options.tscn @@ -11,7 +11,7 @@ __meta__ = { "_edit_use_anchors_": false } -[node name="TextureRect" type="TextureRect" parent="."] +[node name="Background" type="TextureRect" parent="."] margin_right = 40.0 margin_bottom = 40.0 texture = ExtResource( 1 ) @@ -20,7 +20,7 @@ __meta__ = { "_edit_use_anchors_": false } -[node name="RichTextLabel" type="RichTextLabel" parent="."] +[node name="MenuLabel" type="RichTextLabel" parent="."] margin_left = 294.0 margin_top = 68.0 margin_right = 346.0 @@ -32,7 +32,7 @@ __meta__ = { "_edit_use_anchors_": false } -[node name="Slider Container" type="VBoxContainer" parent="."] +[node name="Sliders" type="VBoxContainer" parent="."] margin_left = 216.0 margin_top = 128.0 margin_right = 424.0 @@ -42,10 +42,10 @@ __meta__ = { "_edit_use_anchors_": false } -[node name="SFX Setting" type="Node2D" parent="Slider Container"] +[node name="SFX Setting" type="Node2D" parent="Sliders"] position = Vector2( 0, 8 ) -[node name="SFX Label" type="Label" parent="Slider Container/SFX Setting"] +[node name="SFX Label" type="Label" parent="Sliders/SFX Setting"] margin_top = -8.0 margin_right = 64.0 margin_bottom = 8.0 @@ -57,19 +57,26 @@ __meta__ = { "_edit_use_anchors_": false } -[node name="SFX Slider" type="HSlider" parent="Slider Container/SFX Setting"] +[node name="SFX Slider" type="HSlider" parent="Sliders/SFX Setting"] margin_left = 64.0 margin_top = -8.0 margin_right = 208.0 margin_bottom = 8.0 +focus_neighbour_left = NodePath("../../../Back") +focus_neighbour_top = NodePath("../../../Back") +focus_neighbour_bottom = NodePath("../../Volume Setting/Volume Slider") +focus_next = NodePath("../../Volume Setting/Volume Slider") +focus_previous = NodePath("../../../Back") +step = 10.0 +tick_count = 11 __meta__ = { "_edit_use_anchors_": false } -[node name="Volume Setting" type="Node2D" parent="Slider Container"] +[node name="Volume Setting" type="Node2D" parent="Sliders"] position = Vector2( 0, 24 ) -[node name="Volume Label" type="Label" parent="Slider Container/Volume Setting"] +[node name="Volume Label" type="Label" parent="Sliders/Volume Setting"] margin_top = -8.0 margin_right = 64.0 margin_bottom = 8.0 @@ -81,39 +88,50 @@ __meta__ = { "_edit_use_anchors_": false } -[node name="Volume Slider" type="HSlider" parent="Slider Container/Volume Setting"] +[node name="Volume Slider" type="HSlider" parent="Sliders/Volume Setting"] margin_left = 64.0 margin_top = -8.0 margin_right = 208.0 margin_bottom = 8.0 +focus_neighbour_top = NodePath("../../SFX Setting/SFX Slider") +focus_neighbour_bottom = NodePath("../../../Theme Select") +focus_next = NodePath("../../../Theme Select") +focus_previous = NodePath("../../SFX Setting/SFX Slider") +step = 10.0 +tick_count = 11 +ticks_on_borders = true __meta__ = { "_edit_use_anchors_": false } -[node name="HBoxContainer" type="HBoxContainer" parent="."] +[node name="Buttons" type="HBoxContainer" parent="."] margin_left = 216.0 margin_top = 160.0 margin_right = 424.0 margin_bottom = 184.0 +focus_neighbour_left = NodePath("../Back") +focus_neighbour_top = NodePath("../Sliders/Volume Setting/Volume Slider") +focus_next = NodePath("../Back") +focus_previous = NodePath("../Sliders/Volume Setting/Volume Slider") __meta__ = { "_edit_lock_": true, "_edit_use_anchors_": false } -[node name="Button" type="Button" parent="HBoxContainer"] +[node name="Light" type="Button" parent="Buttons"] margin_right = 102.0 margin_bottom = 24.0 rect_min_size = Vector2( 102, 0 ) text = "Light Mode" -[node name="Button2" type="Button" parent="HBoxContainer"] +[node name="Dark" type="Button" parent="Buttons"] margin_left = 106.0 margin_right = 208.0 margin_bottom = 24.0 rect_min_size = Vector2( 102, 0 ) text = "Dark Mode" -[node name="Button" type="Button" parent="."] +[node name="Back" type="Button" parent="."] margin_left = 16.0 margin_top = 16.0 margin_right = 28.0 @@ -124,4 +142,8 @@ __meta__ = { "_edit_use_anchors_": false } -[connection signal="pressed" from="Button" to="." method="_on_Button_pressed"] +[connection signal="value_changed" from="Sliders/SFX Setting/SFX Slider" to="." method="_on_SFX_Slider_value_changed"] +[connection signal="value_changed" from="Sliders/Volume Setting/Volume Slider" to="." method="_on_Volume_Slider_value_changed"] +[connection signal="pressed" from="Buttons/Light" to="." method="_on_Light_pressed"] +[connection signal="pressed" from="Buttons/Dark" to="." method="_on_Dark_pressed"] +[connection signal="pressed" from="Back" to="." method="_on_Button_pressed"] diff --git a/godot_ship/script/debug/debug_menu.gd b/godot_ship/script/debug/debug_menu.gd index 3baba86..c8cc594 100644 --- a/godot_ship/script/debug/debug_menu.gd +++ b/godot_ship/script/debug/debug_menu.gd @@ -11,7 +11,7 @@ var debug_active = false var menu_position = 0.0 var menu_velocity = 4 -onready var present_working_node = get_node("/root") +onready var present_working_node = get_node("/root/Main") # positions when the menu is hidden/active var menu_hidden = Transform2D(Vector2(1,0), Vector2(0,1), Vector2(0,-170)) @@ -28,6 +28,7 @@ func _ready(): debug_transform = debug_canvas.get_transform() debug_output = get_node("debug_canvas/VBoxContainer/TextEdit") command_help([""]) + debug_print_line("> ") # Called every frame. 'delta' is the elapsed time since the previous frame. func _process(delta): @@ -54,11 +55,11 @@ func _input(event): func _on_LineEdit_text_entered(line): emit_signal("clear_in") - debug_print_line("") + debug_print_line(line + "\n") var command = line.split(' ', true, 1) match command[0]: - "start", "s": - command_start(command) + "start", "open", "o": + command_start(command) "stop", "kill", "k": command_stop(command) "list", "ls", "l": @@ -79,6 +80,7 @@ func _on_LineEdit_text_entered(line): command_cd(command) _: debug_print_line("Command not recognized.\n") + debug_print_line("> ") func debug_print_line(string): emit_signal("print_text", string.c_unescape()) @@ -88,25 +90,35 @@ func debug_print_line(string): # start: Loads scene from res://scenes/*.tscn by filename, and starts it func command_start (command): if command.size() > 1: - MessageBus.emit_signal("start_tcsn", command[1]) + var pack = load("res://scenes/" + command[1] + ".tscn"); + present_working_node.add_child(pack.instance()); debug_print_line("start '" + command[1] + "'\n") else: debug_print_line("Usage: start scene") -# stop: Stops scene by name of root node. +# stop: kills a child of current working node func command_stop (command): if command.size() > 1: - if command[1] != "Debug": - debug_print_line("kill '" + command[1] + "'\n") - MessageBus.emit_signal("kill_scene", command[1]) + var node = present_working_node.find_node(command[1], false, false) + if node: + if String(node.get_path()).match("*Debug*"): + debug_print_line("YOU DIDN'T SAY THE MAGIC WORD!\n") + else: + node.queue_free() + debug_print_line(command[1] + " killed\n") else: - debug_print_line("YOU DIDN'T SAY THE MAGIC WORD!\n") + debug_print_line(command[0] + ": " + command[1] + " not found.\n") else: - debug_print_line("Usage: kill scene") + debug_print_line("Usage: kill name\n") -# list: Lists names of active scenes (children of Root) -func command_list (_command): - var children = present_working_node.get_children() +# list: Lists children of node +func command_list (command): + var node = null + if (command.size() > 1): + node = complete_path(command[1]) + if (!node): + node = present_working_node + var children = node.get_children() var names = [] for i in range (children.size()): names.append(children[i].name) @@ -120,8 +132,10 @@ func command_restart (_command): func command_print(command): if command.size() > 1: debug_print_line(command[1] + "\n") + else: + debug_print_line("\n") -# emit: emits a message onto the MessageBus (!Extremely Danger!) +# emit: emits a message onto the MessageBus func command_emit (command): var mbus_signal = command[1].split(' ', true, 1) match mbus_signal.size(): @@ -137,22 +151,17 @@ func command_emit (command): func command_clear (_command): emit_signal("clear_out"); +# pwd: print the current working node's path func command_pwd (_command): - debug_print_line("pwd\n" + String(present_working_node.get_path()) + "\n") - + debug_print_line(String(present_working_node.get_path()) + "\n") +# cd: change the current working node func command_cd (command): if command.size() > 1: - var path - if command[1].is_abs_path(): - path = command[1] - else: #convert to absolute path - path = String(present_working_node.get_path()) + "/" + command[1] - var node = get_node(path) + var node = complete_path(command[1]) if node: - debug_print_line("cd " + command[1] + "\n") present_working_node = node else: - debug_print_line ('change node: node not found.\n') + debug_print_line ('cn: no such node: ' + command[1] + '\n') else: debug_print_line("") pass @@ -160,23 +169,22 @@ func command_cd (command): # help: Prints help dialogue func command_help (command): if (command.size() == 1): - debug_print_line("Ship's Commander V 0.1\n") - debug_print_line("Valid commands:\nstart, stop, list, restart, print, emit, clear, help\n") + debug_print_line("Valid commands:\nhelp, start, stop, list, restart, print, emit, clear, pwn, cn\n") else: debug_print_line(command[1]) match command[1]: - "start", "s": - debug_print_line(" filename\nAliases: 'start', 's'\n") - debug_print_line("Loads and runs the scene filename.tscn\n") + "start", "open", "o": + debug_print_line(" filename\nAliases: 'start', 'open', 'o'\n") + debug_print_line("Load add the scene filename.tscn as child\n") "stop", "kill", "k": - debug_print_line(" scene\nAliases: 'stop', 'kill', 'k'\n") - debug_print_line("Kills an active scene whose name matches node.\n") + debug_print_line(" name\nAliases: 'stop', 'kill', 'k'\n") + debug_print_line("Kill node with matching name\n") "list", "ls", "l": - debug_print_line("\nAliases: 'list', 'ls', 'l'\n") - debug_print_line("Lists the currently active scenes\n") + debug_print_line(" [path]\nAliases: 'list', 'ls', 'l'\n") + debug_print_line("List node children\n") "restart", "killall": debug_print_line("\nAliases: 'restart', 'killall'\n") - debug_print_line("Kills the current scene tree and plants a new Root.\n") + debug_print_line("Kill the current scene tree and plant a new Root.\n") "print", "p": debug_print_line(" string\nAliases: 'print', 'p'\n") debug_print_line("Prints a string to the in-game debug console\n") @@ -189,6 +197,20 @@ func command_help (command): "help", "h": debug_print_line(" [command]\nAliases: 'help', 'h'\n") debug_print_line("Prints information about a command.\n") + "pwd", "pwn": + debug_print_line("\nAliases: 'pwn', 'pwd'\n") + debug_print_line("Prints the Present Working Node.\n") + "cd", "cn": + debug_print_line(" path/to/node\nAliases: 'cn', 'cd'\n") + debug_print_line("Change the Present Working Node.\n") _: debug_print_line(command[1] + "\nIsn't a valid command\n") - debug_print_line("\n") + +# Completes a relative or absolute path, and returns the node it refers to +func complete_path(path): + if path.is_rel_path(): # convert to absolute path + path = String(present_working_node.get_path()) + "/" + path + var node = get_node(path) + if node: + return node + return null diff --git a/godot_ship/script/game/Gameplay.gd b/godot_ship/script/game/Gameplay.gd index 88e897e..5c3808e 100644 --- a/godot_ship/script/game/Gameplay.gd +++ b/godot_ship/script/game/Gameplay.gd @@ -8,8 +8,7 @@ extends Control # Called when the node enters the scene tree for the first time. func _ready(): - grab_focus() - pass # Replace with function body. + if find_next_valid_focus(): find_next_valid_focus().grab_focus() # Called every frame. 'delta' is the elapsed time since the previous frame. #func _process(delta): diff --git a/godot_ship/script/game/Main.gd b/godot_ship/script/game/Main.gd index 7a5995a..994522d 100644 --- a/godot_ship/script/game/Main.gd +++ b/godot_ship/script/game/Main.gd @@ -58,13 +58,10 @@ func _on_scene_start_by_name(scene): # Kills all child nodes with name matching `scene` func _on_scene_kill(scene): - var c = get_children() - for i in range (c.size()): - if c[i].name == scene: - c[i].queue_free() - MessageBus.emit_signal("print_console", String(c[i].name) + " killed.\n".c_unescape()) - return true - return false + var node = find_node(scene, false, false) + if node : + node.queue_free() + MessageBus.emit_signal("print_console", String(node.name) + " killed.\n".c_unescape()) func _on_scene_list(): var children = get_children() diff --git a/godot_ship/script/options/Options.gd b/godot_ship/script/options/Options.gd index 5afc12f..3198264 100644 --- a/godot_ship/script/options/Options.gd +++ b/godot_ship/script/options/Options.gd @@ -1,10 +1,33 @@ extends Control +onready var sound_slider = find_node("SFX Slider", true, true) +onready var music_slider = find_node("Volume Slider", true, true) +onready var theme_buttons = find_node("Buttons", true, true).get_children() + + # Called when the node enters the scene tree for the first time. func _ready(): find_next_valid_focus().grab_focus() + sound_slider.value = OptionsController.get_sfx_volume() + music_slider.value = OptionsController.get_mus_volume() func _on_Button_pressed(): queue_free() MessageBus.emit_signal("change_scene", "Title") + + +func _on_SFX_Slider_value_changed(value): + OptionsController.set_sfx_vol(value) + + +func _on_Volume_Slider_value_changed(value): + OptionsController.set_mus_vol(value) + + +func _on_Light_pressed(): + OptionsController.set_theme("light") + + +func _on_Dark_pressed(): + OptionsController.set_theme("dark") diff --git a/godot_ship/script/options/OptionsController.gd b/godot_ship/script/options/OptionsController.gd new file mode 100644 index 0000000..70c6031 --- /dev/null +++ b/godot_ship/script/options/OptionsController.gd @@ -0,0 +1,36 @@ +extends Node + +# signals +# Subscribe to these if you want to be notified about changes to the volume +signal change_theme (theme) +signal change_mus_volume (volume) +signal change_sfx_volume (volume) + +# Option variables +var theme = "dark" +var mus_vol = 100 +var sfx_vol = 100 + +func _ready(): + pass + +# Setters +func set_theme(theme_name): + match theme_name: + "dark","light": + theme = String(theme_name) + emit_signal("change_theme", theme) +func set_mus_vol(volume): + mus_vol = volume + emit_signal("change_mus_volume", mus_vol) +func set_sfx_vol(volume): + sfx_vol = volume + emit_signal("change_sfx_volume", sfx_vol) + +# Getters +func get_theme(): + return theme +func get_mus_volume(): + return mus_vol +func get_sfx_volume(): + return sfx_vol diff --git a/godot_ship/script/title screen/Title Screen.gd b/godot_ship/script/title screen/Title Screen.gd index 0412dc2..e1e92ea 100644 --- a/godot_ship/script/title screen/Title Screen.gd +++ b/godot_ship/script/title screen/Title Screen.gd @@ -1,9 +1,5 @@ extends Control - -# Declare member variables here: - - # Called when the node enters the scene tree for the first time. func _ready(): $VBoxContainer/Singleplayer.grab_focus()