diff options
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 ) |