add runwon and runlost functions, default win cards, call button that calls a loaded contact, added rotatecells, shiftcells, and swapcells functions to actor, reworked address to be 0-8 instead of 1-9, added underscore naming convention to function parameters, business cards to be slightly transparent when not met, added actions to contacts and made a couple examples
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://b7vhq2dkltsv"]
|
||||
[gd_scene load_steps=8 format=3 uid="uid://b7vhq2dkltsv"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://c51oi06i4yrvv" path="res://Art/x.png" id="1_c6108"]
|
||||
[ext_resource type="Script" uid="uid://dth2vcgkp7iq0" path="res://Player.cs" id="1_enp12"]
|
||||
[ext_resource type="PackedScene" uid="uid://yaybgshgeb3d" path="res://Gameplay/phone.tscn" id="4_1d6nn"]
|
||||
[ext_resource type="PackedScene" uid="uid://b0ks34m6smjfd" path="res://Gameplay/business_card.tscn" id="5_ek8wa"]
|
||||
[ext_resource type="PackedScene" uid="uid://bmy783a4c0tal" path="res://Gameplay/boss.tscn" id="5_lfxdo"]
|
||||
[ext_resource type="Texture2D" uid="uid://dvu33m28odcl0" path="res://Art/DiagonalArrow.png" id="6_ehowo"]
|
||||
[ext_resource type="Texture2D" uid="uid://c6q55ex5d5wgi" path="res://Art/RowColArrow.png" id="7_cbnuf"]
|
||||
|
||||
[node name="Player" type="Sprite2D"]
|
||||
script = ExtResource("1_enp12")
|
||||
@@ -51,100 +53,192 @@ offset_right = 298.0
|
||||
offset_bottom = 969.0
|
||||
|
||||
[node name="DefaultDiagonal1To9" parent="." instance=ExtResource("5_ek8wa")]
|
||||
offset_left = 461.0
|
||||
offset_top = 41.0
|
||||
offset_right = 661.0
|
||||
offset_bottom = 241.0
|
||||
offset_left = 610.0
|
||||
offset_top = 190.0
|
||||
offset_right = 660.0
|
||||
offset_bottom = 240.0
|
||||
texture_normal = ExtResource("6_ehowo")
|
||||
texture_pressed = ExtResource("6_ehowo")
|
||||
texture_hover = ExtResource("6_ehowo")
|
||||
texture_disabled = ExtResource("6_ehowo")
|
||||
texture_focused = ExtResource("6_ehowo")
|
||||
|
||||
[node name="DefaultTopRow" parent="." instance=ExtResource("5_ek8wa")]
|
||||
offset_left = 467.0
|
||||
offset_top = 236.0
|
||||
offset_right = 667.0
|
||||
offset_bottom = 436.0
|
||||
offset_left = 610.0
|
||||
offset_top = 440.0
|
||||
offset_right = 810.0
|
||||
offset_bottom = 490.0
|
||||
rotation = 4.71239
|
||||
texture_normal = ExtResource("7_cbnuf")
|
||||
texture_pressed = ExtResource("7_cbnuf")
|
||||
texture_hover = ExtResource("7_cbnuf")
|
||||
texture_disabled = ExtResource("7_cbnuf")
|
||||
texture_focused = ExtResource("7_cbnuf")
|
||||
|
||||
[node name="DefaultMiddleRow" parent="." instance=ExtResource("5_ek8wa")]
|
||||
offset_left = 461.0
|
||||
offset_top = 437.0
|
||||
offset_right = 661.0
|
||||
offset_bottom = 637.0
|
||||
offset_left = 610.0
|
||||
offset_top = 640.0
|
||||
offset_right = 810.0
|
||||
offset_bottom = 690.0
|
||||
rotation = 4.71239
|
||||
texture_normal = ExtResource("7_cbnuf")
|
||||
texture_pressed = ExtResource("7_cbnuf")
|
||||
texture_hover = ExtResource("7_cbnuf")
|
||||
texture_disabled = ExtResource("7_cbnuf")
|
||||
texture_focused = ExtResource("7_cbnuf")
|
||||
|
||||
[node name="DefaultBottomRow" parent="." instance=ExtResource("5_ek8wa")]
|
||||
offset_left = 458.0
|
||||
offset_top = 637.0
|
||||
offset_right = 658.0
|
||||
offset_bottom = 837.0
|
||||
offset_left = 610.0
|
||||
offset_top = 840.0
|
||||
offset_right = 810.0
|
||||
offset_bottom = 890.0
|
||||
rotation = 4.71239
|
||||
texture_normal = ExtResource("7_cbnuf")
|
||||
texture_pressed = ExtResource("7_cbnuf")
|
||||
texture_hover = ExtResource("7_cbnuf")
|
||||
texture_disabled = ExtResource("7_cbnuf")
|
||||
texture_focused = ExtResource("7_cbnuf")
|
||||
|
||||
[node name="DefaultLeftColumn" parent="." instance=ExtResource("5_ek8wa")]
|
||||
offset_left = 665.0
|
||||
offset_top = 38.0
|
||||
offset_right = 865.0
|
||||
offset_bottom = 238.0
|
||||
offset_left = 660.0
|
||||
offset_top = 190.0
|
||||
offset_right = 860.0
|
||||
offset_bottom = 240.0
|
||||
texture_normal = ExtResource("7_cbnuf")
|
||||
texture_pressed = ExtResource("7_cbnuf")
|
||||
texture_hover = ExtResource("7_cbnuf")
|
||||
texture_disabled = ExtResource("7_cbnuf")
|
||||
texture_focused = ExtResource("7_cbnuf")
|
||||
|
||||
[node name="DefaultMiddleColumn" parent="." instance=ExtResource("5_ek8wa")]
|
||||
offset_left = 863.0
|
||||
offset_top = 35.0
|
||||
offset_right = 1063.0
|
||||
offset_bottom = 235.0
|
||||
offset_left = 860.0
|
||||
offset_top = 190.0
|
||||
offset_right = 1060.0
|
||||
offset_bottom = 240.0
|
||||
texture_normal = ExtResource("7_cbnuf")
|
||||
texture_pressed = ExtResource("7_cbnuf")
|
||||
texture_hover = ExtResource("7_cbnuf")
|
||||
texture_disabled = ExtResource("7_cbnuf")
|
||||
texture_focused = ExtResource("7_cbnuf")
|
||||
|
||||
[node name="DefaultRightColumn" parent="." instance=ExtResource("5_ek8wa")]
|
||||
offset_left = 1061.0
|
||||
offset_top = 41.0
|
||||
offset_right = 1261.0
|
||||
offset_bottom = 241.0
|
||||
offset_left = 1060.0
|
||||
offset_top = 190.0
|
||||
offset_right = 1260.0
|
||||
offset_bottom = 240.0
|
||||
texture_normal = ExtResource("7_cbnuf")
|
||||
texture_pressed = ExtResource("7_cbnuf")
|
||||
texture_hover = ExtResource("7_cbnuf")
|
||||
texture_disabled = ExtResource("7_cbnuf")
|
||||
texture_focused = ExtResource("7_cbnuf")
|
||||
|
||||
[node name="DefaultDiagonal3To7" parent="." instance=ExtResource("5_ek8wa")]
|
||||
offset_left = 1264.0
|
||||
offset_top = 44.0
|
||||
offset_right = 1464.0
|
||||
offset_bottom = 244.0
|
||||
offset_left = 1310.0
|
||||
offset_top = 190.0
|
||||
offset_right = 1360.0
|
||||
offset_bottom = 240.0
|
||||
rotation = 1.5708
|
||||
texture_normal = ExtResource("6_ehowo")
|
||||
texture_pressed = ExtResource("6_ehowo")
|
||||
texture_hover = ExtResource("6_ehowo")
|
||||
texture_disabled = ExtResource("6_ehowo")
|
||||
texture_focused = ExtResource("6_ehowo")
|
||||
|
||||
[node name="DefaultTopRowAlt" parent="." instance=ExtResource("5_ek8wa")]
|
||||
offset_left = 1261.0
|
||||
offset_top = 236.0
|
||||
offset_right = 1461.0
|
||||
offset_bottom = 436.0
|
||||
offset_left = 1310.0
|
||||
offset_top = 240.0
|
||||
offset_right = 1510.0
|
||||
offset_bottom = 290.0
|
||||
rotation = 1.5708
|
||||
texture_normal = ExtResource("7_cbnuf")
|
||||
texture_pressed = ExtResource("7_cbnuf")
|
||||
texture_hover = ExtResource("7_cbnuf")
|
||||
texture_disabled = ExtResource("7_cbnuf")
|
||||
texture_focused = ExtResource("7_cbnuf")
|
||||
|
||||
[node name="DefaultMiddleRowAlt" parent="." instance=ExtResource("5_ek8wa")]
|
||||
offset_left = 1255.0
|
||||
offset_top = 434.0
|
||||
offset_right = 1455.0
|
||||
offset_bottom = 634.0
|
||||
offset_left = 1310.0
|
||||
offset_top = 440.0
|
||||
offset_right = 1510.0
|
||||
offset_bottom = 490.0
|
||||
rotation = 1.5708
|
||||
texture_normal = ExtResource("7_cbnuf")
|
||||
texture_pressed = ExtResource("7_cbnuf")
|
||||
texture_hover = ExtResource("7_cbnuf")
|
||||
texture_disabled = ExtResource("7_cbnuf")
|
||||
texture_focused = ExtResource("7_cbnuf")
|
||||
|
||||
[node name="DefaultBottomRowAlt" parent="." instance=ExtResource("5_ek8wa")]
|
||||
offset_left = 1261.0
|
||||
offset_top = 628.0
|
||||
offset_right = 1461.0
|
||||
offset_bottom = 828.0
|
||||
offset_left = 1310.0
|
||||
offset_top = 640.0
|
||||
offset_right = 1510.0
|
||||
offset_bottom = 690.0
|
||||
rotation = 1.5708
|
||||
texture_normal = ExtResource("7_cbnuf")
|
||||
texture_pressed = ExtResource("7_cbnuf")
|
||||
texture_hover = ExtResource("7_cbnuf")
|
||||
texture_disabled = ExtResource("7_cbnuf")
|
||||
texture_focused = ExtResource("7_cbnuf")
|
||||
|
||||
[node name="DefaultDiagonal1To9Alt" parent="." instance=ExtResource("5_ek8wa")]
|
||||
offset_left = 1264.0
|
||||
offset_top = 826.0
|
||||
offset_right = 1464.0
|
||||
offset_bottom = 1026.0
|
||||
offset_left = 1310.0
|
||||
offset_top = 890.0
|
||||
offset_right = 1360.0
|
||||
offset_bottom = 940.0
|
||||
rotation = 3.14159
|
||||
texture_normal = ExtResource("6_ehowo")
|
||||
texture_pressed = ExtResource("6_ehowo")
|
||||
texture_hover = ExtResource("6_ehowo")
|
||||
texture_disabled = ExtResource("6_ehowo")
|
||||
texture_focused = ExtResource("6_ehowo")
|
||||
|
||||
[node name="DefaultDiagonal3To7Alt" parent="." instance=ExtResource("5_ek8wa")]
|
||||
offset_left = 467.0
|
||||
offset_top = 829.0
|
||||
offset_right = 667.0
|
||||
offset_bottom = 1029.0
|
||||
offset_left = 610.0
|
||||
offset_top = 890.0
|
||||
offset_right = 660.0
|
||||
offset_bottom = 940.0
|
||||
rotation = 4.71239
|
||||
texture_normal = ExtResource("6_ehowo")
|
||||
texture_pressed = ExtResource("6_ehowo")
|
||||
texture_hover = ExtResource("6_ehowo")
|
||||
texture_disabled = ExtResource("6_ehowo")
|
||||
texture_focused = ExtResource("6_ehowo")
|
||||
|
||||
[node name="DefaultLeftColumnAlt" parent="." instance=ExtResource("5_ek8wa")]
|
||||
offset_left = 665.0
|
||||
offset_top = 838.0
|
||||
offset_right = 865.0
|
||||
offset_bottom = 1038.0
|
||||
offset_left = 860.0
|
||||
offset_top = 890.0
|
||||
offset_right = 1060.0
|
||||
offset_bottom = 940.0
|
||||
rotation = 3.14159
|
||||
texture_normal = ExtResource("7_cbnuf")
|
||||
texture_pressed = ExtResource("7_cbnuf")
|
||||
texture_hover = ExtResource("7_cbnuf")
|
||||
texture_disabled = ExtResource("7_cbnuf")
|
||||
texture_focused = ExtResource("7_cbnuf")
|
||||
|
||||
[node name="DefaultMiddleColumnAlt" parent="." instance=ExtResource("5_ek8wa")]
|
||||
offset_left = 869.0
|
||||
offset_top = 838.0
|
||||
offset_right = 1069.0
|
||||
offset_bottom = 1038.0
|
||||
offset_left = 1062.0
|
||||
offset_top = 889.0
|
||||
offset_right = 1262.0
|
||||
offset_bottom = 939.0
|
||||
rotation = 3.14159
|
||||
texture_normal = ExtResource("7_cbnuf")
|
||||
texture_pressed = ExtResource("7_cbnuf")
|
||||
texture_hover = ExtResource("7_cbnuf")
|
||||
texture_disabled = ExtResource("7_cbnuf")
|
||||
texture_focused = ExtResource("7_cbnuf")
|
||||
|
||||
[node name="DefaultRightColumnAlt" parent="." instance=ExtResource("5_ek8wa")]
|
||||
offset_left = 1064.0
|
||||
offset_top = 838.0
|
||||
offset_right = 1264.0
|
||||
offset_bottom = 1038.0
|
||||
offset_left = 1260.0
|
||||
offset_top = 890.0
|
||||
offset_right = 1460.0
|
||||
offset_bottom = 940.0
|
||||
rotation = 3.14159
|
||||
texture_normal = ExtResource("7_cbnuf")
|
||||
texture_pressed = ExtResource("7_cbnuf")
|
||||
texture_hover = ExtResource("7_cbnuf")
|
||||
texture_disabled = ExtResource("7_cbnuf")
|
||||
texture_focused = ExtResource("7_cbnuf")
|
||||
|
||||
[node name="BusDebug" type="RichTextLabel" parent="."]
|
||||
offset_top = 276.0
|
||||
|
||||
Reference in New Issue
Block a user