mirror of
https://github.com/PfandBoss/SemesterGameJam2022.git
synced 2025-11-11 20:06:14 +01:00
Leo - Bin finished
This commit is contained in:
18
Nodes/Bin.tscn
Normal file
18
Nodes/Bin.tscn
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
[gd_scene load_steps=4 format=3 uid="uid://iuoepenpnktv"]
|
||||||
|
|
||||||
|
[ext_resource type="Texture2D" uid="uid://pwyskequsdls" path="res://bin.png" id="1_krl02"]
|
||||||
|
[ext_resource type="Script" path="res://scripts/Modules/Bin.gd" id="1_saxpo"]
|
||||||
|
|
||||||
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_0suy8"]
|
||||||
|
height = 3.84361
|
||||||
|
radius = 1.33448
|
||||||
|
|
||||||
|
[node name="Bin" type="StaticBody3D"]
|
||||||
|
script = ExtResource("1_saxpo")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||||
|
shape = SubResource("CylinderShape3D_0suy8")
|
||||||
|
|
||||||
|
[node name="Sprite3D" type="Sprite3D" parent="."]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 2, 0)
|
||||||
|
texture = ExtResource("1_krl02")
|
||||||
36
bin.png.import
Normal file
36
bin.png.import
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://pwyskequsdls"
|
||||||
|
path.s3tc="res://.godot/imported/bin.png-baf8166091a4b2a643c36d0c3ba28729.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/bin.png-baf8166091a4b2a643c36d0c3ba28729.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc", "etc2"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://bin.png"
|
||||||
|
dest_files=["res://.godot/imported/bin.png-baf8166091a4b2a643c36d0c3ba28729.s3tc.ctex", "res://.godot/imported/bin.png-baf8166091a4b2a643c36d0c3ba28729.etc2.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=true
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=0
|
||||||
@@ -34,22 +34,36 @@ grow_horizontal = 2
|
|||||||
grow_vertical = 2
|
grow_vertical = 2
|
||||||
|
|
||||||
[node name="Start" type="Button" parent="VBoxContainer"]
|
[node name="Start" type="Button" parent="VBoxContainer"]
|
||||||
|
offset_right = 72.0
|
||||||
|
offset_bottom = 31.0
|
||||||
text = "Start
|
text = "Start
|
||||||
"
|
"
|
||||||
|
|
||||||
[node name="Tutorial" type="Button" parent="VBoxContainer"]
|
[node name="Tutorial" type="Button" parent="VBoxContainer"]
|
||||||
|
offset_top = 35.0
|
||||||
|
offset_right = 72.0
|
||||||
|
offset_bottom = 66.0
|
||||||
text = "Tutorial
|
text = "Tutorial
|
||||||
"
|
"
|
||||||
|
|
||||||
[node name="Settings" type="Button" parent="VBoxContainer"]
|
[node name="Settings" type="Button" parent="VBoxContainer"]
|
||||||
|
offset_top = 70.0
|
||||||
|
offset_right = 72.0
|
||||||
|
offset_bottom = 101.0
|
||||||
text = "Volume:"
|
text = "Volume:"
|
||||||
|
|
||||||
[node name="VolSlider" type="HSlider" parent="VBoxContainer"]
|
[node name="VolSlider" type="HSlider" parent="VBoxContainer"]
|
||||||
|
offset_top = 105.0
|
||||||
|
offset_right = 72.0
|
||||||
|
offset_bottom = 121.0
|
||||||
min_value = -30.0
|
min_value = -30.0
|
||||||
max_value = 0.0
|
max_value = 0.0
|
||||||
script = ExtResource("2_h85ei")
|
script = ExtResource("2_h85ei")
|
||||||
|
|
||||||
[node name="Quit" type="Button" parent="VBoxContainer"]
|
[node name="Quit" type="Button" parent="VBoxContainer"]
|
||||||
|
offset_top = 125.0
|
||||||
|
offset_right = 72.0
|
||||||
|
offset_bottom = 156.0
|
||||||
text = "Quit"
|
text = "Quit"
|
||||||
|
|
||||||
[connection signal="pressed" from="VBoxContainer/Start" to="." method="_on_start_pressed"]
|
[connection signal="pressed" from="VBoxContainer/Start" to="." method="_on_start_pressed"]
|
||||||
|
|||||||
@@ -6,4 +6,4 @@ class_name Bin
|
|||||||
|
|
||||||
#------------Methods-------------#
|
#------------Methods-------------#
|
||||||
func interact(player):
|
func interact(player):
|
||||||
train.get_node("CharacterBody3D").inventory = 0
|
player.inventory = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user