From 7e66ac4ff518e6aa091c7ccfe567e31fa1f51994 Mon Sep 17 00:00:00 2001 From: IcECreAm777 <31211782+IcECreAm777@users.noreply.github.com> Date: Sun, 17 Jul 2022 04:32:58 +0200 Subject: made sure strokes are updated after each one --- godot/scenes/Die.tscn | 1 + 1 file changed, 1 insertion(+) (limited to 'godot/scenes/Die.tscn') diff --git a/godot/scenes/Die.tscn b/godot/scenes/Die.tscn index bbd73ed..757cceb 100644 --- a/godot/scenes/Die.tscn +++ b/godot/scenes/Die.tscn @@ -59,6 +59,7 @@ transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 15.0578, 0 ) [node name="Camera" type="ClippedCamera" parent="CamRoot/Horizontal/Vertical"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 10.1285 ) +current = true far = 8192.0 margin = 0.57 process_mode = 1 -- cgit From 3aab06c6763fc5ad3396bd5451c100364afeb76b Mon Sep 17 00:00:00 2001 From: IcECreAm777 <31211782+IcECreAm777@users.noreply.github.com> Date: Sun, 17 Jul 2022 05:18:57 +0200 Subject: buff detection --- godot/scenes/Die.tscn | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 68 insertions(+), 1 deletion(-) (limited to 'godot/scenes/Die.tscn') diff --git a/godot/scenes/Die.tscn b/godot/scenes/Die.tscn index 757cceb..a4017cb 100644 --- a/godot/scenes/Die.tscn +++ b/godot/scenes/Die.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=8 format=2] +[gd_scene load_steps=9 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] @@ -27,6 +27,9 @@ surfaces/0 = { [sub_resource type="SphereMesh" id=5] +[sub_resource type="SphereShape" id=6] +radius = 0.1 + [node name="Die" type="RigidBody"] collision_mask = 3 physics_material_override = SubResource( 3 ) @@ -63,3 +66,67 @@ current = true far = 8192.0 margin = 0.57 process_mode = 1 + +[node name="Plus1" type="Area" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.326057, 0.384412, 0.301075 ) +collision_layer = 4 +collision_mask = 4 + +[node name="CollisionShape" type="CollisionShape" parent="Plus1"] +shape = SubResource( 6 ) + +[node name="Plus2" type="Area" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.326, -0.384, -0.301 ) +collision_layer = 4 +collision_mask = 4 + +[node name="CollisionShape" type="CollisionShape" parent="Plus2"] +shape = SubResource( 6 ) + +[node name="Ball1" type="Area" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.326, -0.384, 0.301 ) +collision_layer = 4 +collision_mask = 4 + +[node name="CollisionShape" type="CollisionShape" parent="Ball1"] +shape = SubResource( 6 ) + +[node name="Ball2" type="Area" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.326, 0.384, -0.301 ) +collision_layer = 4 +collision_mask = 4 + +[node name="CollisionShape" type="CollisionShape" parent="Ball2"] +shape = SubResource( 6 ) + +[node name="Bounce1" type="Area" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.326, 0.384, -0.301 ) +collision_layer = 4 +collision_mask = 4 + +[node name="CollisionShape" type="CollisionShape" parent="Bounce1"] +shape = SubResource( 6 ) + +[node name="Bounce2" type="Area" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.326, -0.384, 0.301 ) +collision_layer = 4 +collision_mask = 4 + +[node name="CollisionShape" type="CollisionShape" parent="Bounce2"] +shape = SubResource( 6 ) + +[node name="Phase1" type="Area" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.326, -0.384, -0.301 ) +collision_layer = 4 +collision_mask = 4 + +[node name="CollisionShape" type="CollisionShape" parent="Phase1"] +shape = SubResource( 6 ) + +[node name="Phase2" type="Area" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.326, 0.384, 0.301 ) +collision_layer = 4 +collision_mask = 4 + +[node name="CollisionShape" type="CollisionShape" parent="Phase2"] +shape = SubResource( 6 ) -- cgit