aboutsummaryrefslogtreecommitdiffstats
path: root/godot/scenes/Die.tscn
diff options
context:
space:
mode:
authorLibravatar IcECreAm777 <31211782+IcECreAm777@users.noreply.github.com>2022-07-17 17:20:38 +0200
committerLibravatar IcECreAm777 <31211782+IcECreAm777@users.noreply.github.com>2022-07-17 17:20:38 +0200
commit96548ad6cc383b5e4cf58f7edf01f7a4e43fe798 (patch)
tree8c77b1011a7ebac081b91f7eb7eb7bdfacb09653 /godot/scenes/Die.tscn
parent687b9b0c7844aed7c426166d181c90bb58be6124 (diff)
parent97ec14041a61b10287489120d755770d4d61f444 (diff)
download2022-96548ad6cc383b5e4cf58f7edf01f7a4e43fe798.tar.gz
2022-96548ad6cc383b5e4cf58f7edf01f7a4e43fe798.tar.bz2
2022-96548ad6cc383b5e4cf58f7edf01f7a4e43fe798.zip
Merge branch 'main' of https://codeberg.org/code-your-friends/gmtk2022
Diffstat (limited to 'godot/scenes/Die.tscn')
-rw-r--r--godot/scenes/Die.tscn33
1 files changed, 31 insertions, 2 deletions
diff --git a/godot/scenes/Die.tscn b/godot/scenes/Die.tscn
index 5c96dbb..69727f1 100644
--- a/godot/scenes/Die.tscn
+++ b/godot/scenes/Die.tscn
@@ -1,8 +1,10 @@
-[gd_scene load_steps=10 format=2]
+[gd_scene load_steps=15 format=2]
[ext_resource path="res://scenes/Die.gd" type="Script" id=1]
[ext_resource path="res://assets/game_objects/W8baseColor_Mat.material" type="Material" id=2]
[ext_resource path="res://assets/textures/circles.png" type="Texture" id=3]
+[ext_resource path="res://assets/fonts/default_dynamicfont.tres" type="DynamicFont" id=4]
+[ext_resource path="res://assets/fonts/default_dynamicfontdata.tres" type="DynamicFontData" id=5]
[sub_resource type="PhysicsMaterial" id=7]
friction = 0.0
@@ -32,6 +34,18 @@ surfaces/0 = {
[sub_resource type="SphereShape" id=6]
radius = 0.1
+[sub_resource type="DynamicFont" id=8]
+size = 35
+font_data = ExtResource( 5 )
+
+[sub_resource type="Theme" id=9]
+ProgressBar/fonts/font = SubResource( 8 )
+
+[sub_resource type="Theme" id=10]
+Label/colors/font_color = Color( 0.933333, 0.654902, 0.0666667, 1 )
+Label/colors/font_color_shadow = Color( 0, 0, 0, 1 )
+Label/fonts/font = ExtResource( 4 )
+
[node name="Die" type="RigidBody"]
collision_layer = 3
collision_mask = 3
@@ -147,13 +161,28 @@ margin_bottom = 40.0
margin_left = 64.0
margin_top = 44.0
margin_right = 1185.0
-margin_bottom = 153.0
+margin_bottom = 113.0
+theme = SubResource( 9 )
+
+[node name="LabelBuff" type="Label" parent="PowerUI"]
+anchor_left = 0.689
+anchor_top = 0.068
+anchor_right = 0.914
+anchor_bottom = 0.081
+margin_left = -30.0
+margin_top = -30.0
+margin_right = 30.0
+margin_bottom = 30.0
+theme = SubResource( 10 )
+align = 2
+valign = 1
[node name="PowerUI3D" type="Spatial" parent="."]
[node name="Arrow" type="MeshInstance" parent="PowerUI3D"]
[node name="SpriteCircles" type="Sprite3D" parent="PowerUI3D"]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.506, 0 )
cast_shadow = 0
opacity = 0.43
pixel_size = 0.0071