A game prototype built with Godot 4 exploring in-world inventory management mechanics.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

60 lines
1.8 KiB

[gd_scene load_steps=7 format=3 uid="uid://bn6y24u16jtdj"]
[ext_resource type="PackedScene" uid="uid://b7o2y54duqxft" path="res://scenes/World.tscn" id="1_px6sj"]
[ext_resource type="Shader" path="res://shaders/outline.gdshader" id="2_dd8cf"]
[ext_resource type="Script" path="res://scripts/CloneMainCamera.gd" id="2_m7qgc"]
[ext_resource type="Texture2D" uid="uid://dkc0fn50ueqc5" path="res://assets/crosshair.png" id="4_6ai7y"]
[ext_resource type="Script" path="res://scripts/Crosshair.gd" id="5_mrx5k"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_7rvwk"]
shader = ExtResource("2_dd8cf")
shader_parameter/line_color = Color(1, 1, 1, 0.75)
shader_parameter/line_thickness = 2.0
[node name="Main" type="Node"]
[node name="World" parent="." instance=ExtResource("1_px6sj")]
[node name="SubViewportContainer" type="SubViewportContainer" parent="."]
material = SubResource("ShaderMaterial_7rvwk")
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
stretch = true
[node name="OutlineViewport" type="SubViewport" parent="SubViewportContainer"]
transparent_bg = true
handle_input_locally = false
size = Vector2i(1152, 648)
render_target_update_mode = 4
[node name="ClonedCamera" type="Camera3D" parent="SubViewportContainer/OutlineViewport"]
cull_mask = 2
script = ExtResource("2_m7qgc")
[node name="HUD" type="Control" parent="."]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 1
[node name="Crosshair" type="TextureRect" parent="HUD"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -10.5
offset_top = -10.5
offset_right = 10.5
offset_bottom = 10.5
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("4_6ai7y")
script = ExtResource("5_mrx5k")