physics board cleanup
This commit is contained in:
parent
ef474d1dad
commit
079150aa10
|
|
@ -1,4 +1,4 @@
|
||||||
[gd_scene load_steps=10 format=3 uid="uid://bnskiyx1sksww"]
|
[gd_scene load_steps=8 format=3 uid="uid://bnskiyx1sksww"]
|
||||||
|
|
||||||
[ext_resource type="Texture2D" uid="uid://bi3xqdknw5tpe" path="res://logic-scenes/board/board-texture/Cork002_2K_Color.png" id="1_8brxc"]
|
[ext_resource type="Texture2D" uid="uid://bi3xqdknw5tpe" path="res://logic-scenes/board/board-texture/Cork002_2K_Color.png" id="1_8brxc"]
|
||||||
[ext_resource type="Shader" path="res://logic-scenes/board/physics-board.gdshader" id="1_ggnth"]
|
[ext_resource type="Shader" path="res://logic-scenes/board/physics-board.gdshader" id="1_ggnth"]
|
||||||
|
|
@ -6,16 +6,12 @@
|
||||||
[ext_resource type="PackedScene" uid="uid://dy5rd437h5hsw" path="res://logic-scenes/board/card.tscn" id="3_mg053"]
|
[ext_resource type="PackedScene" uid="uid://dy5rd437h5hsw" path="res://logic-scenes/board/card.tscn" id="3_mg053"]
|
||||||
[ext_resource type="PackedScene" uid="uid://bvowj4l8dtceu" path="res://dev-util/board of devs.tscn" id="4_sskx2"]
|
[ext_resource type="PackedScene" uid="uid://bvowj4l8dtceu" path="res://dev-util/board of devs.tscn" id="4_sskx2"]
|
||||||
[ext_resource type="PackedScene" uid="uid://vkcdj8c3ytbq" path="res://logic-scenes/board/post-it.tscn" id="5_048k0"]
|
[ext_resource type="PackedScene" uid="uid://vkcdj8c3ytbq" path="res://logic-scenes/board/post-it.tscn" id="5_048k0"]
|
||||||
[ext_resource type="Script" path="res://logic-scenes/board/bouncy-card.gd" id="6_gcxd7"]
|
|
||||||
|
|
||||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_ttqei"]
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_ttqei"]
|
||||||
shader = ExtResource("1_ggnth")
|
shader = ExtResource("1_ggnth")
|
||||||
shader_parameter/magic_scale_factor = 1500.0
|
shader_parameter/magic_scale_factor = 1500.0
|
||||||
shader_parameter/tex = ExtResource("1_8brxc")
|
shader_parameter/tex = ExtResource("1_8brxc")
|
||||||
|
|
||||||
[sub_resource type="CircleShape2D" id="CircleShape2D_x8rl2"]
|
|
||||||
radius = 154.052
|
|
||||||
|
|
||||||
[node name="board" type="PanelContainer"]
|
[node name="board" type="PanelContainer"]
|
||||||
material = SubResource("ShaderMaterial_ttqei")
|
material = SubResource("ShaderMaterial_ttqei")
|
||||||
clip_contents = true
|
clip_contents = true
|
||||||
|
|
@ -33,6 +29,7 @@ script = ExtResource("3_8v4c4")
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
|
||||||
[node name="dropzone" type="Panel" parent="HBoxContainer"]
|
[node name="dropzone" type="Panel" parent="HBoxContainer"]
|
||||||
|
self_modulate = Color(1, 1, 1, 0)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
size_flags_horizontal = 3
|
size_flags_horizontal = 3
|
||||||
mouse_filter = 1
|
mouse_filter = 1
|
||||||
|
|
@ -57,6 +54,7 @@ horizontal_scroll_mode = 0
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
|
||||||
[node name="Panel" type="Panel" parent="HBoxContainer/ScrollContainer/VBoxContainer"]
|
[node name="Panel" type="Panel" parent="HBoxContainer/ScrollContainer/VBoxContainer"]
|
||||||
|
self_modulate = Color(1, 1, 1, 0)
|
||||||
custom_minimum_size = Vector2(400, 120)
|
custom_minimum_size = Vector2(400, 120)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
mouse_filter = 1
|
mouse_filter = 1
|
||||||
|
|
@ -71,6 +69,7 @@ is_dragable = true
|
||||||
metadata/type = "post-it"
|
metadata/type = "post-it"
|
||||||
|
|
||||||
[node name="Panel2" type="Panel" parent="HBoxContainer/ScrollContainer/VBoxContainer"]
|
[node name="Panel2" type="Panel" parent="HBoxContainer/ScrollContainer/VBoxContainer"]
|
||||||
|
self_modulate = Color(1, 1, 1, 0)
|
||||||
custom_minimum_size = Vector2(400, 120)
|
custom_minimum_size = Vector2(400, 120)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
mouse_filter = 1
|
mouse_filter = 1
|
||||||
|
|
@ -84,6 +83,7 @@ is_dragable = true
|
||||||
metadata/type = "post-it"
|
metadata/type = "post-it"
|
||||||
|
|
||||||
[node name="Panel3" type="Panel" parent="HBoxContainer/ScrollContainer/VBoxContainer"]
|
[node name="Panel3" type="Panel" parent="HBoxContainer/ScrollContainer/VBoxContainer"]
|
||||||
|
self_modulate = Color(1, 1, 1, 0)
|
||||||
custom_minimum_size = Vector2(400, 120)
|
custom_minimum_size = Vector2(400, 120)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
mouse_filter = 1
|
mouse_filter = 1
|
||||||
|
|
@ -97,6 +97,7 @@ is_dragable = true
|
||||||
metadata/type = "post-it"
|
metadata/type = "post-it"
|
||||||
|
|
||||||
[node name="Panel4" type="Panel" parent="HBoxContainer/ScrollContainer/VBoxContainer"]
|
[node name="Panel4" type="Panel" parent="HBoxContainer/ScrollContainer/VBoxContainer"]
|
||||||
|
self_modulate = Color(1, 1, 1, 0)
|
||||||
custom_minimum_size = Vector2(400, 120)
|
custom_minimum_size = Vector2(400, 120)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
mouse_filter = 1
|
mouse_filter = 1
|
||||||
|
|
@ -112,48 +113,3 @@ metadata/type = "post-it"
|
||||||
[node name="board of devs" parent="." instance=ExtResource("4_sskx2")]
|
[node name="board of devs" parent="." instance=ExtResource("4_sskx2")]
|
||||||
visible = false
|
visible = false
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
|
||||||
[node name="Node2D" type="Node2D" parent="."]
|
|
||||||
visible = false
|
|
||||||
|
|
||||||
[node name="RigidBody2D" type="Area2D" parent="Node2D"]
|
|
||||||
position = Vector2(686, 379)
|
|
||||||
script = ExtResource("6_gcxd7")
|
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Node2D/RigidBody2D"]
|
|
||||||
shape = SubResource("CircleShape2D_x8rl2")
|
|
||||||
|
|
||||||
[node name="ancor" type="Node2D" parent="Node2D/RigidBody2D"]
|
|
||||||
position = Vector2(-151, -107)
|
|
||||||
|
|
||||||
[node name="card2" parent="Node2D/RigidBody2D/ancor" instance=ExtResource("3_mg053")]
|
|
||||||
collision_layer = 2
|
|
||||||
metadata/type = "card"
|
|
||||||
|
|
||||||
[node name="RigidBody2D2" type="Area2D" parent="Node2D"]
|
|
||||||
position = Vector2(742, 323)
|
|
||||||
script = ExtResource("6_gcxd7")
|
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Node2D/RigidBody2D2"]
|
|
||||||
shape = SubResource("CircleShape2D_x8rl2")
|
|
||||||
|
|
||||||
[node name="ancor" type="Node2D" parent="Node2D/RigidBody2D2"]
|
|
||||||
position = Vector2(-151, -107)
|
|
||||||
|
|
||||||
[node name="card2" parent="Node2D/RigidBody2D2/ancor" instance=ExtResource("3_mg053")]
|
|
||||||
collision_layer = 2
|
|
||||||
metadata/type = "card"
|
|
||||||
|
|
||||||
[node name="RigidBody2D3" type="Area2D" parent="Node2D"]
|
|
||||||
position = Vector2(694, 353)
|
|
||||||
script = ExtResource("6_gcxd7")
|
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Node2D/RigidBody2D3"]
|
|
||||||
shape = SubResource("CircleShape2D_x8rl2")
|
|
||||||
|
|
||||||
[node name="ancor" type="Node2D" parent="Node2D/RigidBody2D3"]
|
|
||||||
position = Vector2(-151, -107)
|
|
||||||
|
|
||||||
[node name="card2" parent="Node2D/RigidBody2D3/ancor" instance=ExtResource("3_mg053")]
|
|
||||||
collision_layer = 2
|
|
||||||
metadata/type = "card"
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue