diff options
author | jacopograndi <jacopo.grandi@outlook.it> | 2022-01-19 20:08:32 +0100 |
---|---|---|
committer | jacopograndi <jacopo.grandi@outlook.it> | 2022-01-19 20:08:32 +0100 |
commit | c930eb8a0cabaeb3651e2dc7f94a26310fb2dcf3 (patch) | |
tree | 5256261a9510a9ac8e1150c8902ffefbec32ddac /scenes | |
parent | 10d700152deeea4a8c6acea1124b9f9ea4905486 (diff) |
turrets implementation finished
Diffstat (limited to 'scenes')
-rw-r--r-- | scenes/fx/fx_explosion.tscn | 16 | ||||
-rw-r--r-- | scenes/gui/gui_button.tscn | 15 | ||||
-rw-r--r-- | scenes/projectiles/ray.tscn | 2 |
3 files changed, 31 insertions, 2 deletions
diff --git a/scenes/fx/fx_explosion.tscn b/scenes/fx/fx_explosion.tscn new file mode 100644 index 0000000..ca68adb --- /dev/null +++ b/scenes/fx/fx_explosion.tscn @@ -0,0 +1,16 @@ +[gd_scene load_steps=4 format=2] + +[ext_resource path="res://scripts/fx/selfdestruct.gd" type="Script" id=1] + +[sub_resource type="SphereMesh" id=1] + +[sub_resource type="SpatialMaterial" id=2] +flags_transparent = true +albedo_color = Color( 1, 1, 1, 0.337255 ) + +[node name="fx_explosion" type="Spatial"] +script = ExtResource( 1 ) + +[node name="MeshInstance" type="MeshInstance" parent="."] +mesh = SubResource( 1 ) +material/0 = SubResource( 2 ) diff --git a/scenes/gui/gui_button.tscn b/scenes/gui/gui_button.tscn index 1922583..f5c69c0 100644 --- a/scenes/gui/gui_button.tscn +++ b/scenes/gui/gui_button.tscn @@ -1,8 +1,11 @@ -[gd_scene load_steps=4 format=2] +[gd_scene load_steps=5 format=2] [ext_resource path="res://scripts/gui_button.gd" type="Script" id=1] [ext_resource path="res://themes/snub_theme.tres" type="Theme" id=2] +[sub_resource type="StyleBoxFlat" id=4] +bg_color = Color( 0, 0, 0, 0.305882 ) + [sub_resource type="StyleBoxFlat" id=3] bg_color = Color( 0.6, 0.6, 0.6, 0 ) border_width_left = 1 @@ -59,6 +62,16 @@ __meta__ = { "_edit_use_anchors_": false } +[node name="panel_cash" type="Panel" parent="."] +visible = false +anchor_right = 1.0 +margin_bottom = 20.0 +theme = ExtResource( 2 ) +custom_styles/panel = SubResource( 4 ) +__meta__ = { +"_edit_use_anchors_": false +} + [node name="name" type="Label" parent="."] anchor_right = 1.0 margin_top = 101.0 diff --git a/scenes/projectiles/ray.tscn b/scenes/projectiles/ray.tscn index c537ebd..37c520d 100644 --- a/scenes/projectiles/ray.tscn +++ b/scenes/projectiles/ray.tscn @@ -1,6 +1,6 @@ [gd_scene load_steps=3 format=2] -[ext_resource path="res://scripts/bullet.gd" type="Script" id=1] +[ext_resource path="res://scripts/fx/selfdestruct.gd" type="Script" id=1] [sub_resource type="CubeMesh" id=1] size = Vector3( 1, 1, 1 ) |