Menus #13
No files matched your search
+1
-1
@@ -17,7 +17,7 @@ config/icon="res://icon.svg"
|
|||||||
|
|
||||||
[autoload]
|
[autoload]
|
||||||
|
|
||||||
GloblaData="*uid://chv42jjv2lka4"
|
GlobalData="*uid://chv42jjv2lka4"
|
||||||
PhantomCameraManager="*uid://duq6jhf6unyis"
|
PhantomCameraManager="*uid://duq6jhf6unyis"
|
||||||
|
|
||||||
[display]
|
[display]
|
||||||
|
|||||||
@@ -8,5 +8,5 @@ func _ready() -> void:
|
|||||||
|
|
||||||
func _on_body_entered(body: Node2D) -> void:
|
func _on_body_entered(body: Node2D) -> void:
|
||||||
queue_free()
|
queue_free()
|
||||||
GloblaData.cassets += 1
|
GlobalData.cassets += 1
|
||||||
print("1 point")
|
print("1 point")
|
||||||
File renamed without changes.
@@ -1,42 +1,42 @@
|
|||||||
[gd_scene format=3 uid="uid://c17txy4vh4wka"]
|
[gd_scene format=3 uid="uid://c17txy4vh4wka"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://bjj8m1jv577ob" path="res://casset.gd" id="1_n02yi"]
|
[ext_resource type="Script" uid="uid://bjj8m1jv577ob" path="res://scenes/core/cassette.gd" id="1_e33mb"]
|
||||||
[ext_resource type="Texture2D" uid="uid://bwduuxikrgklm" path="res://assets/models/tape/0001.png" id="2_ey1rh"]
|
[ext_resource type="Texture2D" uid="uid://bwduuxikrgklm" path="res://assets/models/tape/0001.png" id="2_ov30a"]
|
||||||
[ext_resource type="Texture2D" uid="uid://bhxmodp36d3p0" path="res://assets/models/tape/0002.png" id="3_s7x6d"]
|
[ext_resource type="Texture2D" uid="uid://bhxmodp36d3p0" path="res://assets/models/tape/0002.png" id="3_iwy1v"]
|
||||||
[ext_resource type="Texture2D" uid="uid://ccrawjlvxjuw4" path="res://assets/models/tape/0003.png" id="4_uba7d"]
|
[ext_resource type="Texture2D" uid="uid://ccrawjlvxjuw4" path="res://assets/models/tape/0003.png" id="4_40fjs"]
|
||||||
[ext_resource type="Texture2D" uid="uid://b7c7p86isaxa" path="res://assets/models/tape/0004.png" id="5_oukbb"]
|
[ext_resource type="Texture2D" uid="uid://b7c7p86isaxa" path="res://assets/models/tape/0004.png" id="5_b3t40"]
|
||||||
[ext_resource type="Texture2D" uid="uid://oq11uiuyiam5" path="res://assets/models/tape/0005.png" id="6_4hmvd"]
|
[ext_resource type="Texture2D" uid="uid://oq11uiuyiam5" path="res://assets/models/tape/0005.png" id="6_vyj75"]
|
||||||
[ext_resource type="Texture2D" uid="uid://b34cebb375x2r" path="res://assets/models/tape/0006.png" id="7_344th"]
|
[ext_resource type="Texture2D" uid="uid://b34cebb375x2r" path="res://assets/models/tape/0006.png" id="7_ra122"]
|
||||||
[ext_resource type="Texture2D" uid="uid://coed278qdqt5j" path="res://assets/models/tape/0007.png" id="8_yg0e1"]
|
[ext_resource type="Texture2D" uid="uid://coed278qdqt5j" path="res://assets/models/tape/0007.png" id="8_jqk11"]
|
||||||
[ext_resource type="Texture2D" uid="uid://bkmb8y4m64beg" path="res://assets/models/tape/0008.png" id="9_avxtk"]
|
[ext_resource type="Texture2D" uid="uid://bkmb8y4m64beg" path="res://assets/models/tape/0008.png" id="9_xeumn"]
|
||||||
[ext_resource type="Texture2D" uid="uid://c4lfh75v0og6m" path="res://assets/models/tape/0009.png" id="10_wuesg"]
|
[ext_resource type="Texture2D" uid="uid://c4lfh75v0og6m" path="res://assets/models/tape/0009.png" id="10_2fjvb"]
|
||||||
[ext_resource type="Texture2D" uid="uid://dsphwe7lsmvag" path="res://assets/models/tape/0010.png" id="11_i1phg"]
|
[ext_resource type="Texture2D" uid="uid://dsphwe7lsmvag" path="res://assets/models/tape/0010.png" id="11_un7bj"]
|
||||||
[ext_resource type="Texture2D" uid="uid://dnikcglaiqp8w" path="res://assets/models/tape/0011.png" id="12_2qqyg"]
|
[ext_resource type="Texture2D" uid="uid://dnikcglaiqp8w" path="res://assets/models/tape/0011.png" id="12_kft3m"]
|
||||||
[ext_resource type="Texture2D" uid="uid://pnbc7ujyqjbu" path="res://assets/models/tape/0012.png" id="13_pqb5h"]
|
[ext_resource type="Texture2D" uid="uid://pnbc7ujyqjbu" path="res://assets/models/tape/0012.png" id="13_fwu40"]
|
||||||
[ext_resource type="Texture2D" uid="uid://bnhdtovgtyksk" path="res://assets/models/tape/0013.png" id="14_qnonl"]
|
[ext_resource type="Texture2D" uid="uid://bnhdtovgtyksk" path="res://assets/models/tape/0013.png" id="14_oka6v"]
|
||||||
[ext_resource type="Texture2D" uid="uid://4870xw8inrmv" path="res://assets/models/tape/0014.png" id="15_ugerl"]
|
[ext_resource type="Texture2D" uid="uid://4870xw8inrmv" path="res://assets/models/tape/0014.png" id="15_a5lxw"]
|
||||||
[ext_resource type="Texture2D" uid="uid://cb3eyy34s5jcf" path="res://assets/models/tape/0015.png" id="16_47mc2"]
|
[ext_resource type="Texture2D" uid="uid://cb3eyy34s5jcf" path="res://assets/models/tape/0015.png" id="16_qtkqu"]
|
||||||
[ext_resource type="Texture2D" uid="uid://brmtj08bkb68i" path="res://assets/models/tape/0016.png" id="17_2g57n"]
|
[ext_resource type="Texture2D" uid="uid://brmtj08bkb68i" path="res://assets/models/tape/0016.png" id="17_0hch6"]
|
||||||
[ext_resource type="Texture2D" uid="uid://ppdkj6hewhdy" path="res://assets/models/tape/0017.png" id="18_mem4b"]
|
[ext_resource type="Texture2D" uid="uid://ppdkj6hewhdy" path="res://assets/models/tape/0017.png" id="18_tnc8j"]
|
||||||
[ext_resource type="Texture2D" uid="uid://c1k7f6eqgj6ha" path="res://assets/models/tape/0018.png" id="19_wjyl8"]
|
[ext_resource type="Texture2D" uid="uid://c1k7f6eqgj6ha" path="res://assets/models/tape/0018.png" id="19_0kcxf"]
|
||||||
[ext_resource type="Texture2D" uid="uid://c5jkuviqedebh" path="res://assets/models/tape/0019.png" id="20_1jml4"]
|
[ext_resource type="Texture2D" uid="uid://c5jkuviqedebh" path="res://assets/models/tape/0019.png" id="20_uoc08"]
|
||||||
[ext_resource type="Texture2D" uid="uid://rrtrsv4c4myb" path="res://assets/models/tape/0020.png" id="21_lgnyg"]
|
[ext_resource type="Texture2D" uid="uid://rrtrsv4c4myb" path="res://assets/models/tape/0020.png" id="21_fkd2e"]
|
||||||
[ext_resource type="Texture2D" uid="uid://fnffb5up4s8d" path="res://assets/models/tape/0021.png" id="22_j1cfh"]
|
[ext_resource type="Texture2D" uid="uid://fnffb5up4s8d" path="res://assets/models/tape/0021.png" id="22_6ocyi"]
|
||||||
[ext_resource type="Texture2D" uid="uid://b6ni883x1t055" path="res://assets/models/tape/0022.png" id="23_wokpw"]
|
[ext_resource type="Texture2D" uid="uid://b6ni883x1t055" path="res://assets/models/tape/0022.png" id="23_qac6u"]
|
||||||
[ext_resource type="Texture2D" uid="uid://dm3cuk3uj7uro" path="res://assets/models/tape/0023.png" id="24_osnan"]
|
[ext_resource type="Texture2D" uid="uid://dm3cuk3uj7uro" path="res://assets/models/tape/0023.png" id="24_bw8by"]
|
||||||
[ext_resource type="Texture2D" uid="uid://dn3d5bbgv6adj" path="res://assets/models/tape/0024.png" id="25_xtrco"]
|
[ext_resource type="Texture2D" uid="uid://dn3d5bbgv6adj" path="res://assets/models/tape/0024.png" id="25_bjhb1"]
|
||||||
[ext_resource type="Texture2D" uid="uid://brlj5o4c38sfy" path="res://assets/models/tape/0025.png" id="26_2nvr4"]
|
[ext_resource type="Texture2D" uid="uid://brlj5o4c38sfy" path="res://assets/models/tape/0025.png" id="26_6jhix"]
|
||||||
[ext_resource type="Texture2D" uid="uid://cbxyunc3vq43f" path="res://assets/models/tape/0026.png" id="27_uw6xo"]
|
[ext_resource type="Texture2D" uid="uid://cbxyunc3vq43f" path="res://assets/models/tape/0026.png" id="27_ej4cb"]
|
||||||
[ext_resource type="Texture2D" uid="uid://dhy47cdhnuw0u" path="res://assets/models/tape/0027.png" id="28_3xmqj"]
|
[ext_resource type="Texture2D" uid="uid://dhy47cdhnuw0u" path="res://assets/models/tape/0027.png" id="28_bowdg"]
|
||||||
[ext_resource type="Texture2D" uid="uid://cc6cma7usbvr0" path="res://assets/models/tape/0028.png" id="29_abqet"]
|
[ext_resource type="Texture2D" uid="uid://cc6cma7usbvr0" path="res://assets/models/tape/0028.png" id="29_xvsmk"]
|
||||||
[ext_resource type="Texture2D" uid="uid://y36af74op255" path="res://assets/models/tape/0029.png" id="30_ka3mg"]
|
[ext_resource type="Texture2D" uid="uid://y36af74op255" path="res://assets/models/tape/0029.png" id="30_q2n24"]
|
||||||
[ext_resource type="Texture2D" uid="uid://duxa31abxdim3" path="res://assets/models/tape/0030.png" id="31_ytpdu"]
|
[ext_resource type="Texture2D" uid="uid://duxa31abxdim3" path="res://assets/models/tape/0030.png" id="31_qudm8"]
|
||||||
[ext_resource type="Texture2D" uid="uid://dk0rrn6qcey4q" path="res://assets/models/tape/0031.png" id="32_4n61x"]
|
[ext_resource type="Texture2D" uid="uid://dk0rrn6qcey4q" path="res://assets/models/tape/0031.png" id="32_lbn50"]
|
||||||
[ext_resource type="Texture2D" uid="uid://dmmcacajlqfty" path="res://assets/models/tape/0032.png" id="33_rbupw"]
|
[ext_resource type="Texture2D" uid="uid://dmmcacajlqfty" path="res://assets/models/tape/0032.png" id="33_qg7ey"]
|
||||||
[ext_resource type="Texture2D" uid="uid://w4qt7tot3p6c" path="res://assets/models/tape/0033.png" id="34_ad3ah"]
|
[ext_resource type="Texture2D" uid="uid://w4qt7tot3p6c" path="res://assets/models/tape/0033.png" id="34_6u2pe"]
|
||||||
[ext_resource type="Texture2D" uid="uid://dydx71lucpp1b" path="res://assets/models/tape/0034.png" id="35_h5u8c"]
|
[ext_resource type="Texture2D" uid="uid://dydx71lucpp1b" path="res://assets/models/tape/0034.png" id="35_e35d2"]
|
||||||
[ext_resource type="Texture2D" uid="uid://cwpnuvhfsn4he" path="res://assets/models/tape/0035.png" id="36_d51k2"]
|
[ext_resource type="Texture2D" uid="uid://cwpnuvhfsn4he" path="res://assets/models/tape/0035.png" id="36_fenfq"]
|
||||||
[ext_resource type="Texture2D" uid="uid://bushfp5bxibq6" path="res://assets/models/tape/0036.png" id="37_xa14o"]
|
[ext_resource type="Texture2D" uid="uid://bushfp5bxibq6" path="res://assets/models/tape/0036.png" id="37_1v3qm"]
|
||||||
|
|
||||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_aqe1g"]
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_aqe1g"]
|
||||||
size = Vector2(47, 54)
|
size = Vector2(47, 54)
|
||||||
@@ -45,112 +45,112 @@ size = Vector2(47, 54)
|
|||||||
animations = [{
|
animations = [{
|
||||||
"frames": [{
|
"frames": [{
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": ExtResource("2_ey1rh")
|
"texture": ExtResource("2_ov30a")
|
||||||
}, {
|
}, {
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": ExtResource("3_s7x6d")
|
"texture": ExtResource("3_iwy1v")
|
||||||
}, {
|
}, {
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": ExtResource("4_uba7d")
|
"texture": ExtResource("4_40fjs")
|
||||||
}, {
|
}, {
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": ExtResource("5_oukbb")
|
"texture": ExtResource("5_b3t40")
|
||||||
}, {
|
}, {
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": ExtResource("6_4hmvd")
|
"texture": ExtResource("6_vyj75")
|
||||||
}, {
|
}, {
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": ExtResource("7_344th")
|
"texture": ExtResource("7_ra122")
|
||||||
}, {
|
}, {
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": ExtResource("8_yg0e1")
|
"texture": ExtResource("8_jqk11")
|
||||||
}, {
|
}, {
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": ExtResource("9_avxtk")
|
"texture": ExtResource("9_xeumn")
|
||||||
}, {
|
}, {
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": ExtResource("10_wuesg")
|
"texture": ExtResource("10_2fjvb")
|
||||||
}, {
|
}, {
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": ExtResource("11_i1phg")
|
"texture": ExtResource("11_un7bj")
|
||||||
}, {
|
}, {
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": ExtResource("12_2qqyg")
|
"texture": ExtResource("12_kft3m")
|
||||||
}, {
|
}, {
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": ExtResource("13_pqb5h")
|
"texture": ExtResource("13_fwu40")
|
||||||
}, {
|
}, {
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": ExtResource("14_qnonl")
|
"texture": ExtResource("14_oka6v")
|
||||||
}, {
|
}, {
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": ExtResource("15_ugerl")
|
"texture": ExtResource("15_a5lxw")
|
||||||
}, {
|
}, {
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": ExtResource("16_47mc2")
|
"texture": ExtResource("16_qtkqu")
|
||||||
}, {
|
}, {
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": ExtResource("17_2g57n")
|
"texture": ExtResource("17_0hch6")
|
||||||
}, {
|
}, {
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": ExtResource("18_mem4b")
|
"texture": ExtResource("18_tnc8j")
|
||||||
}, {
|
}, {
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": ExtResource("19_wjyl8")
|
"texture": ExtResource("19_0kcxf")
|
||||||
}, {
|
}, {
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": ExtResource("20_1jml4")
|
"texture": ExtResource("20_uoc08")
|
||||||
}, {
|
}, {
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": ExtResource("21_lgnyg")
|
"texture": ExtResource("21_fkd2e")
|
||||||
}, {
|
}, {
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": ExtResource("22_j1cfh")
|
"texture": ExtResource("22_6ocyi")
|
||||||
}, {
|
}, {
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": ExtResource("23_wokpw")
|
"texture": ExtResource("23_qac6u")
|
||||||
}, {
|
}, {
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": ExtResource("24_osnan")
|
"texture": ExtResource("24_bw8by")
|
||||||
}, {
|
}, {
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": ExtResource("25_xtrco")
|
"texture": ExtResource("25_bjhb1")
|
||||||
}, {
|
}, {
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": ExtResource("26_2nvr4")
|
"texture": ExtResource("26_6jhix")
|
||||||
}, {
|
}, {
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": ExtResource("27_uw6xo")
|
"texture": ExtResource("27_ej4cb")
|
||||||
}, {
|
}, {
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": ExtResource("28_3xmqj")
|
"texture": ExtResource("28_bowdg")
|
||||||
}, {
|
}, {
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": ExtResource("29_abqet")
|
"texture": ExtResource("29_xvsmk")
|
||||||
}, {
|
}, {
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": ExtResource("30_ka3mg")
|
"texture": ExtResource("30_q2n24")
|
||||||
}, {
|
}, {
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": ExtResource("31_ytpdu")
|
"texture": ExtResource("31_qudm8")
|
||||||
}, {
|
}, {
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": ExtResource("32_4n61x")
|
"texture": ExtResource("32_lbn50")
|
||||||
}, {
|
}, {
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": ExtResource("33_rbupw")
|
"texture": ExtResource("33_qg7ey")
|
||||||
}, {
|
}, {
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": ExtResource("34_ad3ah")
|
"texture": ExtResource("34_6u2pe")
|
||||||
}, {
|
}, {
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": ExtResource("35_h5u8c")
|
"texture": ExtResource("35_e35d2")
|
||||||
}, {
|
}, {
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": ExtResource("36_d51k2")
|
"texture": ExtResource("36_fenfq")
|
||||||
}, {
|
}, {
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": ExtResource("37_xa14o")
|
"texture": ExtResource("37_1v3qm")
|
||||||
}],
|
}],
|
||||||
"loop": 1,
|
"loop": 1,
|
||||||
"name": &"default",
|
"name": &"default",
|
||||||
@@ -159,7 +159,7 @@ animations = [{
|
|||||||
|
|
||||||
[node name="casset" type="Area2D" unique_id=918954585]
|
[node name="casset" type="Area2D" unique_id=918954585]
|
||||||
collision_layer = 16
|
collision_layer = 16
|
||||||
script = ExtResource("1_n02yi")
|
script = ExtResource("1_e33mb")
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1414004718]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1414004718]
|
||||||
position = Vector2(23.5, -2)
|
position = Vector2(23.5, -2)
|
||||||
@@ -3,7 +3,7 @@ extends CharacterBody2D
|
|||||||
|
|
||||||
var SPEED = Vector2(5, 0)
|
var SPEED = Vector2(5, 0)
|
||||||
const JUMP_VELOCITY = -400.0
|
const JUMP_VELOCITY = -400.0
|
||||||
@onready var projectile: PackedScene = preload("res://scenes/projectile.tscn")
|
@onready var projectile: PackedScene = preload("res://scenes/core/projectile.tscn")
|
||||||
var death_counter = 3
|
var death_counter = 3
|
||||||
|
|
||||||
|
|
||||||
@@ -37,10 +37,10 @@ func _on_timer_timeout() -> void:
|
|||||||
|
|
||||||
|
|
||||||
func _on_area_2d_area_entered(area: Area2D) -> void:
|
func _on_area_2d_area_entered(area: Area2D) -> void:
|
||||||
if GloblaData.hurtable:
|
if GlobalData.hurtable:
|
||||||
death_counter -= 1
|
death_counter -= 1
|
||||||
elif GloblaData.weapon == 2:
|
elif GlobalData.weapon == 2:
|
||||||
death_counter -= 1
|
death_counter -= 1
|
||||||
|
|
||||||
func _on_area_2d_body_entered(body: Node2D) -> void:
|
func _on_area_2d_body_entered(body: Node2D) -> void:
|
||||||
GloblaData.death_counter -= 1
|
GlobalData.death_counter -= 1
|
||||||
File renamed without changes.
@@ -1,6 +1,6 @@
|
|||||||
[gd_scene format=3 uid="uid://dxx6mxv6x5yws"]
|
[gd_scene format=3 uid="uid://dxx6mxv6x5yws"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://su208qu0ehcs" path="res://scenes/enemy.gd" id="1_7p1mj"]
|
[ext_resource type="Script" uid="uid://su208qu0ehcs" path="res://scenes/core/enemy.gd" id="1_7p1mj"]
|
||||||
|
|
||||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_aqe1g"]
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_aqe1g"]
|
||||||
size = Vector2(168, 167)
|
size = Vector2(168, 167)
|
||||||
@@ -21,13 +21,17 @@ func _on_area_2d_body_entered(body: Node2D) -> void:
|
|||||||
await get_tree().process_frame
|
await get_tree().process_frame
|
||||||
print("== AFTER 2 FRAMES ==")
|
print("== AFTER 2 FRAMES ==")
|
||||||
_dump(inst)
|
_dump(inst)
|
||||||
GloblaData.doing_puzzle = true
|
GlobalData.doing_puzzle = true
|
||||||
$CanvasLayer.add_child(inst)
|
$CanvasLayer.add_child(inst)
|
||||||
inst.set_anchors_and_offsets_preset(Control.PRESET_CENTER, Control.PRESET_MODE_KEEP_SIZE)
|
inst.set_anchors_and_offsets_preset(Control.PRESET_CENTER, Control.PRESET_MODE_KEEP_SIZE)
|
||||||
inst.grow_vertical = Control.GROW_DIRECTION_BOTH
|
inst.grow_vertical = Control.GROW_DIRECTION_BOTH
|
||||||
inst.grow_horizontal = Control.GROW_DIRECTION_BOTH
|
inst.grow_horizontal = Control.GROW_DIRECTION_BOTH
|
||||||
else:
|
else:
|
||||||
get_parent().get_node("Speech").say("I need to find all the music!", get_parent().get_node("player").SpeechMarker, 5.0)
|
get_parent().get_node("Speech").say(
|
||||||
|
"I need to find all the music!",
|
||||||
|
get_parent().get_parent().get_node("player").SpeechMarker,
|
||||||
|
5.0
|
||||||
|
)
|
||||||
|
|
||||||
func _dump(inst: Control) -> void:
|
func _dump(inst: Control) -> void:
|
||||||
var vp := get_viewport()
|
var vp := get_viewport()
|
||||||
File renamed without changes.
@@ -1,6 +1,6 @@
|
|||||||
[gd_scene format=3 uid="uid://cplmcsbr2yajw"]
|
[gd_scene format=3 uid="uid://cplmcsbr2yajw"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://eql155d0clq7" path="res://scripts/phonebooth.gd" id="1_nrbkm"]
|
[ext_resource type="Script" uid="uid://eql155d0clq7" path="res://scenes/core/phonebooth.gd" id="1_nrbkm"]
|
||||||
[ext_resource type="Texture2D" uid="uid://cycqo2y184wfj" path="res://assets/models/phonebooth0001.png" id="2_bkddl"]
|
[ext_resource type="Texture2D" uid="uid://cycqo2y184wfj" path="res://assets/models/phonebooth0001.png" id="2_bkddl"]
|
||||||
|
|
||||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_nrbkm"]
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_nrbkm"]
|
||||||
@@ -117,7 +117,7 @@ var slash = 300
|
|||||||
@export var crouch_walk: bool
|
@export var crouch_walk: bool
|
||||||
##Animations must be named "roll" all lowercase as the check box says
|
##Animations must be named "roll" all lowercase as the check box says
|
||||||
@export var roll: bool
|
@export var roll: bool
|
||||||
var projectile = preload("res://scenes/projectile.tscn")
|
var projectile = preload("res://scenes/core/projectile.tscn")
|
||||||
|
|
||||||
signal dead
|
signal dead
|
||||||
#Variables determined by the developer set ones.
|
#Variables determined by the developer set ones.
|
||||||
@@ -182,7 +182,7 @@ var dashTap
|
|||||||
var rollTap
|
var rollTap
|
||||||
var downTap
|
var downTap
|
||||||
var twirlTap
|
var twirlTap
|
||||||
var enemy = preload("res://scenes/enemy.tscn")
|
var enemy = preload("res://scenes/core/enemy.tscn")
|
||||||
func _ready():
|
func _ready():
|
||||||
wasMovingR = true
|
wasMovingR = true
|
||||||
anim = PlayerSprite
|
anim = PlayerSprite
|
||||||
@@ -326,14 +326,14 @@ func _process(_delta):
|
|||||||
var dir: bool = 1
|
var dir: bool = 1
|
||||||
|
|
||||||
func _physics_process(delta):
|
func _physics_process(delta):
|
||||||
print(GloblaData.death_counter)
|
print(GlobalData.death_counter)
|
||||||
if Input.is_action_just_pressed("slash_weapon"):
|
if Input.is_action_just_pressed("slash_weapon"):
|
||||||
weapon = 1
|
weapon = 1
|
||||||
GloblaData.weapon = 1
|
GlobalData.weapon = 1
|
||||||
if Input.is_action_just_pressed("gun"):
|
if Input.is_action_just_pressed("gun"):
|
||||||
weapon = 2
|
weapon = 2
|
||||||
GloblaData.weapon = 2
|
GlobalData.weapon = 2
|
||||||
$Label.text = str(int(GloblaData.cassets))
|
$Label.text = str(int(GlobalData.cassets))
|
||||||
if Input.is_action_just_pressed("right"):
|
if Input.is_action_just_pressed("right"):
|
||||||
dir = 1
|
dir = 1
|
||||||
$ColorRect5.global_position = $Marker2D3.global_position
|
$ColorRect5.global_position = $Marker2D3.global_position
|
||||||
@@ -341,12 +341,7 @@ func _physics_process(delta):
|
|||||||
$ColorRect5.global_position = $Marker2D2.global_position
|
$ColorRect5.global_position = $Marker2D2.global_position
|
||||||
$ColorRect5.rotation = -130
|
$ColorRect5.rotation = -130
|
||||||
dir = 0
|
dir = 0
|
||||||
if GloblaData.doing_puzzle == false:
|
if GlobalData.doing_puzzle == false:
|
||||||
if Input.is_action_just_pressed("pause"):
|
|
||||||
toggle_paused()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if Input.is_action_just_pressed("right"):
|
if Input.is_action_just_pressed("right"):
|
||||||
$ColorRect5.global_position = $Marker2D3.global_position
|
$ColorRect5.global_position = $Marker2D3.global_position
|
||||||
$ColorRect5.rotation = 130
|
$ColorRect5.rotation = 130
|
||||||
@@ -364,21 +359,21 @@ func _physics_process(delta):
|
|||||||
elif Input.is_action_just_pressed("fire") and weapon == 1:
|
elif Input.is_action_just_pressed("fire") and weapon == 1:
|
||||||
$ColorRect5.rotation -= slash
|
$ColorRect5.rotation -= slash
|
||||||
slash = -slash
|
slash = -slash
|
||||||
GloblaData.hurtable = true
|
GlobalData.hurtable = true
|
||||||
$Timer.start()
|
$Timer.start()
|
||||||
|
|
||||||
if GloblaData.doing_puzzle:
|
if GlobalData.doing_puzzle:
|
||||||
velocity = Vector2(0, 0)
|
velocity = Vector2(0, 0)
|
||||||
|
|
||||||
if GloblaData.death_counter <= 0:
|
if GlobalData.death_counter <= 0:
|
||||||
$AnimatedSprite2D.play("death")
|
$AnimatedSprite2D.play("death")
|
||||||
emit_signal("dead")
|
emit_signal("dead")
|
||||||
dead.disconnect(_on_dead)
|
dead.disconnect(_on_dead)
|
||||||
if GloblaData.death_counter == 2:
|
if GlobalData.death_counter == 2:
|
||||||
$ColorRect3.hide()
|
$ColorRect3.hide()
|
||||||
elif GloblaData.death_counter == 1:
|
elif GlobalData.death_counter == 1:
|
||||||
$ColorRect4.hide()
|
$ColorRect4.hide()
|
||||||
elif GloblaData.death_counter == 0:
|
elif GlobalData.death_counter == 0:
|
||||||
$ColorRect2.hide()
|
$ColorRect2.hide()
|
||||||
if !dset:
|
if !dset:
|
||||||
gdelta = delta
|
gdelta = delta
|
||||||
@@ -406,7 +401,7 @@ func _physics_process(delta):
|
|||||||
if weapon == 1:
|
if weapon == 1:
|
||||||
anim_preamble = "sword_"
|
anim_preamble = "sword_"
|
||||||
|
|
||||||
if GloblaData.death_counter > 0:
|
if GlobalData.death_counter > 0:
|
||||||
if !is_on_floor():
|
if !is_on_floor():
|
||||||
$AnimatedSprite2D.animation = "%sjump" % anim_preamble
|
$AnimatedSprite2D.animation = "%sjump" % anim_preamble
|
||||||
$AnimatedSprite2D.play()
|
$AnimatedSprite2D.play()
|
||||||
@@ -433,7 +428,7 @@ func _physics_process(delta):
|
|||||||
$AnimatedSprite2D.play()
|
$AnimatedSprite2D.play()
|
||||||
|
|
||||||
#INFO Left and Right Movement
|
#INFO Left and Right Movement
|
||||||
if GloblaData.doing_puzzle == false and GloblaData.death_counter > 0:
|
if GlobalData.doing_puzzle == false and GlobalData.death_counter > 0:
|
||||||
if rightHold and leftHold and movementInputMonitoring:
|
if rightHold and leftHold and movementInputMonitoring:
|
||||||
if !instantStop:
|
if !instantStop:
|
||||||
_decelerate(delta, false)
|
_decelerate(delta, false)
|
||||||
@@ -521,7 +516,7 @@ func _physics_process(delta):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
#INFO Jump and Gravity
|
#INFO Jump and Gravity
|
||||||
if GloblaData.doing_puzzle == false and GloblaData.death_counter > 0:
|
if GlobalData.doing_puzzle == false and GlobalData.death_counter > 0:
|
||||||
if velocity.y > 0:
|
if velocity.y > 0:
|
||||||
appliedGravity = gravityScale * descendingGravityFactor
|
appliedGravity = gravityScale * descendingGravityFactor
|
||||||
else:
|
else:
|
||||||
@@ -767,19 +762,10 @@ func shoot():
|
|||||||
|
|
||||||
|
|
||||||
func _on_timer_timeout() -> void:
|
func _on_timer_timeout() -> void:
|
||||||
GloblaData.hurtable = false
|
GlobalData.hurtable = false
|
||||||
|
|
||||||
|
|
||||||
func _on_dead() -> void:
|
func _on_dead() -> void:
|
||||||
var death_scene = preload("res://scenes/game_over.tscn")
|
var death_scene = preload("res://scenes/helpers/game_over.tscn")
|
||||||
var instance = death_scene.instantiate()
|
var instance = death_scene.instantiate()
|
||||||
$".".add_child(instance)
|
$".".add_child(instance)
|
||||||
|
|
||||||
|
|
||||||
func toggle_paused():
|
|
||||||
var pause = preload("res://scenes/pause_screen.tscn")
|
|
||||||
var instace = pause.instantiate()
|
|
||||||
$"..".add_child(instace)
|
|
||||||
instace.position = $"..".global_position
|
|
||||||
get_tree().paused = true
|
|
||||||
|
|
||||||
File renamed without changes.
@@ -1,6 +1,6 @@
|
|||||||
[gd_scene format=3 uid="uid://cmtdq6tedv1mm"]
|
[gd_scene format=3 uid="uid://cmtdq6tedv1mm"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://2ig5okof0vaa" path="res://scripts/UltimatePlatformerController.gd" id="1_3vyb7"]
|
[ext_resource type="Script" uid="uid://2ig5okof0vaa" path="res://scenes/core/player.gd" id="1_3vyb7"]
|
||||||
[ext_resource type="FontFile" uid="uid://ddm6ojsaiq20b" path="res://assets/fonts/PixelOperator8-Bold.ttf" id="2_g2els"]
|
[ext_resource type="FontFile" uid="uid://ddm6ojsaiq20b" path="res://assets/fonts/PixelOperator8-Bold.ttf" id="2_g2els"]
|
||||||
[ext_resource type="SpriteFrames" uid="uid://cownh0u8kqwb7" path="res://assets/sprites/character.tres" id="3_qhqgy"]
|
[ext_resource type="SpriteFrames" uid="uid://cownh0u8kqwb7" path="res://assets/sprites/character.tres" id="3_qhqgy"]
|
||||||
[ext_resource type="Script" uid="uid://bhexx6mj1xv3q" path="res://addons/phantom_camera/scripts/phantom_camera/phantom_camera_2d.gd" id="3_qlg0r"]
|
[ext_resource type="Script" uid="uid://bhexx6mj1xv3q" path="res://addons/phantom_camera/scripts/phantom_camera/phantom_camera_2d.gd" id="3_qlg0r"]
|
||||||
File renamed without changes.
File renamed without changes.
@@ -1,6 +1,6 @@
|
|||||||
[gd_scene format=3 uid="uid://baiayu1xn68g0"]
|
[gd_scene format=3 uid="uid://baiayu1xn68g0"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://7hy57dacf4nh" path="res://projecile.gd" id="1_c8fcr"]
|
[ext_resource type="Script" uid="uid://7hy57dacf4nh" path="res://scenes/core/projectile.gd" id="1_c8fcr"]
|
||||||
|
|
||||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_aqe1g"]
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_aqe1g"]
|
||||||
size = Vector2(44, 44)
|
size = Vector2(44, 44)
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
[gd_scene format=3 uid="uid://dsygg23isv1il"]
|
|
||||||
|
|
||||||
[node name="End" type="Control" unique_id=1673862149]
|
|
||||||
layout_mode = 3
|
|
||||||
anchors_preset = 15
|
|
||||||
anchor_right = 1.0
|
|
||||||
anchor_bottom = 1.0
|
|
||||||
grow_horizontal = 2
|
|
||||||
grow_vertical = 2
|
|
||||||
@@ -12,7 +12,7 @@ func _process(delta: float) -> void:
|
|||||||
|
|
||||||
|
|
||||||
func _on_button_pressed() -> void:
|
func _on_button_pressed() -> void:
|
||||||
GloblaData.death_counter = 3
|
GlobalData.death_counter = 3
|
||||||
$".".queue_free()
|
$".".queue_free()
|
||||||
get_tree().reload_current_scene()
|
get_tree().reload_current_scene()
|
||||||
|
|
||||||
File renamed without changes.
@@ -1,6 +1,6 @@
|
|||||||
[gd_scene format=3 uid="uid://dvujc88306mxp"]
|
[gd_scene format=3 uid="uid://dvujc88306mxp"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://qtq5kw1cwxo3" path="res://scenes/game_over.gd" id="1_tbwuq"]
|
[ext_resource type="Script" uid="uid://qtq5kw1cwxo3" path="res://scenes/helpers/game_over.gd" id="1_tbwuq"]
|
||||||
[ext_resource type="FontFile" uid="uid://ddm6ojsaiq20b" path="res://assets/fonts/PixelOperator8-Bold.ttf" id="1_wqhvx"]
|
[ext_resource type="FontFile" uid="uid://ddm6ojsaiq20b" path="res://assets/fonts/PixelOperator8-Bold.ttf" id="1_wqhvx"]
|
||||||
[ext_resource type="FontFile" uid="uid://dkytywan8eapf" path="res://assets/fonts/PixelOperator8.ttf" id="2_tbwuq"]
|
[ext_resource type="FontFile" uid="uid://dkytywan8eapf" path="res://assets/fonts/PixelOperator8.ttf" id="2_tbwuq"]
|
||||||
|
|
||||||
@@ -1,19 +1,19 @@
|
|||||||
extends Node2D
|
extends CanvasLayer
|
||||||
|
|
||||||
|
|
||||||
# Called when the node enters the scene tree for the first time.
|
# Called when the node enters the scene tree for the first time.
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
func _process(delta: float) -> void:
|
func _process(delta: float) -> void:
|
||||||
pass
|
if !get_tree().paused or Input.is_action_just_pressed("pause"):
|
||||||
|
queue_free()
|
||||||
|
get_tree().paused = false
|
||||||
|
|
||||||
func _on_button_pressed() -> void:
|
func _on_button_pressed() -> void:
|
||||||
$".".queue_free()
|
|
||||||
get_tree().paused = false
|
get_tree().paused = false
|
||||||
|
queue_free()
|
||||||
|
|
||||||
func _on_button_2_pressed() -> void:
|
func _on_button_2_pressed() -> void:
|
||||||
get_tree().quit()
|
get_tree().quit()
|
||||||
File renamed without changes.
@@ -1,42 +1,41 @@
|
|||||||
[gd_scene format=3 uid="uid://0qbm646wkcl2"]
|
[gd_scene format=3 uid="uid://0qbm646wkcl2"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://duogtg7hc30a6" path="res://pause_screen.gd" id="1_qeunj"]
|
[ext_resource type="Script" uid="uid://duogtg7hc30a6" path="res://scenes/helpers/pause_screen.gd" id="1_ugr0d"]
|
||||||
[ext_resource type="FontFile" uid="uid://dkytywan8eapf" path="res://assets/fonts/PixelOperator8.ttf" id="2_hr2n2"]
|
[ext_resource type="FontFile" uid="uid://dkytywan8eapf" path="res://assets/fonts/PixelOperator8.ttf" id="2_m8jjm"]
|
||||||
|
|
||||||
[node name="pause_screen" type="Node2D" unique_id=1046560820 groups=["pause_scene"]]
|
[node name="pause_screen" type="CanvasLayer" unique_id=2146455338 groups=["pause_scene"]]
|
||||||
script = ExtResource("1_qeunj")
|
process_mode = 2
|
||||||
|
script = ExtResource("1_ugr0d")
|
||||||
|
|
||||||
[node name="ColorRect" type="ColorRect" parent="." unique_id=1229507916]
|
[node name="ColorRect" type="ColorRect" parent="." unique_id=1229507916]
|
||||||
offset_left = -1132.0
|
offset_right = 2000.0
|
||||||
offset_top = -543.0
|
offset_bottom = 1000.0
|
||||||
offset_right = 1040.0
|
|
||||||
offset_bottom = 593.0
|
|
||||||
color = Color(0, 0.7254902, 0, 0.28235295)
|
color = Color(0, 0.7254902, 0, 0.28235295)
|
||||||
|
|
||||||
[node name="Label" type="Label" parent="." unique_id=220159306]
|
[node name="Label" type="Label" parent="." unique_id=220159306]
|
||||||
offset_left = -591.0
|
offset_left = 451.0
|
||||||
offset_top = -336.0
|
offset_top = 236.0
|
||||||
offset_right = 459.0
|
offset_right = 1501.0
|
||||||
offset_bottom = -136.0
|
offset_bottom = 436.0
|
||||||
theme_override_fonts/font = ExtResource("2_hr2n2")
|
theme_override_fonts/font = ExtResource("2_m8jjm")
|
||||||
theme_override_font_sizes/font_size = 200
|
theme_override_font_sizes/font_size = 200
|
||||||
text = "Paused"
|
text = "Paused"
|
||||||
|
|
||||||
[node name="Button" type="Button" parent="." unique_id=1467636182]
|
[node name="Button" type="Button" parent="." unique_id=1467636182]
|
||||||
offset_left = -341.0
|
offset_left = 701.0
|
||||||
offset_top = -55.0
|
offset_top = 517.0
|
||||||
offset_right = 217.0
|
offset_right = 1259.0
|
||||||
offset_bottom = 54.0
|
offset_bottom = 626.0
|
||||||
theme_override_fonts/font = ExtResource("2_hr2n2")
|
theme_override_fonts/font = ExtResource("2_m8jjm")
|
||||||
theme_override_font_sizes/font_size = 100
|
theme_override_font_sizes/font_size = 100
|
||||||
text = "resume"
|
text = "resume"
|
||||||
|
|
||||||
[node name="Button2" type="Button" parent="." unique_id=814575465]
|
[node name="Button2" type="Button" parent="." unique_id=814575465]
|
||||||
offset_left = -329.0
|
offset_left = 713.0
|
||||||
offset_top = 122.0
|
offset_top = 694.0
|
||||||
offset_right = 229.0
|
offset_right = 1271.0
|
||||||
offset_bottom = 231.0
|
offset_bottom = 803.0
|
||||||
theme_override_fonts/font = ExtResource("2_hr2n2")
|
theme_override_fonts/font = ExtResource("2_m8jjm")
|
||||||
theme_override_font_sizes/font_size = 100
|
theme_override_font_sizes/font_size = 100
|
||||||
text = "quit"
|
text = "quit"
|
||||||
|
|
||||||
File renamed without changes.
File renamed without changes.
@@ -1,6 +1,6 @@
|
|||||||
[gd_scene format=3 uid="uid://b6n7uq6bhkwo3"]
|
[gd_scene format=3 uid="uid://b6n7uq6bhkwo3"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://bnlmy8hecbg5c" path="res://scenes/speech.gd" id="1_j5wli"]
|
[ext_resource type="Script" uid="uid://bnlmy8hecbg5c" path="res://scenes/helpers/speech.gd" id="1_j5wli"]
|
||||||
|
|
||||||
[node name="Speech" type="CanvasLayer" unique_id=747748325]
|
[node name="Speech" type="CanvasLayer" unique_id=747748325]
|
||||||
script = ExtResource("1_j5wli")
|
script = ExtResource("1_j5wli")
|
||||||
@@ -12,4 +12,4 @@ func _process(delta: float) -> void:
|
|||||||
|
|
||||||
|
|
||||||
func _on_button_pressed() -> void:
|
func _on_button_pressed() -> void:
|
||||||
get_tree().change_scene_to_file("res://scenes/levels/level%s.tscn" % GloblaData.level)
|
get_tree().change_scene_to_file("res://scenes/levels/level%s.tscn" % GlobalData.level)
|
||||||
File renamed without changes.
@@ -1,7 +1,7 @@
|
|||||||
[gd_scene format=3 uid="uid://btktv5aqpafau"]
|
[gd_scene format=3 uid="uid://btktv5aqpafau"]
|
||||||
|
|
||||||
[ext_resource type="FontFile" uid="uid://dkytywan8eapf" path="res://assets/fonts/PixelOperator8.ttf" id="1_4ignj"]
|
[ext_resource type="FontFile" uid="uid://dkytywan8eapf" path="res://assets/fonts/PixelOperator8.ttf" id="1_4ignj"]
|
||||||
[ext_resource type="Script" uid="uid://dcbdrv8y15dtu" path="res://scenes/title.gd" id="1_wosw1"]
|
[ext_resource type="Script" uid="uid://dcbdrv8y15dtu" path="res://scenes/helpers/title.gd" id="1_wosw1"]
|
||||||
|
|
||||||
[node name="Title" type="Control" unique_id=715100706]
|
[node name="Title" type="Control" unique_id=715100706]
|
||||||
layout_mode = 3
|
layout_mode = 3
|
||||||
@@ -1,297 +0,0 @@
|
|||||||
[gd_scene format=3 uid="uid://cbqewrj171ilj"]
|
|
||||||
|
|
||||||
[ext_resource type="PackedScene" uid="uid://cmtdq6tedv1mm" path="res://scenes/player.tscn" id="1_3bmlt"]
|
|
||||||
[ext_resource type="Script" path="res://scenes/level_2.gd" id="1_jm1iu"]
|
|
||||||
[ext_resource type="PackedScene" uid="uid://c17txy4vh4wka" path="res://scenes/casset.tscn" id="3_pbc48"]
|
|
||||||
[ext_resource type="PackedScene" uid="uid://dxx6mxv6x5yws" path="res://scenes/enemy.tscn" id="4_eqxsl"]
|
|
||||||
|
|
||||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_aqe1g"]
|
|
||||||
size = Vector2(3717.5, 151.5)
|
|
||||||
|
|
||||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_yg5ta"]
|
|
||||||
size = Vector2(2563, 123)
|
|
||||||
|
|
||||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_e270b"]
|
|
||||||
size = Vector2(792, 124.5)
|
|
||||||
|
|
||||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_xfo6b"]
|
|
||||||
size = Vector2(276, 125.5)
|
|
||||||
|
|
||||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_bytyy"]
|
|
||||||
size = Vector2(18.375, 104)
|
|
||||||
|
|
||||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0u1u7"]
|
|
||||||
size = Vector2(408, 61)
|
|
||||||
|
|
||||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4pwya"]
|
|
||||||
size = Vector2(1181, 143)
|
|
||||||
|
|
||||||
[node name="level2" type="Node2D" unique_id=1987596250]
|
|
||||||
script = ExtResource("1_jm1iu")
|
|
||||||
|
|
||||||
[node name="ground" type="Control" parent="." unique_id=1187971469]
|
|
||||||
layout_mode = 3
|
|
||||||
anchors_preset = 0
|
|
||||||
offset_right = 40.0
|
|
||||||
offset_bottom = 40.0
|
|
||||||
|
|
||||||
[node name="ColorRect" type="ColorRect" parent="ground" unique_id=426446834]
|
|
||||||
layout_mode = 0
|
|
||||||
offset_left = 8.0
|
|
||||||
offset_top = 865.0
|
|
||||||
offset_right = 3721.0
|
|
||||||
offset_bottom = 989.0
|
|
||||||
color = Color(0, 0.23529412, 0, 1)
|
|
||||||
|
|
||||||
[node name="ColorRect2" type="ColorRect" parent="ground" unique_id=1158203769]
|
|
||||||
layout_mode = 0
|
|
||||||
offset_left = 876.0
|
|
||||||
offset_top = 423.0
|
|
||||||
offset_right = 1668.0
|
|
||||||
offset_bottom = 547.0
|
|
||||||
color = Color(0, 0.23529412, 0, 1)
|
|
||||||
|
|
||||||
[node name="ColorRect3" type="ColorRect" parent="ground" unique_id=1987598295]
|
|
||||||
layout_mode = 0
|
|
||||||
offset_left = 1793.0
|
|
||||||
offset_top = 153.0
|
|
||||||
offset_right = 2070.0
|
|
||||||
offset_bottom = 277.0
|
|
||||||
color = Color(0, 0.23529412, 0, 1)
|
|
||||||
|
|
||||||
[node name="ColorRect4" type="ColorRect" parent="ground" unique_id=1231325246]
|
|
||||||
layout_mode = 0
|
|
||||||
offset_left = 2310.0
|
|
||||||
offset_top = 148.0
|
|
||||||
offset_right = 2365.0
|
|
||||||
offset_bottom = 272.0
|
|
||||||
color = Color(0, 0.23529412, 0, 1)
|
|
||||||
|
|
||||||
[node name="ColorRect6" type="ColorRect" parent="ground" unique_id=1323417565]
|
|
||||||
layout_mode = 0
|
|
||||||
offset_left = 2599.0
|
|
||||||
offset_top = -105.0
|
|
||||||
offset_right = 2654.0
|
|
||||||
offset_bottom = 19.0
|
|
||||||
color = Color(0, 0.23529412, 0, 1)
|
|
||||||
|
|
||||||
[node name="ColorRect7" type="ColorRect" parent="ground" unique_id=873117911]
|
|
||||||
layout_mode = 0
|
|
||||||
offset_left = 2848.0
|
|
||||||
offset_top = -275.0
|
|
||||||
offset_right = 2903.0
|
|
||||||
offset_bottom = -151.0
|
|
||||||
color = Color(0, 0.23529412, 0, 1)
|
|
||||||
|
|
||||||
[node name="ColorRect8" type="ColorRect" parent="ground" unique_id=862512216]
|
|
||||||
layout_mode = 0
|
|
||||||
offset_left = 3111.0
|
|
||||||
offset_top = -518.0
|
|
||||||
offset_right = 3166.0
|
|
||||||
offset_bottom = -394.0
|
|
||||||
color = Color(0, 0.23529412, 0, 1)
|
|
||||||
|
|
||||||
[node name="ColorRect9" type="ColorRect" parent="ground" unique_id=1225478351]
|
|
||||||
layout_mode = 0
|
|
||||||
offset_left = 3373.0
|
|
||||||
offset_top = -757.0
|
|
||||||
offset_right = 3428.0
|
|
||||||
offset_bottom = -633.0
|
|
||||||
color = Color(0, 0.23529412, 0, 1)
|
|
||||||
|
|
||||||
[node name="ColorRect10" type="ColorRect" parent="ground" unique_id=1618640032]
|
|
||||||
layout_mode = 0
|
|
||||||
offset_left = 2571.0
|
|
||||||
offset_top = -1347.0
|
|
||||||
offset_right = 2626.0
|
|
||||||
offset_bottom = -1223.0
|
|
||||||
color = Color(0, 0.23529412, 0, 1)
|
|
||||||
|
|
||||||
[node name="ColorRect11" type="ColorRect" parent="ground" unique_id=152893570]
|
|
||||||
layout_mode = 0
|
|
||||||
offset_left = 2302.0
|
|
||||||
offset_top = -1630.0
|
|
||||||
offset_right = 2357.0
|
|
||||||
offset_bottom = -1506.0
|
|
||||||
color = Color(0, 0.23529412, 0, 1)
|
|
||||||
|
|
||||||
[node name="ColorRect12" type="ColorRect" parent="ground" unique_id=1937003888]
|
|
||||||
layout_mode = 0
|
|
||||||
offset_left = 1825.0
|
|
||||||
offset_top = -1796.0
|
|
||||||
offset_right = 1880.0
|
|
||||||
offset_bottom = -1672.0
|
|
||||||
color = Color(0, 0.23529412, 0, 1)
|
|
||||||
|
|
||||||
[node name="ColorRect13" type="ColorRect" parent="ground" unique_id=794448806]
|
|
||||||
layout_mode = 0
|
|
||||||
offset_left = 2987.0
|
|
||||||
offset_top = -1111.0
|
|
||||||
offset_right = 3042.0
|
|
||||||
offset_bottom = -987.0
|
|
||||||
color = Color(0, 0.23529412, 0, 1)
|
|
||||||
|
|
||||||
[node name="ColorRect5" type="ColorRect" parent="ground" unique_id=569891626]
|
|
||||||
layout_mode = 0
|
|
||||||
offset_left = 3720.0
|
|
||||||
offset_top = 741.0
|
|
||||||
offset_right = 6289.0
|
|
||||||
offset_bottom = 865.0
|
|
||||||
color = Color(0, 0.23529412, 0, 1)
|
|
||||||
|
|
||||||
[node name="ColorRect14" type="ColorRect" parent="ground" unique_id=888007918]
|
|
||||||
layout_mode = 0
|
|
||||||
offset_left = 1037.0
|
|
||||||
offset_top = -1764.0
|
|
||||||
offset_right = 1442.0
|
|
||||||
offset_bottom = -1701.0
|
|
||||||
color = Color(0, 0.23529412, 0, 1)
|
|
||||||
|
|
||||||
[node name="ColorRect15" type="ColorRect" parent="ground" unique_id=439885816]
|
|
||||||
layout_mode = 0
|
|
||||||
offset_left = 6399.0
|
|
||||||
offset_top = 751.0
|
|
||||||
offset_right = 6417.0
|
|
||||||
offset_bottom = 855.0
|
|
||||||
color = Color(1.3897754e-06, 0.32097825, 1.4439226e-07, 1)
|
|
||||||
|
|
||||||
[node name="ColorRect16" type="ColorRect" parent="ground" unique_id=1423398203]
|
|
||||||
layout_mode = 0
|
|
||||||
offset_left = 7319.0
|
|
||||||
offset_top = 764.0
|
|
||||||
offset_right = 7337.0
|
|
||||||
offset_bottom = 868.0
|
|
||||||
color = Color(1.3897754e-06, 0.32097825, 1.4439226e-07, 1)
|
|
||||||
|
|
||||||
[node name="ColorRect17" type="ColorRect" parent="ground" unique_id=822568619]
|
|
||||||
layout_mode = 0
|
|
||||||
offset_left = 8318.0
|
|
||||||
offset_top = 768.0
|
|
||||||
offset_right = 8336.0
|
|
||||||
offset_bottom = 872.0
|
|
||||||
color = Color(1.3897754e-06, 0.32097825, 1.4439226e-07, 1)
|
|
||||||
|
|
||||||
[node name="ColorRect18" type="ColorRect" parent="ground" unique_id=1414623501]
|
|
||||||
layout_mode = 0
|
|
||||||
offset_left = 8935.0
|
|
||||||
offset_top = 447.0
|
|
||||||
offset_right = 8953.0
|
|
||||||
offset_bottom = 551.0
|
|
||||||
color = Color(1.3897754e-06, 0.32097825, 1.4439226e-07, 1)
|
|
||||||
|
|
||||||
[node name="ColorRect19" type="ColorRect" parent="ground" unique_id=462353603]
|
|
||||||
layout_mode = 0
|
|
||||||
offset_left = 9677.0
|
|
||||||
offset_top = 785.0
|
|
||||||
offset_right = 9695.0
|
|
||||||
offset_bottom = 889.0
|
|
||||||
color = Color(1.3897754e-06, 0.32097825, 1.4439226e-07, 1)
|
|
||||||
|
|
||||||
[node name="ColorRect20" type="ColorRect" parent="ground" unique_id=1710073146]
|
|
||||||
layout_mode = 0
|
|
||||||
offset_left = 10379.0
|
|
||||||
offset_top = 536.0
|
|
||||||
offset_right = 11559.0
|
|
||||||
offset_bottom = 679.0
|
|
||||||
color = Color(1.0648929e-06, 0.3122861, 1.4439226e-07, 1)
|
|
||||||
|
|
||||||
[node name="StaticBody2D" type="StaticBody2D" parent="." unique_id=471962104]
|
|
||||||
collision_layer = 2
|
|
||||||
collision_mask = 5
|
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D" unique_id=1096663356]
|
|
||||||
position = Vector2(1865.25, 940.75)
|
|
||||||
shape = SubResource("RectangleShape2D_aqe1g")
|
|
||||||
|
|
||||||
[node name="CollisionShape2D2" type="CollisionShape2D" parent="StaticBody2D" unique_id=192572670]
|
|
||||||
position = Vector2(5003.5, 802.5)
|
|
||||||
shape = SubResource("RectangleShape2D_yg5ta")
|
|
||||||
|
|
||||||
[node name="CollisionShape2D3" type="CollisionShape2D" parent="StaticBody2D" unique_id=896122242]
|
|
||||||
position = Vector2(1272, 484.75)
|
|
||||||
shape = SubResource("RectangleShape2D_e270b")
|
|
||||||
|
|
||||||
[node name="CollisionShape2D4" type="CollisionShape2D" parent="StaticBody2D" unique_id=1698934541]
|
|
||||||
position = Vector2(1931, 215.25)
|
|
||||||
shape = SubResource("RectangleShape2D_xfo6b")
|
|
||||||
|
|
||||||
[node name="CollisionShape2D5" type="CollisionShape2D" parent="StaticBody2D" unique_id=935128976]
|
|
||||||
position = Vector2(2627, -45)
|
|
||||||
shape = SubResource("RectangleShape2D_bytyy")
|
|
||||||
|
|
||||||
[node name="CollisionShape2D6" type="CollisionShape2D" parent="StaticBody2D" unique_id=318025194]
|
|
||||||
position = Vector2(2875, -211)
|
|
||||||
shape = SubResource("RectangleShape2D_bytyy")
|
|
||||||
|
|
||||||
[node name="CollisionShape2D7" type="CollisionShape2D" parent="StaticBody2D" unique_id=682345200]
|
|
||||||
position = Vector2(3139, -455)
|
|
||||||
shape = SubResource("RectangleShape2D_bytyy")
|
|
||||||
|
|
||||||
[node name="CollisionShape2D8" type="CollisionShape2D" parent="StaticBody2D" unique_id=1733527828]
|
|
||||||
position = Vector2(3401, -693)
|
|
||||||
shape = SubResource("RectangleShape2D_bytyy")
|
|
||||||
|
|
||||||
[node name="CollisionShape2D9" type="CollisionShape2D" parent="StaticBody2D" unique_id=1517783979]
|
|
||||||
position = Vector2(3014, -1047)
|
|
||||||
shape = SubResource("RectangleShape2D_bytyy")
|
|
||||||
|
|
||||||
[node name="CollisionShape2D15" type="CollisionShape2D" parent="StaticBody2D" unique_id=1860761884]
|
|
||||||
position = Vector2(6408.8125, 803)
|
|
||||||
shape = SubResource("RectangleShape2D_bytyy")
|
|
||||||
|
|
||||||
[node name="CollisionShape2D16" type="CollisionShape2D" parent="StaticBody2D" unique_id=1206239722]
|
|
||||||
position = Vector2(7328, 816)
|
|
||||||
shape = SubResource("RectangleShape2D_bytyy")
|
|
||||||
|
|
||||||
[node name="CollisionShape2D17" type="CollisionShape2D" parent="StaticBody2D" unique_id=701106868]
|
|
||||||
position = Vector2(8327, 820)
|
|
||||||
shape = SubResource("RectangleShape2D_bytyy")
|
|
||||||
|
|
||||||
[node name="CollisionShape2D18" type="CollisionShape2D" parent="StaticBody2D" unique_id=900902997]
|
|
||||||
position = Vector2(8944, 499)
|
|
||||||
shape = SubResource("RectangleShape2D_bytyy")
|
|
||||||
|
|
||||||
[node name="CollisionShape2D19" type="CollisionShape2D" parent="StaticBody2D" unique_id=201295496]
|
|
||||||
position = Vector2(9686, 837)
|
|
||||||
shape = SubResource("RectangleShape2D_bytyy")
|
|
||||||
|
|
||||||
[node name="CollisionShape2D10" type="CollisionShape2D" parent="StaticBody2D" unique_id=1408705032]
|
|
||||||
position = Vector2(2597, -1284)
|
|
||||||
shape = SubResource("RectangleShape2D_bytyy")
|
|
||||||
|
|
||||||
[node name="CollisionShape2D11" type="CollisionShape2D" parent="StaticBody2D" unique_id=1742288823]
|
|
||||||
position = Vector2(2328, -1566)
|
|
||||||
shape = SubResource("RectangleShape2D_bytyy")
|
|
||||||
|
|
||||||
[node name="CollisionShape2D12" type="CollisionShape2D" parent="StaticBody2D" unique_id=1088108625]
|
|
||||||
position = Vector2(1852, -1732)
|
|
||||||
shape = SubResource("RectangleShape2D_bytyy")
|
|
||||||
|
|
||||||
[node name="CollisionShape2D13" type="CollisionShape2D" parent="StaticBody2D" unique_id=912985229]
|
|
||||||
position = Vector2(2337.625, 210)
|
|
||||||
shape = SubResource("RectangleShape2D_bytyy")
|
|
||||||
|
|
||||||
[node name="CollisionShape2D14" type="CollisionShape2D" parent="StaticBody2D" unique_id=1242493128]
|
|
||||||
position = Vector2(1240, -1733.5)
|
|
||||||
shape = SubResource("RectangleShape2D_0u1u7")
|
|
||||||
|
|
||||||
[node name="CollisionShape2D20" type="CollisionShape2D" parent="StaticBody2D" unique_id=1247256848]
|
|
||||||
position = Vector2(10969.5, 608.5)
|
|
||||||
shape = SubResource("RectangleShape2D_4pwya")
|
|
||||||
|
|
||||||
[node name="player" parent="." unique_id=1596338883 instance=ExtResource("1_3bmlt")]
|
|
||||||
|
|
||||||
[node name="casset" parent="." unique_id=918954585 instance=ExtResource("3_pbc48")]
|
|
||||||
position = Vector2(1196, -1831)
|
|
||||||
|
|
||||||
[node name="casset2" parent="." unique_id=46718020 instance=ExtResource("3_pbc48")]
|
|
||||||
position = Vector2(8923, 371)
|
|
||||||
|
|
||||||
[node name="enemy" parent="." unique_id=1471932521 instance=ExtResource("4_eqxsl")]
|
|
||||||
position = Vector2(1162, 192)
|
|
||||||
|
|
||||||
[node name="enemy2" parent="." unique_id=1537388686 instance=ExtResource("4_eqxsl")]
|
|
||||||
position = Vector2(2368, 673)
|
|
||||||
|
|
||||||
[node name="enemy3" parent="." unique_id=972117821 instance=ExtResource("4_eqxsl")]
|
|
||||||
position = Vector2(4869, 518)
|
|
||||||
@@ -0,0 +1,90 @@
|
|||||||
|
[gd_scene format=3 uid="uid://bjg48bhcju2"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" uid="uid://bnd0xf3ehfhsf" path="res://scenes/levels/base_level.gd" id="1_bw12j"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://cmtdq6tedv1mm" path="res://scenes/core/player.tscn" id="1_dew7u"]
|
||||||
|
[ext_resource type="TileSet" uid="uid://5ba7b2qpwevo" path="res://assets/tiles/city.tres" id="2_yrvjx"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://d4d36l4cv2asv" path="res://assets/tiles/cyberpunk-market-street-pixel-art/2 Background/Day/2.png" id="3_bw12j"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://c7sl7yd4751ll" path="res://assets/tiles/cyberpunk-market-street-pixel-art/2 Background/Day/3.png" id="4_27gwi"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://dg8d1t4ufpwed" path="res://assets/tiles/cyberpunk-market-street-pixel-art/2 Background/Day/5.png" id="5_sytrn"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://dxx6mxv6x5yws" path="res://scenes/core/enemy.tscn" id="6_meh8o"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://dmur5aswibpg2" path="res://assets/tiles/cyberpunk-market-street-pixel-art/2 Background/Day/1.png" id="6_yrvjx"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://c17txy4vh4wka" path="res://scenes/core/cassette.tscn" id="7_kj3bt"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://cplmcsbr2yajw" path="res://scenes/core/phonebooth.tscn" id="8_ldasf"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://b6n7uq6bhkwo3" path="res://scenes/helpers/speech.tscn" id="9_xybdn"]
|
||||||
|
|
||||||
|
[node name="BaseLevel" type="Node2D" unique_id=2017584106]
|
||||||
|
script = ExtResource("1_bw12j")
|
||||||
|
|
||||||
|
[node name="player" parent="." unique_id=1596338883 instance=ExtResource("1_dew7u")]
|
||||||
|
z_index = 1
|
||||||
|
position = Vector2(45, -143)
|
||||||
|
|
||||||
|
[node name="Visuals" type="Node" parent="." unique_id=1902043438]
|
||||||
|
|
||||||
|
[node name="TileMapLayer" type="TileMapLayer" parent="Visuals" unique_id=1408843058]
|
||||||
|
z_index = -1
|
||||||
|
tile_set = ExtResource("2_yrvjx")
|
||||||
|
use_kinematic_bodies = true
|
||||||
|
|
||||||
|
[node name="Parallax2D" type="Parallax2D" parent="Visuals" unique_id=1330940116]
|
||||||
|
scroll_scale = Vector2(0.95, 0.95)
|
||||||
|
scroll_offset = Vector2(0.1, 0)
|
||||||
|
repeat_size = Vector2(1364, 0)
|
||||||
|
repeat_times = 4
|
||||||
|
|
||||||
|
[node name="Sprite2D" type="Sprite2D" parent="Visuals/Parallax2D" unique_id=105768784]
|
||||||
|
z_index = -2
|
||||||
|
position = Vector2(2050.8003, -331)
|
||||||
|
scale = Vector2(2.368827, 2.368827)
|
||||||
|
texture = ExtResource("3_bw12j")
|
||||||
|
|
||||||
|
[node name="Parallax2D2" type="Parallax2D" parent="Visuals" unique_id=1561997771]
|
||||||
|
scroll_scale = Vector2(0.9, 0.9)
|
||||||
|
scroll_offset = Vector2(0.1, 0)
|
||||||
|
repeat_size = Vector2(1364, 0)
|
||||||
|
repeat_times = 4
|
||||||
|
|
||||||
|
[node name="Sprite2D" type="Sprite2D" parent="Visuals/Parallax2D2" unique_id=157441330]
|
||||||
|
z_index = -2
|
||||||
|
position = Vector2(2048.8, -211)
|
||||||
|
scale = Vector2(2.368827, 2.368827)
|
||||||
|
texture = ExtResource("4_27gwi")
|
||||||
|
|
||||||
|
[node name="Parallax2D4" type="Parallax2D" parent="Visuals" unique_id=462006589]
|
||||||
|
scroll_scale = Vector2(0.85, 0.85)
|
||||||
|
scroll_offset = Vector2(0.1, 0)
|
||||||
|
repeat_size = Vector2(1364, 0)
|
||||||
|
repeat_times = 4
|
||||||
|
|
||||||
|
[node name="Sprite2D" type="Sprite2D" parent="Visuals/Parallax2D4" unique_id=480285337]
|
||||||
|
z_index = -2
|
||||||
|
position = Vector2(2047.8, -202.00003)
|
||||||
|
scale = Vector2(2.368827, 2.368827)
|
||||||
|
texture = ExtResource("5_sytrn")
|
||||||
|
|
||||||
|
[node name="Background" type="CanvasLayer" parent="Visuals" unique_id=217700382]
|
||||||
|
layer = -1
|
||||||
|
|
||||||
|
[node name="Sprite2D" type="Sprite2D" parent="Visuals/Background" unique_id=109663734]
|
||||||
|
z_index = -4
|
||||||
|
position = Vector2(1009, 569)
|
||||||
|
scale = Vector2(3.509259, 3.5092592)
|
||||||
|
texture = ExtResource("6_yrvjx")
|
||||||
|
|
||||||
|
[node name="Enimies" type="Node" parent="." unique_id=317742684]
|
||||||
|
|
||||||
|
[node name="enemy" parent="Enimies" unique_id=1471932521 instance=ExtResource("6_meh8o")]
|
||||||
|
position = Vector2(413, -189)
|
||||||
|
|
||||||
|
[node name="Cassettes" type="Node" parent="." unique_id=257762099]
|
||||||
|
|
||||||
|
[node name="cassette" parent="Cassettes" unique_id=918954585 groups=["Cassets"] instance=ExtResource("7_kj3bt")]
|
||||||
|
z_index = 1
|
||||||
|
position = Vector2(268, -57)
|
||||||
|
|
||||||
|
[node name="Helpers" type="Node" parent="." unique_id=889215465]
|
||||||
|
|
||||||
|
[node name="Phonebooth" parent="Helpers" unique_id=1406086177 instance=ExtResource("8_ldasf")]
|
||||||
|
position = Vector2(741, -168)
|
||||||
|
|
||||||
|
[node name="Speech" parent="Helpers" unique_id=747748325 instance=ExtResource("9_xybdn")]
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
extends Node2D
|
||||||
|
|
||||||
|
|
||||||
|
@onready var pause = preload("res://scenes/helpers/pause_screen.tscn")
|
||||||
|
|
||||||
|
func _ready() -> void:
|
||||||
|
pass # Replace with function body.
|
||||||
|
|
||||||
|
func _process(delta: float) -> void:
|
||||||
|
if Input.is_action_just_pressed("pause"):
|
||||||
|
toggle_paused()
|
||||||
|
|
||||||
|
func toggle_paused():
|
||||||
|
if get_tree().paused:
|
||||||
|
get_tree().paused = false
|
||||||
|
else:
|
||||||
|
var instace = pause.instantiate()
|
||||||
|
get_tree().root.add_child(instace)
|
||||||
|
get_tree().paused = true
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
uid://bnd0xf3ehfhsf
|
||||||
@@ -1,76 +0,0 @@
|
|||||||
[gd_scene format=3 uid="uid://byyncg030v5uf"]
|
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://cogpyoqdfygvg" path="res://scenes/levels/level_1.gd" id="1_bfxgj"]
|
|
||||||
[ext_resource type="PackedScene" uid="uid://cmtdq6tedv1mm" path="res://scenes/player.tscn" id="1_dd0lh"]
|
|
||||||
[ext_resource type="PackedScene" uid="uid://dxx6mxv6x5yws" path="res://scenes/enemy.tscn" id="2_bfxgj"]
|
|
||||||
[ext_resource type="PackedScene" uid="uid://c17txy4vh4wka" path="res://scenes/casset.tscn" id="3_dywbp"]
|
|
||||||
[ext_resource type="PackedScene" uid="uid://cplmcsbr2yajw" path="res://scenes/phonebooth.tscn" id="5_dywbp"]
|
|
||||||
|
|
||||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_aqe1g"]
|
|
||||||
size = Vector2(6598.25, 171)
|
|
||||||
|
|
||||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_yg5ta"]
|
|
||||||
size = Vector2(787, 135)
|
|
||||||
|
|
||||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_e270b"]
|
|
||||||
size = Vector2(341, 630)
|
|
||||||
|
|
||||||
[node name="Level1" type="Node2D" unique_id=872996404]
|
|
||||||
script = ExtResource("1_bfxgj")
|
|
||||||
|
|
||||||
[node name="ColorRect" type="ColorRect" parent="." unique_id=875566885]
|
|
||||||
offset_top = 269.0
|
|
||||||
offset_right = 6588.0
|
|
||||||
offset_bottom = 368.0
|
|
||||||
color = Color(0, 0.39215687, 0, 1)
|
|
||||||
|
|
||||||
[node name="ColorRect2" type="ColorRect" parent="." unique_id=170644068]
|
|
||||||
offset_left = 1250.0
|
|
||||||
offset_top = -129.0
|
|
||||||
offset_right = 2039.0
|
|
||||||
offset_bottom = 6.0
|
|
||||||
color = Color(0, 0.39215687, 0, 1)
|
|
||||||
|
|
||||||
[node name="ColorRect3" type="ColorRect" parent="." unique_id=1127267083]
|
|
||||||
offset_top = 269.0
|
|
||||||
offset_right = 4761.0
|
|
||||||
offset_bottom = 368.0
|
|
||||||
color = Color(0, 0.39215687, 0, 1)
|
|
||||||
|
|
||||||
[node name="ColorRect4" type="ColorRect" parent="." unique_id=1994208535]
|
|
||||||
offset_left = 4215.0
|
|
||||||
offset_top = -358.0
|
|
||||||
offset_right = 4563.0
|
|
||||||
offset_bottom = 267.0
|
|
||||||
color = Color(0, 0.39215687, 0, 1)
|
|
||||||
|
|
||||||
[node name="enemy" parent="." unique_id=1471932521 instance=ExtResource("2_bfxgj")]
|
|
||||||
position = Vector2(1304, -293)
|
|
||||||
|
|
||||||
[node name="enemy2" parent="." unique_id=631693255 instance=ExtResource("2_bfxgj")]
|
|
||||||
position = Vector2(3028, 91)
|
|
||||||
|
|
||||||
[node name="casset" parent="." unique_id=918954585 instance=ExtResource("3_dywbp")]
|
|
||||||
position = Vector2(4342, -430)
|
|
||||||
|
|
||||||
[node name="StaticBody2D" type="StaticBody2D" parent="." unique_id=1033326926]
|
|
||||||
collision_layer = 2
|
|
||||||
collision_mask = 5
|
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D" unique_id=2093286666]
|
|
||||||
position = Vector2(3292.875, 355)
|
|
||||||
shape = SubResource("RectangleShape2D_aqe1g")
|
|
||||||
|
|
||||||
[node name="CollisionShape2D2" type="CollisionShape2D" parent="StaticBody2D" unique_id=162193919]
|
|
||||||
position = Vector2(1644.5, -61.5)
|
|
||||||
shape = SubResource("RectangleShape2D_yg5ta")
|
|
||||||
|
|
||||||
[node name="CollisionShape2D3" type="CollisionShape2D" parent="StaticBody2D" unique_id=837904529]
|
|
||||||
position = Vector2(4385.5, -42)
|
|
||||||
shape = SubResource("RectangleShape2D_e270b")
|
|
||||||
|
|
||||||
[node name="Phonebooth" parent="." unique_id=1406086177 instance=ExtResource("5_dywbp")]
|
|
||||||
position = Vector2(6498, 150)
|
|
||||||
|
|
||||||
[node name="player" parent="." unique_id=1596338883 instance=ExtResource("1_dd0lh")]
|
|
||||||
position = Vector2(2605, 112)
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
extends Node2D
|
|
||||||
|
|
||||||
|
|
||||||
@onready var phonephreak = preload("res://scenes/puzzles/phonephreak.tscn")
|
|
||||||
|
|
||||||
|
|
||||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
||||||
func _process(delta: float) -> void:
|
|
||||||
pass
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
uid://cogpyoqdfygvg
|
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
[gd_scene format=4 uid="uid://dt8htwdfrlsah"]
|
||||||
|
|
||||||
|
[ext_resource type="PackedScene" uid="uid://bjg48bhcju2" path="res://scenes/levels/base-level.tscn" id="1_ksju7"]
|
||||||
|
|
||||||
|
[node name="BaseLevel" unique_id=2017584106 instance=ExtResource("1_ksju7")]
|
||||||
|
|
||||||
|
[node name="player" parent="." index="0" unique_id=1596338883]
|
||||||
|
position = Vector2(42, -113)
|
||||||
|
|
||||||
|
[node name="TileMapLayer" parent="Visuals" parent_id_path=PackedInt32Array(1902043438) index="0" unique_id=1408843058]
|
||||||
|
tile_map_data = PackedByteArray("AABHABgAAAAEAAQAAABHABcAAAAFAAAAAABHABYAAAACAAMAAABHABUAAAAFAAAAAABHABQAAAACAAMAAABHABMAAAAFAAAAAABHABIAAAAFAAAAAABHABEAAAAFAAAAAABHABAAAAACAAMAAABHAA8AAAAFAAAAAABHAA4AAAACAAMAAABHAA0AAAAFAAAAAABHAAwAAAAFAAAAAABHAAsAAAAFAAAAAABHAAoAAAACAAMAAABHAAkAAAAFAAAAAABHAAgAAAACAAMAAABHAAcAAAACAAMAAABHAAYAAAACAAMAAABHAAUAAAAFAAAAAABHAAQAAAACAAMAAABHAAMAAAAFAAAAAABHAAIAAAAFAAAAAABHAAEAAAAFAAAAAABHAAAAAAABAAEAAABGABgAAAACAAQAAABGABcAAAAAAAMAAABGABYAAAABAAMAAABGABUAAAABAAMAAABGABQAAAAAAAMAAABGABMAAAABAAMAAABGABIAAAABAAMAAABGABEAAAABAAMAAABGABAAAAAAAAMAAABGAA8AAAABAAMAAABGAA4AAAABAAMAAABGAA0AAAAAAAMAAABGAAwAAAACAAEAAABGAAsAAAABAAMAAABGAAoAAAABAAMAAABGAAkAAAAAAAMAAABGAAgAAAABAAMAAABGAAcAAAAAAAMAAABGAAYAAAAAAAMAAABGAAUAAAACAAEAAABGAAQAAAAAAAMAAABGAAMAAAABAAMAAABGAAIAAAABAAMAAABGAAEAAAAAAAMAAABGAAAAAAAAAAEAAABFABgAAAADAAQAAABFABcAAAAAAAMAAABFABYAAAABAAMAAABFABUAAAABAAMAAABFABQAAAABAAMAAABFABMAAAAAAAMAAABFABIAAAABAAMAAABFABEAAAABAAMAAABFABAAAAAAAAMAAABFAA8AAAABAAMAAABFAA4AAAABAAMAAABFAA0AAAABAAMAAABFAAwAAAABAAMAAABFAAsAAAAAAAMAAABFAAoAAAAAAAMAAABFAAkAAAABAAMAAABFAAgAAAABAAMAAABFAAcAAAAAAAMAAABFAAYAAAAAAAMAAABFAAUAAAAAAAMAAABFAAQAAAAAAAMAAABFAAMAAAAAAAMAAABFAAIAAAABAAMAAABFAAEAAAAAAAMAAABFAAAAAAAAAAEAAABEABgAAAADAAQAAABEABcAAAAAAAMAAABEABYAAAAAAAMAAABEABUAAAAAAAMAAABEABQAAAABAAMAAABEABMAAAACAAAAAABEABIAAAABAAMAAABEABEAAAACAAEAAABEABAAAAAAAAMAAABEAA8AAAAAAAMAAABEAA4AAAAAAAMAAABEAA0AAAAAAAMAAABEAAwAAAAAAAMAAABEAAsAAAABAAMAAABEAAoAAAAAAAMAAABEAAkAAAABAAMAAABEAAgAAAAAAAMAAABEAAcAAAACAAAAAABEAAYAAAAAAAMAAABEAAUAAAABAAMAAABEAAQAAAAAAAMAAABEAAMAAAAAAAMAAABEAAIAAAAAAAMAAABEAAEAAAABAAMAAABEAAAAAAABAAAAAABDABgAAAACAAQAAABDABcAAAAAAAMAAABDABYAAAAAAAMAAABDABUAAAABAAMAAABDABQAAAAAAAMAAABDABMAAAABAAMAAABDABIAAAACAAEAAABDABEAAAABAAMAAABDABAAAAABAAMAAABDAA8AAAABAAMAAABDAA4AAAAAAAMAAABDAA0AAAABAAMAAABDAAwAAAAAAAMAAABDAAsAAAABAAMAAABDAAoAAAABAAMAAABDAAkAAAAAAAMAAABDAAgAAAABAAMAAABDAAcAAAAAAAMAAABDAAYAAAAAAAMAAABDAAUAAAAAAAMAAABDAAQAAAAAAAMAAABDAAMAAAAAAAMAAABDAAIAAAABAAMAAABDAAEAAAAAAAMAAABDAAAAAAABAAAAAABCABgAAAACAAQAAABCABcAAAABAAMAAABCABYAAAABAAMAAABCABUAAAABAAMAAABCABQAAAABAAMAAABCABMAAAABAAMAAABCABIAAAABAAMAAABCABEAAAAAAAMAAABCABAAAAAAAAMAAABCAA8AAAABAAMAAABCAA4AAAAAAAMAAABCAA0AAAABAAMAAABCAAwAAAABAAMAAABCAAsAAAAAAAMAAABCAAoAAAABAAMAAABCAAkAAAAAAAMAAABCAAgAAAACAAAAAABCAAcAAAABAAMAAABCAAYAAAAAAAMAAABCAAUAAAAAAAMAAABCAAQAAAAAAAMAAABCAAMAAAAAAAMAAABCAAIAAAAAAAMAAABCAAEAAAABAAMAAABCAAAAAAABAAAAAABBABgAAAADAAQAAABBABcAAAABAAMAAABBABYAAAAAAAMAAABBABUAAAABAAMAAABBABQAAAABAAMAAABBABMAAAABAAMAAABBABIAAAAAAAMAAABBABEAAAACAAAAAABBABAAAAAAAAMAAABBAA8AAAABAAMAAABBAA4AAAACAAEAAABBAA0AAAAAAAMAAABBAAwAAAACAAEAAABBAAsAAAABAAMAAABBAAoAAAAAAAMAAABBAAkAAAABAAMAAABBAAgAAAAAAAMAAABBAAcAAAAAAAMAAABBAAYAAAABAAMAAABBAAUAAAACAAAAAABBAAQAAAABAAMAAABBAAMAAAAAAAMAAABBAAIAAAAAAAMAAABBAAEAAAACAAAAAABBAAAAAAABAAAAAABAABgAAAACAAQAAABAABcAAAAAAAMAAABAABYAAAAAAAMAAABAABUAAAAAAAMAAABAABQAAAAAAAMAAABAABMAAAAAAAMAAABAABIAAAABAAMAAABAABEAAAABAAMAAABAABAAAAABAAMAAABAAA8AAAABAAMAAABAAA4AAAAAAAMAAABAAA0AAAAAAAMAAABAAAwAAAAAAAMAAABAAAsAAAABAAMAAABAAAoAAAAAAAMAAABAAAkAAAACAAEAAABAAAgAAAAAAAMAAABAAAcAAAABAAMAAABAAAYAAAABAAMAAABAAAUAAAABAAMAAABAAAQAAAABAAMAAABAAAMAAAAAAAMAAABAAAIAAAABAAMAAABAAAEAAAAAAAMAAABAAAAAAAABAAAAAAA/ABgAAAADAAQAAAA/ABcAAAAAAAMAAAA/ABYAAAAAAAMAAAA/ABUAAAAAAAMAAAA/ABQAAAAAAAMAAAA/ABMAAAACAAEAAAA/ABIAAAABAAMAAAA/ABEAAAAAAAMAAAA/ABAAAAACAAEAAAA/AA8AAAAAAAMAAAA/AA4AAAAAAAMAAAA/AA0AAAABAAMAAAA/AAwAAAAAAAMAAAA/AAsAAAABAAMAAAA/AAoAAAABAAMAAAA/AAkAAAABAAMAAAA/AAgAAAAAAAMAAAA/AAcAAAABAAMAAAA/AAYAAAACAAEAAAA/AAUAAAAAAAMAAAA/AAQAAAAAAAMAAAA/AAMAAAABAAMAAAA/AAIAAAAAAAMAAAA/AAEAAAAAAAMAAAA/AAAAAAABAAAAAAA+ABgAAAACAAQAAAA+ABcAAAAAAAMAAAA+ABYAAAABAAMAAAA+ABUAAAAAAAMAAAA+ABQAAAABAAMAAAA+ABMAAAABAAMAAAA+ABIAAAAAAAMAAAA+ABEAAAABAAMAAAA+ABAAAAAAAAMAAAA+AA8AAAABAAMAAAA+AA4AAAAAAAMAAAA+AA0AAAABAAMAAAA+AAwAAAABAAMAAAA+AAsAAAAAAAMAAAA+AAoAAAAAAAMAAAA+AAkAAAABAAMAAAA+AAgAAAAAAAMAAAA+AAcAAAAAAAMAAAA+AAYAAAABAAMAAAA+AAUAAAABAAMAAAA+AAQAAAAAAAMAAAA+AAMAAAABAAMAAAA+AAIAAAACAAEAAAA+AAEAAAACAAAAAAA+AAAAAAABAAAAAAA9ABgAAAACAAQAAAA9ABcAAAACAAAAAAA9ABYAAAAAAAMAAAA9ABUAAAABAAMAAAA9ABQAAAAAAAMAAAA9ABMAAAABAAMAAAA9ABIAAAABAAMAAAA9ABEAAAAAAAMAAAA9ABAAAAAAAAMAAAA9AA8AAAAAAAMAAAA9AA4AAAABAAMAAAA9AA0AAAAAAAMAAAA9AAwAAAABAAMAAAA9AAsAAAAAAAMAAAA9AAoAAAABAAMAAAA9AAkAAAAAAAMAAAA9AAgAAAACAAEAAAA9AAcAAAABAAMAAAA9AAYAAAAAAAMAAAA9AAUAAAABAAMAAAA9AAQAAAAAAAMAAAA9AAMAAAABAAMAAAA9AAIAAAAAAAMAAAA9AAEAAAAAAAMAAAA9AAAAAAABAAAAAAA8ABgAAAADAAQAAAA8ABcAAAAAAAMAAAA8ABYAAAABAAMAAAA8ABUAAAABAAMAAAA8ABQAAAABAAMAAAA8ABMAAAABAAMAAAA8ABIAAAABAAMAAAA8ABEAAAAAAAMAAAA8ABAAAAABAAMAAAA8AA8AAAABAAMAAAA8AA4AAAACAAAAAAA8AA0AAAABAAMAAAA8AAwAAAAAAAMAAAA8AAsAAAAAAAMAAAA8AAoAAAABAAMAAAA8AAkAAAABAAMAAAA8AAgAAAAAAAMAAAA8AAcAAAABAAMAAAA8AAYAAAABAAMAAAA8AAUAAAABAAMAAAA8AAQAAAABAAMAAAA8AAMAAAAAAAMAAAA8AAIAAAAAAAMAAAA8AAEAAAAAAAMAAAA8AAAAAAABAAAAAAA7ABgAAAACAAQAAAA7ABcAAAAAAAMAAAA7ABYAAAABAAMAAAA7ABUAAAAAAAMAAAA7ABQAAAABAAMAAAA7ABMAAAABAAMAAAA7ABIAAAABAAMAAAA7ABEAAAABAAMAAAA7ABAAAAABAAMAAAA7AA8AAAAAAAMAAAA7AALine truncated
|
||||||
|
|
||||||
|
[node name="enemy" parent="Enimies" parent_id_path=PackedInt32Array(317742684) index="0" unique_id=1471932521]
|
||||||
|
position = Vector2(1060, -172)
|
||||||
|
|
||||||
|
[node name="cassette" parent="Cassettes" parent_id_path=PackedInt32Array(257762099) index="0" unique_id=918954585]
|
||||||
|
position = Vector2(1689, -36)
|
||||||
|
|
||||||
|
[node name="Phonebooth" parent="Helpers" parent_id_path=PackedInt32Array(889215465) index="0" unique_id=1406086177]
|
||||||
|
position = Vector2(2211, -159)
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
[gd_scene format=3 uid="uid://b6tcpqx0h3qpy"]
|
|
||||||
|
|
||||||
[ext_resource type="PackedScene" uid="uid://cmtdq6tedv1mm" path="res://scenes/player.tscn" id="1_3bmlt"]
|
|
||||||
[ext_resource type="Script" uid="uid://c0kr0eqjtde28" path="res://scenes/levels/level_2.gd" id="1_jm1iu"]
|
|
||||||
[ext_resource type="PackedScene" uid="uid://cplmcsbr2yajw" path="res://scenes/phonebooth.tscn" id="3_ra442"]
|
|
||||||
|
|
||||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_aqe1g"]
|
|
||||||
size = Vector2(2007, 149)
|
|
||||||
|
|
||||||
[node name="level2" type="Node2D" unique_id=1987596250]
|
|
||||||
script = ExtResource("1_jm1iu")
|
|
||||||
|
|
||||||
[node name="ColorRect" type="ColorRect" parent="." unique_id=426446834]
|
|
||||||
offset_left = 8.0
|
|
||||||
offset_top = 865.0
|
|
||||||
offset_right = 2003.0
|
|
||||||
offset_bottom = 989.0
|
|
||||||
|
|
||||||
[node name="StaticBody2D" type="StaticBody2D" parent="." unique_id=471962104]
|
|
||||||
collision_layer = 2
|
|
||||||
collision_mask = 5
|
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D" unique_id=1096663356]
|
|
||||||
position = Vector2(1010, 942)
|
|
||||||
shape = SubResource("RectangleShape2D_aqe1g")
|
|
||||||
|
|
||||||
[node name="player" parent="." unique_id=1596338883 instance=ExtResource("1_3bmlt")]
|
|
||||||
|
|
||||||
[node name="Phonebooth" parent="." unique_id=1406086177 instance=ExtResource("3_ra442")]
|
|
||||||
position = Vector2(1893, 715)
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
extends Node2D
|
|
||||||
|
|
||||||
|
|
||||||
# Called when the node enters the scene tree for the first time.
|
|
||||||
func _ready() -> void:
|
|
||||||
$Speech.say("Lets [wave amp=20 freq=5]do this[/wave]!", $player.SpeechMarker, 2.0)
|
|
||||||
|
|
||||||
|
|
||||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
||||||
func _process(delta: float) -> void:
|
|
||||||
pass
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
uid://dor4c6g84387m
|
|
||||||
@@ -1,90 +0,0 @@
|
|||||||
[gd_scene format=4 uid="uid://bus3pp7duv6p"]
|
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://dor4c6g84387m" path="res://scenes/levels/level_3.gd" id="1_2bnyt"]
|
|
||||||
[ext_resource type="PackedScene" uid="uid://cmtdq6tedv1mm" path="res://scenes/player.tscn" id="1_fmg3e"]
|
|
||||||
[ext_resource type="PackedScene" uid="uid://dxx6mxv6x5yws" path="res://scenes/enemy.tscn" id="2_ftfob"]
|
|
||||||
[ext_resource type="PackedScene" uid="uid://c17txy4vh4wka" path="res://scenes/casset.tscn" id="3_fkk1g"]
|
|
||||||
[ext_resource type="TileSet" uid="uid://5ba7b2qpwevo" path="res://assets/tiles/city.tres" id="4_ugcn1"]
|
|
||||||
[ext_resource type="PackedScene" uid="uid://cplmcsbr2yajw" path="res://scenes/phonebooth.tscn" id="5_pimnq"]
|
|
||||||
[ext_resource type="Texture2D" uid="uid://d4d36l4cv2asv" path="res://assets/tiles/cyberpunk-market-street-pixel-art/2 Background/Day/2.png" id="6_ftfob"]
|
|
||||||
[ext_resource type="Texture2D" uid="uid://c7sl7yd4751ll" path="res://assets/tiles/cyberpunk-market-street-pixel-art/2 Background/Day/3.png" id="7_pimnq"]
|
|
||||||
[ext_resource type="Texture2D" uid="uid://dg8d1t4ufpwed" path="res://assets/tiles/cyberpunk-market-street-pixel-art/2 Background/Day/5.png" id="9_n6eey"]
|
|
||||||
[ext_resource type="Texture2D" uid="uid://dmur5aswibpg2" path="res://assets/tiles/cyberpunk-market-street-pixel-art/2 Background/Day/1.png" id="9_pimnq"]
|
|
||||||
[ext_resource type="PackedScene" uid="uid://b6n7uq6bhkwo3" path="res://scenes/speech.tscn" id="11_n6eey"]
|
|
||||||
|
|
||||||
[node name="Level3" type="Node2D" unique_id=1807632894]
|
|
||||||
script = ExtResource("1_2bnyt")
|
|
||||||
|
|
||||||
[node name="enemy" parent="." unique_id=1471932521 instance=ExtResource("2_ftfob")]
|
|
||||||
position = Vector2(1179, -414)
|
|
||||||
|
|
||||||
[node name="enemy2" parent="." unique_id=1478424315 instance=ExtResource("2_ftfob")]
|
|
||||||
position = Vector2(2799, -312)
|
|
||||||
|
|
||||||
[node name="casset" parent="." unique_id=918954585 groups=["Cassets"] instance=ExtResource("3_fkk1g")]
|
|
||||||
z_index = 1
|
|
||||||
position = Vector2(4003, -26)
|
|
||||||
|
|
||||||
[node name="TileMapLayer" type="TileMapLayer" parent="." unique_id=278682651]
|
|
||||||
z_index = -1
|
|
||||||
tile_map_data = PackedByteArray("AAB5ABcAAAACAAQAAAB5ABYAAAAAAAMAAAB5ABUAAAABAAMAAAB5ABQAAAAAAAMAAAB5ABMAAAABAAMAAAB5ABIAAAAAAAMAAAB5ABEAAAABAAMAAAB5ABAAAAAAAAMAAAB5AA8AAAACAAAAAAB5AA4AAAAAAAMAAAB5AA0AAAACAAEAAAB5AAwAAAAAAAMAAAB5AAsAAAABAAMAAAB5AAoAAAABAAMAAAB5AAkAAAAAAAMAAAB5AAgAAAABAAMAAAB5AAcAAAAAAAMAAAB5AAYAAAABAAMAAAB5AAUAAAAAAAMAAAB5AAQAAAACAAEAAAB5AAMAAAAAAAMAAAB5AAIAAAABAAMAAAB5AAEAAAABAAMAAAB5AAAAAAABAAAAAAB4ABcAAAADAAQAAAB4ABYAAAABAAMAAAB4ABUAAAABAAMAAAB4ABQAAAAAAAMAAAB4ABMAAAAAAAMAAAB4ABIAAAABAAMAAAB4ABEAAAAAAAMAAAB4ABAAAAAAAAMAAAB4AA8AAAAAAAMAAAB4AA4AAAAAAAMAAAB4AA0AAAAAAAMAAAB4AAwAAAAAAAMAAAB4AAsAAAABAAMAAAB4AAoAAAAAAAMAAAB4AAkAAAABAAMAAAB4AAgAAAABAAMAAAB4AAcAAAAAAAMAAAB4AAYAAAABAAMAAAB4AAUAAAAAAAMAAAB4AAQAAAAAAAMAAAB4AAMAAAAAAAMAAAB4AAIAAAAAAAMAAAB4AAEAAAABAAMAAAB4AAAAAAAAAAEAAAB3ABcAAAADAAQAAAB3ABYAAAABAAMAAAB3ABUAAAAAAAMAAAB3ABQAAAAAAAMAAAB3ABMAAAAAAAMAAAB3ABIAAAABAAMAAAB3ABEAAAAAAAMAAAB3ABAAAAAAAAMAAAB3AA8AAAABAAMAAAB3AA4AAAABAAMAAAB3AA0AAAABAAMAAAB3AAwAAAABAAMAAAB3AAsAAAAAAAMAAAB3AAoAAAABAAMAAAB3AAkAAAABAAMAAAB3AAgAAAABAAMAAAB3AAcAAAABAAMAAAB3AAYAAAABAAMAAAB3AAUAAAACAAEAAAB3AAQAAAAAAAMAAAB3AAMAAAACAAAAAAB3AAIAAAABAAMAAAB3AAEAAAAAAAMAAAB3AAAAAAABAAAAAAB2ABcAAAADAAQAAAB2ABYAAAAAAAMAAAB2ABUAAAABAAMAAAB2ABQAAAABAAMAAAB2ABMAAAABAAMAAAB2ABIAAAACAAEAAAB2ABEAAAABAAMAAAB2ABAAAAABAAMAAAB2AA8AAAAAAAMAAAB2AA4AAAABAAMAAAB2AA0AAAACAAEAAAB2AAwAAAABAAMAAAB2AAsAAAABAAMAAAB2AAoAAAAAAAMAAAB2AAkAAAAAAAMAAAB2AAgAAAAAAAMAAAB2AAcAAAAAAAMAAAB2AAYAAAABAAMAAAB2AAUAAAABAAMAAAB2AAQAAAABAAMAAAB2AAMAAAABAAMAAAB2AAIAAAAAAAMAAAB2AAEAAAABAAMAAAB2AAAAAAABAAAAAAB1ABcAAAACAAQAAAB1ABYAAAABAAMAAAB1ABUAAAACAAEAAAB1ABQAAAABAAMAAAB1ABMAAAABAAMAAAB1ABIAAAAAAAMAAAB1ABEAAAABAAMAAAB1ABAAAAABAAMAAAB1AA8AAAABAAMAAAB1AA4AAAABAAMAAAB1AA0AAAAAAAMAAAB1AAwAAAABAAMAAAB1AAsAAAABAAMAAAB1AAoAAAABAAMAAAB1AAkAAAABAAMAAAB1AAgAAAABAAMAAAB1AAcAAAABAAMAAAB1AAYAAAAAAAMAAAB1AAUAAAABAAMAAAB1AAQAAAAAAAMAAAB1AAMAAAAAAAMAAAB1AAIAAAACAAAAAAB1AAEAAAAAAAMAAAB1AAAAAAABAAAAAAB0ABcAAAADAAQAAAB0ABYAAAAAAAMAAAB0ABUAAAABAAMAAAB0ABQAAAAAAAMAAAB0ABMAAAABAAMAAAB0ABIAAAABAAMAAAB0ABEAAAACAAEAAAB0ABAAAAABAAMAAAB0AA8AAAAAAAMAAAB0AA4AAAAAAAMAAAB0AA0AAAABAAMAAAB0AAwAAAABAAMAAAB0AAsAAAABAAMAAAB0AAoAAAAAAAMAAAB0AAkAAAAAAAMAAAB0AAgAAAAAAAMAAAB0AAcAAAAAAAMAAAB0AAYAAAAAAAMAAAB0AAUAAAABAAMAAAB0AAQAAAABAAMAAAB0AAMAAAAAAAMAAAB0AAIAAAAAAAMAAAB0AAEAAAACAAEAAAB0AAAAAAABAAAAAABzABcAAAADAAQAAABzABYAAAAAAAMAAABzABUAAAABAAMAAABzABQAAAAAAAMAAABzABMAAAAAAAMAAABzABIAAAAAAAMAAABzABEAAAABAAMAAABzABAAAAABAAMAAABzAA8AAAABAAMAAABzAA4AAAACAAAAAABzAA0AAAAAAAMAAABzAAwAAAACAAAAAABzAAsAAAABAAMAAABzAAoAAAABAAMAAABzAAkAAAAAAAMAAABzAAgAAAABAAMAAABzAAcAAAABAAMAAABzAAYAAAAAAAMAAABzAAUAAAABAAMAAABzAAQAAAABAAMAAABzAAMAAAABAAMAAABzAAIAAAABAAMAAABzAAEAAAABAAMAAABzAAAAAAABAAAAAAByABcAAAADAAQAAAByABYAAAAAAAMAAAByABUAAAAAAAMAAAByABQAAAABAAMAAAByABMAAAABAAMAAAByABIAAAAAAAMAAAByABEAAAAAAAMAAAByABAAAAABAAMAAAByAA8AAAAAAAMAAAByAA4AAAABAAMAAAByAA0AAAAAAAMAAAByAAwAAAAAAAMAAAByAAsAAAABAAMAAAByAAoAAAAAAAMAAAByAAkAAAAAAAMAAAByAAgAAAAAAAMAAAByAAcAAAAAAAMAAAByAAYAAAAAAAMAAAByAAUAAAAAAAMAAAByAAQAAAABAAMAAAByAAMAAAABAAMAAAByAAIAAAAAAAMAAAByAAEAAAAAAAMAAAByAAAAAAABAAAAAABxABcAAAADAAQAAABxABYAAAAAAAMAAABxABUAAAABAAMAAABxABQAAAAAAAMAAABxABMAAAAAAAMAAABxABIAAAABAAMAAABxABEAAAAAAAMAAABxABAAAAABAAMAAABxAA8AAAAAAAMAAABxAA4AAAABAAMAAABxAA0AAAACAAAAAABxAAwAAAAAAAMAAABxAAsAAAABAAMAAABxAAoAAAAAAAMAAABxAAkAAAAAAAMAAABxAAgAAAAAAAMAAABxAAcAAAAAAAMAAABxAAYAAAAAAAMAAABxAAUAAAAAAAMAAABxAAQAAAAAAAMAAABxAAMAAAAAAAMAAABxAAIAAAAAAAMAAABxAAEAAAAAAAMAAABxAAAAAAABAAAAAABwABcAAAACAAQAAABwABYAAAABAAMAAABwABUAAAABAAMAAABwABQAAAACAAEAAABwABMAAAAAAAMAAABwABIAAAAAAAMAAABwABEAAAAAAAMAAABwABAAAAAAAAMAAABwAA8AAAABAAMAAABwAA4AAAABAAMAAABwAA0AAAAAAAMAAABwAAwAAAABAAMAAABwAAsAAAABAAMAAABwAAoAAAABAAMAAABwAAkAAAAAAAMAAABwAAgAAAAAAAMAAABwAAcAAAABAAMAAABwAAYAAAABAAMAAABwAAUAAAABAAMAAABwAAQAAAABAAMAAABwAAMAAAABAAMAAABwAAIAAAABAAMAAABwAAEAAAABAAMAAABwAAAAAAABAAAAAABvABcAAAADAAQAAABvABYAAAAAAAMAAABvABUAAAABAAMAAABvABQAAAAAAAMAAABvABMAAAABAAMAAABvABIAAAABAAMAAABvABEAAAAAAAMAAABvABAAAAAAAAMAAABvAA8AAAABAAMAAABvAA4AAAABAAMAAABvAA0AAAAAAAMAAABvAAwAAAAAAAMAAABvAAsAAAAAAAMAAABvAAoAAAABAAMAAABvAAkAAAABAAMAAABvAAgAAAAAAAMAAABvAAcAAAAAAAMAAABvAAYAAAABAAMAAABvAAUAAAAAAAMAAABvAAQAAAABAAMAAABvAAMAAAAAAAMAAABvAAIAAAAAAAMAAABvAAEAAAAAAAMAAABvAAAAAAABAAAAAABuABcAAAADAAQAAABuABYAAAAAAAMAAABuABUAAAAAAAMAAABuABQAAAABAAMAAABuABMAAAAAAAMAAABuABIAAAAAAAMAAABuABEAAAABAAMAAABuABAAAAAAAAMAAABuAA8AAAAAAAMAAABuAA4AAAAAAAMAAABuAA0AAAABAAMAAABuAAwAAAAAAAMAAABuAAsAAAABAAMAAABuAAoAAAAAAAMAAABuAAkAAAAAAAMAAABuAAgAAAABAAMAAABuAAcAAAAAAAMAAABuAAYAAAABAAMAAABuAAUAAAAAAAMAAABuAAQAAAAAAAMAAABuAAMAAAAAAAMAAABuAAIAAAABAAMAAABuAAEAAAABAAMAAABuAAAAAAABAAAAAABtABcAAAACAAQAAABtABYAAAAAAAMAAABtABUAAAABAAMAAABtABQAAAACAAEAAABtABMAAAABAAMAAABtABIAAAAAAAMAAABtABEAAAABAAMAAABtABAAAAABAAMAAABtAA8AAAACAAAAAABtAA4AAAACAAEAAABtAA0AAAAAAAMAAABtAAwAAAABAAMAAABtAAsAAAAAAAMAAABtAAoAAAABAAMAAABtAAkAAAAAAAMAAABtAAgAAAABAAMAAABtAAcAAAABAAMAAABtAAYAAAACAAAAAABtAAUAAAABAAMAAABtAAQAAAABAAMAAABtAAMAAAABAAMAAABtAAIAAAAAAAMAAABtAALine truncated
|
|
||||||
tile_set = ExtResource("4_ugcn1")
|
|
||||||
use_kinematic_bodies = true
|
|
||||||
|
|
||||||
[node name="Phonebooth" parent="." unique_id=1406086177 instance=ExtResource("5_pimnq")]
|
|
||||||
position = Vector2(4817, -147)
|
|
||||||
|
|
||||||
[node name="CanvasLayer" type="CanvasLayer" parent="." unique_id=863982624]
|
|
||||||
layer = -1
|
|
||||||
|
|
||||||
[node name="Sprite2D" type="Sprite2D" parent="CanvasLayer" unique_id=783313880]
|
|
||||||
z_index = -4
|
|
||||||
position = Vector2(1009, 569)
|
|
||||||
scale = Vector2(3.509259, 3.5092592)
|
|
||||||
texture = ExtResource("9_pimnq")
|
|
||||||
|
|
||||||
[node name="Parallax2D" type="Parallax2D" parent="." unique_id=722717076]
|
|
||||||
scroll_scale = Vector2(0.95, 0.95)
|
|
||||||
scroll_offset = Vector2(0.1, 0)
|
|
||||||
repeat_size = Vector2(1364, 0)
|
|
||||||
repeat_times = 4
|
|
||||||
|
|
||||||
[node name="Sprite2D" type="Sprite2D" parent="Parallax2D" unique_id=1084548177]
|
|
||||||
z_index = -2
|
|
||||||
position = Vector2(2050.8003, -331)
|
|
||||||
scale = Vector2(2.368827, 2.368827)
|
|
||||||
texture = ExtResource("6_ftfob")
|
|
||||||
|
|
||||||
[node name="Parallax2D2" type="Parallax2D" parent="." unique_id=670001325]
|
|
||||||
scroll_scale = Vector2(0.9, 0.9)
|
|
||||||
scroll_offset = Vector2(0.1, 0)
|
|
||||||
repeat_size = Vector2(1364, 0)
|
|
||||||
repeat_times = 4
|
|
||||||
|
|
||||||
[node name="Sprite2D" type="Sprite2D" parent="Parallax2D2" unique_id=1579009250]
|
|
||||||
z_index = -2
|
|
||||||
position = Vector2(2048.8, -211)
|
|
||||||
scale = Vector2(2.368827, 2.368827)
|
|
||||||
texture = ExtResource("7_pimnq")
|
|
||||||
|
|
||||||
[node name="Parallax2D4" type="Parallax2D" parent="." unique_id=585892213]
|
|
||||||
scroll_scale = Vector2(0.85, 0.85)
|
|
||||||
scroll_offset = Vector2(0.1, 0)
|
|
||||||
repeat_size = Vector2(1364, 0)
|
|
||||||
repeat_times = 4
|
|
||||||
|
|
||||||
[node name="Sprite2D" type="Sprite2D" parent="Parallax2D4" unique_id=557040733]
|
|
||||||
z_index = -2
|
|
||||||
position = Vector2(2047.8, -202.00003)
|
|
||||||
scale = Vector2(2.368827, 2.368827)
|
|
||||||
texture = ExtResource("9_n6eey")
|
|
||||||
|
|
||||||
[node name="Speech" parent="." unique_id=1002813128 instance=ExtResource("11_n6eey")]
|
|
||||||
|
|
||||||
[node name="casset2" parent="." unique_id=1394348662 groups=["Cassets"] instance=ExtResource("3_fkk1g")]
|
|
||||||
z_index = 1
|
|
||||||
position = Vector2(3628, -26)
|
|
||||||
|
|
||||||
[node name="player" parent="." unique_id=1596338883 instance=ExtResource("1_fmg3e")]
|
|
||||||
z_index = 1
|
|
||||||
position = Vector2(45, -143)
|
|
||||||
@@ -23,7 +23,7 @@ const PhoneSounds = [
|
|||||||
# Called when the node enters the scene tree for the first time.
|
# Called when the node enters the scene tree for the first time.
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
$Led.modulate.a = 0.0
|
$Led.modulate.a = 0.0
|
||||||
GloblaData.level += 1
|
GlobalData.level += 1
|
||||||
var origin = $ButtonOrigin.position
|
var origin = $ButtonOrigin.position
|
||||||
var offset = Vector2(126, 125)
|
var offset = Vector2(126, 125)
|
||||||
$Button0.position.y = origin.y + 3 * offset.y
|
$Button0.position.y = origin.y + 3 * offset.y
|
||||||
@@ -69,7 +69,7 @@ func wrong():
|
|||||||
_tween.finished.connect(reset)
|
_tween.finished.connect(reset)
|
||||||
|
|
||||||
func right():
|
func right():
|
||||||
get_tree().change_scene_to_file("res://scenes/levels/level_%s.tscn" % GloblaData.level)
|
get_tree().change_scene_to_file("res://scenes/levels/level_%s.tscn" % GlobalData.level)
|
||||||
|
|
||||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
func _process(delta: float) -> void:
|
func _process(delta: float) -> void:
|
||||||
File renamed without changes.
@@ -1,6 +1,6 @@
|
|||||||
[gd_scene format=3 uid="uid://btj7tpfvqfelu"]
|
[gd_scene format=3 uid="uid://btj7tpfvqfelu"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://c7fhd1eqlgwr4" path="res://scripts/Phonephreak.gd" id="1_knn0u"]
|
[ext_resource type="Script" uid="uid://c7fhd1eqlgwr4" path="res://scenes/puzzles/phonephreak.gd" id="1_knn0u"]
|
||||||
[ext_resource type="FontFile" uid="uid://dkytywan8eapf" path="res://assets/fonts/PixelOperator8.ttf" id="2_bg4gc"]
|
[ext_resource type="FontFile" uid="uid://dkytywan8eapf" path="res://assets/fonts/PixelOperator8.ttf" id="2_bg4gc"]
|
||||||
[ext_resource type="Texture2D" uid="uid://x0lbagpjbmqi" path="res://assets/sprites/led.png" id="3_4f8pu"]
|
[ext_resource type="Texture2D" uid="uid://x0lbagpjbmqi" path="res://assets/sprites/led.png" id="3_4f8pu"]
|
||||||
[ext_resource type="Texture2D" uid="uid://hbkkhhlechol" path="res://assets/sprites/phonephreak.png" id="3_ba2os"]
|
[ext_resource type="Texture2D" uid="uid://hbkkhhlechol" path="res://assets/sprites/phonephreak.png" id="3_ba2os"]
|
||||||
|
|||||||
@@ -1,35 +0,0 @@
|
|||||||
[gd_scene format=3 uid="uid://d1xirc54wud0s"]
|
|
||||||
|
|
||||||
[ext_resource type="PackedScene" uid="uid://cmtdq6tedv1mm" path="res://scenes/player.tscn" id="1_g7g4h"]
|
|
||||||
[ext_resource type="Script" uid="uid://v7bcqfwryutg" path="res://scripts/test_scene.gd" id="1_j8ivh"]
|
|
||||||
[ext_resource type="PackedScene" uid="uid://dxx6mxv6x5yws" path="res://scenes/enemy.tscn" id="2_j8ivh"]
|
|
||||||
[ext_resource type="PackedScene" uid="uid://c17txy4vh4wka" path="res://scenes/casset.tscn" id="4_7ddre"]
|
|
||||||
|
|
||||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_aqe1g"]
|
|
||||||
size = Vector2(1116.25, 73)
|
|
||||||
|
|
||||||
[node name="test_scene" type="Node2D" unique_id=1970054744]
|
|
||||||
script = ExtResource("1_j8ivh")
|
|
||||||
|
|
||||||
[node name="ColorRect" type="ColorRect" parent="." unique_id=1255479846]
|
|
||||||
offset_left = 2.0
|
|
||||||
offset_top = 530.0
|
|
||||||
offset_right = 1121.0
|
|
||||||
offset_bottom = 606.0
|
|
||||||
|
|
||||||
[node name="player" parent="." unique_id=1596338883 instance=ExtResource("1_g7g4h")]
|
|
||||||
position = Vector2(64, 386)
|
|
||||||
|
|
||||||
[node name="floor" type="StaticBody2D" parent="." unique_id=306980091]
|
|
||||||
collision_layer = 2
|
|
||||||
collision_mask = 5
|
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="floor" unique_id=1146724072]
|
|
||||||
position = Vector2(561.125, 569)
|
|
||||||
shape = SubResource("RectangleShape2D_aqe1g")
|
|
||||||
|
|
||||||
[node name="enemy" parent="." unique_id=1471932521 instance=ExtResource("2_j8ivh")]
|
|
||||||
position = Vector2(380, 334)
|
|
||||||
|
|
||||||
[node name="casset" parent="." unique_id=1213318639 instance=ExtResource("4_7ddre")]
|
|
||||||
position = Vector2(1018, 456)
|
|
||||||
@@ -1,26 +0,0 @@
|
|||||||
extends CharacterBody2D
|
|
||||||
|
|
||||||
|
|
||||||
var SPEED = Vector2(5, 0)
|
|
||||||
const JUMP_VELOCITY = -400.0
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
func _ready() -> void:
|
|
||||||
$Timer.start()
|
|
||||||
|
|
||||||
|
|
||||||
func _physics_process(delta: float) -> void:
|
|
||||||
velocity += get_gravity() * delta
|
|
||||||
move_and_slide()
|
|
||||||
patrol()
|
|
||||||
|
|
||||||
|
|
||||||
func patrol():
|
|
||||||
position += SPEED
|
|
||||||
|
|
||||||
|
|
||||||
func _on_timer_timeout() -> void:
|
|
||||||
SPEED = -SPEED
|
|
||||||
$Timer.start()
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
uid://2jmspsmp5wpm
|
|
||||||
File renamed without changes.
File renamed without changes.
@@ -1,11 +0,0 @@
|
|||||||
extends Node2D
|
|
||||||
|
|
||||||
|
|
||||||
# Called when the node enters the scene tree for the first time.
|
|
||||||
func _ready() -> void:
|
|
||||||
pass # Replace with function body.
|
|
||||||
|
|
||||||
|
|
||||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
||||||
func _process(delta: float) -> void:
|
|
||||||
pass
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
uid://v7bcqfwryutg
|
|
||||||
Reference in new issue
Block a user