From 78db85704fc13f3bde69fdad196f6701a4d5e7c9 Mon Sep 17 00:00:00 2001 From: David Date: Sun, 17 Jul 2022 14:15:28 +0200 Subject: add arrow for charging shot --- godot/scenes/Die.tscn | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'godot/scenes/Die.tscn') diff --git a/godot/scenes/Die.tscn b/godot/scenes/Die.tscn index bab53ad..4e9cd2b 100644 --- a/godot/scenes/Die.tscn +++ b/godot/scenes/Die.tscn @@ -146,3 +146,7 @@ margin_left = 64.0 margin_top = 44.0 margin_right = 1185.0 margin_bottom = 153.0 + +[node name="PowerUI3D" type="Spatial" parent="."] + +[node name="Arrow" type="MeshInstance" parent="PowerUI3D"] -- cgit From 1b015a5989a3da04f08aaa06db444c875ea97df1 Mon Sep 17 00:00:00 2001 From: David Date: Sun, 17 Jul 2022 14:45:57 +0200 Subject: add reticle when die is still. die is still after 200ms --- godot/scenes/Die.tscn | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'godot/scenes/Die.tscn') diff --git a/godot/scenes/Die.tscn b/godot/scenes/Die.tscn index 4e9cd2b..b2ad6da 100644 --- a/godot/scenes/Die.tscn +++ b/godot/scenes/Die.tscn @@ -1,7 +1,8 @@ -[gd_scene load_steps=9 format=2] +[gd_scene load_steps=10 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] [sub_resource type="PhysicsMaterial" id=7] friction = 0.0 @@ -150,3 +151,10 @@ margin_bottom = 153.0 [node name="PowerUI3D" type="Spatial" parent="."] [node name="Arrow" type="MeshInstance" parent="PowerUI3D"] + +[node name="SpriteCircles" type="Sprite3D" parent="PowerUI3D"] +cast_shadow = 0 +opacity = 0.43 +pixel_size = 0.0071 +axis = 1 +texture = ExtResource( 3 ) -- cgit