Add missing gold bar assets

WorldChunkRefactoring
Martin Felis 2023-04-30 13:41:38 +02:00
parent 8d439e518b
commit 0992976277
5 changed files with 1077 additions and 7 deletions

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -1,13 +1,12 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://entities/GoldBar.cs" type="Script" id=1]
[ext_resource path="res://assets/Objects/Gold_Bar.tscn" type="PackedScene" id=2]
[ext_resource path="res://assets/Items/gltf/Gold_Bar.glb" type="PackedScene" id=2]
[sub_resource type="BoxShape" id=21]
extents = Vector3( 0.354271, 0.0817164, 0.173406 )
[node name="Gold" type="KinematicBody"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.250567, 0, -3.89129 )
collision_layer = 9
collision_mask = 0
script = ExtResource( 1 )
@ -16,4 +15,8 @@ script = ExtResource( 1 )
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.084728, 0 )
shape = SubResource( 21 )
[node name="Geometry" parent="." instance=ExtResource( 2 )]
[node name="Spatial" type="Spatial" parent="."]
transform = Transform( 0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0 )
[node name="Gold_Bar" parent="Spatial" instance=ExtResource( 2 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 21.335, -0.022, -6.533 )

View File

@ -9,17 +9,17 @@
config_version=4
_global_script_classes=[ {
"base": "Reference",
"base": "Node",
"class": "ClickableComponent",
"language": "GDScript",
"path": "res://components/ClickableComponent.gd"
}, {
"base": "Reference",
"base": "KinematicBody2D",
"class": "CollisionLine",
"language": "GDScript",
"path": "res://utils/CollisionLine.gd"
}, {
"base": "Reference",
"base": "Node",
"class": "ColorComponent",
"language": "GDScript",
"path": "res://components/ColorComponent.gd"
@ -54,7 +54,7 @@ _global_script_classes=[ {
"language": "GDScript",
"path": "res://utils/SpringDamper.gd"
}, {
"base": "Reference",
"base": "Sprite",
"class": "TintedSpriteComponent",
"language": "GDScript",
"path": "res://components/TintedSpriteComponent.gd"

View File

@ -254,6 +254,7 @@ mesh = SubResource( 8 )
[node name="Arrow" type="Spatial" parent="Player/MeshInstance"]
transform = Transform( 3, -1.51264e-15, -9.91796e-22, 0, -8.74228e-09, 3, -2.26897e-14, -0.2, -1.31134e-07, 0, -0.253289, 0.32602 )
visible = false
[node name="MeshInstance" type="MeshInstance" parent="Player/MeshInstance/Arrow"]
transform = Transform( 0.1, 0, 3.72529e-09, 0, 0.1, 0, -3.72529e-09, 0, 0.1, 0, 0, 0 )
@ -263,6 +264,7 @@ skeleton = NodePath("../../..")
[node name="MeshInstance2" type="MeshInstance" parent="Player/MeshInstance/Arrow"]
transform = Transform( 0.1, 3.72529e-09, -1.62838e-16, 0, -4.37114e-09, -0.1, -3.72529e-09, 0.1, -4.37114e-09, 0, 0, 0.191322 )
visible = false
mesh = SubResource( 15 )
skeleton = NodePath("../../..")