diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a238273 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.import \ No newline at end of file diff --git a/assets/tileset.ase b/assets/tileset.ase new file mode 100644 index 0000000..c19cff0 Binary files /dev/null and b/assets/tileset.ase differ diff --git a/assets/tileset.png b/assets/tileset.png new file mode 100644 index 0000000..30c89fd Binary files /dev/null and b/assets/tileset.png differ diff --git a/src/.gitattributes b/src/.gitattributes new file mode 100644 index 0000000..8ad74f7 --- /dev/null +++ b/src/.gitattributes @@ -0,0 +1,2 @@ +# Normalize EOL for all files that Git considers text files. +* text=auto eol=lf diff --git a/src/.gitignore b/src/.gitignore new file mode 100644 index 0000000..4709183 --- /dev/null +++ b/src/.gitignore @@ -0,0 +1,2 @@ +# Godot 4+ specific ignores +.godot/ diff --git a/src/Actor/Dead.gd b/src/Actor/Dead.gd new file mode 100644 index 0000000..dcd0b6f --- /dev/null +++ b/src/Actor/Dead.gd @@ -0,0 +1,11 @@ +extends Node + +var state_name = 'Dead' + +var this = null + +func _ready(): + pass + +func _state_process(_delta): + pass diff --git a/src/Actor/Falling.gd b/src/Actor/Falling.gd new file mode 100644 index 0000000..b841192 --- /dev/null +++ b/src/Actor/Falling.gd @@ -0,0 +1,21 @@ +extends Node + +var this = null +var state_name = 'Falling' +var timer = 0.0 +var time = 1.0 + +func _ready(): + pass + +func _state_process(delta): + var sprite : Sprite2D = this.get_node('Sprite2D') + var ratio = 0.3 + + sprite.scale.x = max(0, sprite.scale.x - ratio * delta) + sprite.scale.y = max(0, sprite.scale.y - ratio * delta) + + if timer >= time: + this.to_dead() + + timer += delta diff --git a/src/Actor/Normal.gd b/src/Actor/Normal.gd new file mode 100644 index 0000000..6980334 --- /dev/null +++ b/src/Actor/Normal.gd @@ -0,0 +1,10 @@ +extends Node + +var state_name = 'Normal' +var this = null + +func _ready(): + pass + +func _state_process(_delta): + pass diff --git a/src/Actor/actor.gd b/src/Actor/actor.gd new file mode 100644 index 0000000..61898be --- /dev/null +++ b/src/Actor/actor.gd @@ -0,0 +1,30 @@ +extends CharacterBody2D + +var m_dir = Vector2(0, 0) +var m_speed = 256 +var m_state = null + +func _ready(): + self.to_normal() + +func _process(delta): + if m_state: + m_state._state_process(delta) + +func is_normal(): + return m_state.state_name == 'Normal' + +func to_normal(): + m_state = preload("res://Actor/Normal.gd").new() + m_state.this = self + +func is_falling(): + return m_state.state_name == 'Falling' + +func to_falling(): + m_state = preload("res://Actor/Falling.gd").new() + m_state.this = self + +func to_dead(): + m_state = preload("res://Actor/Dead.gd").new() + m_state.this = self diff --git a/src/Actor/actor.tscn b/src/Actor/actor.tscn new file mode 100644 index 0000000..7f92c68 --- /dev/null +++ b/src/Actor/actor.tscn @@ -0,0 +1,17 @@ +[gd_scene load_steps=4 format=3 uid="uid://c0kqx6dsury58"] + +[ext_resource type="Script" path="res://Actor/actor.gd" id="1_0612w"] +[ext_resource type="Texture2D" uid="uid://blr8qcmuqs5vl" path="res://icon.svg" id="2_itibm"] + +[sub_resource type="CircleShape2D" id="CircleShape2D_e2sef"] +radius = 16.0312 + +[node name="Actor" type="CharacterBody2D"] +script = ExtResource("1_0612w") + +[node name="Sprite2D" type="Sprite2D" parent="."] +scale = Vector2(0.25, 0.25) +texture = ExtResource("2_itibm") + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +shape = SubResource("CircleShape2D_e2sef") diff --git a/src/Bear/bear.gd b/src/Bear/bear.gd new file mode 100644 index 0000000..469107d --- /dev/null +++ b/src/Bear/bear.gd @@ -0,0 +1,7 @@ +extends Node2D + +func _ready(): + $Actor/Sprite2D.modulate = Color.RED + +func _process(_delta): + pass diff --git a/src/Bear/bear.tscn b/src/Bear/bear.tscn new file mode 100644 index 0000000..36db00d --- /dev/null +++ b/src/Bear/bear.tscn @@ -0,0 +1,9 @@ +[gd_scene load_steps=3 format=3 uid="uid://dc0s54l2iwr0c"] + +[ext_resource type="Script" path="res://Bear/bear.gd" id="1_yppa7"] +[ext_resource type="PackedScene" uid="uid://c0kqx6dsury58" path="res://Actor/actor.tscn" id="2_6n7sl"] + +[node name="Bear" type="Node2D"] +script = ExtResource("1_yppa7") + +[node name="Actor" parent="." instance=ExtResource("2_6n7sl")] diff --git a/src/Molotov/molotov.gd b/src/Molotov/molotov.gd new file mode 100644 index 0000000..387e9b8 --- /dev/null +++ b/src/Molotov/molotov.gd @@ -0,0 +1,37 @@ +extends CharacterBody2D + +var m_origin = Vector2(0.0, 0.0) +var m_speed = 256.0 +var m_dist = 200.0 +var m_dir = Vector2(0.0, 1.0) +var m_state = null +var m_explosion_radius = 1 + +signal on_explode + +func _ready(): + m_origin = self.position + +func _process(_delta): + pass + +func throw_at(pos: Vector2, dir: Vector2): + self.position = pos + m_origin = pos + m_dir = dir + m_state = self._moving + +func _physics_process(delta): + if (m_origin - self.position).length_squared() >= m_dist * m_dist: + m_state = self._explode + + if m_state != null: + m_state.call(delta) + +func _explode(_delta): + emit_signal('on_explode', self) + queue_free() + +func _moving(delta): + self.velocity = m_dir * m_speed + move_and_collide(self.velocity * delta) diff --git a/src/Molotov/molotov.tscn b/src/Molotov/molotov.tscn new file mode 100644 index 0000000..e38cb78 --- /dev/null +++ b/src/Molotov/molotov.tscn @@ -0,0 +1,20 @@ +[gd_scene load_steps=4 format=3 uid="uid://b212rruvxhwqe"] + +[ext_resource type="Texture2D" uid="uid://blr8qcmuqs5vl" path="res://icon.svg" id="1_ga5l4"] +[ext_resource type="Script" path="res://Molotov/molotov.gd" id="1_uepii"] + +[sub_resource type="CircleShape2D" id="CircleShape2D_oq4si"] +radius = 14.0 + +[node name="Molotov" type="CharacterBody2D"] +collision_layer = 0 +collision_mask = 0 +script = ExtResource("1_uepii") + +[node name="Sprite2D" type="Sprite2D" parent="."] +modulate = Color(0.956863, 0.956863, 0, 1) +scale = Vector2(0.25, 0.25) +texture = ExtResource("1_ga5l4") + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +shape = SubResource("CircleShape2D_oq4si") diff --git a/src/Player/player.gd b/src/Player/player.gd new file mode 100644 index 0000000..d1b8e46 --- /dev/null +++ b/src/Player/player.gd @@ -0,0 +1,22 @@ +extends Node2D + +func _physics_process(_dt): + var delta = Vector2(0, 0) + + if Input.is_action_pressed("player_up"): + delta.y -= 1.0 + if Input.is_action_pressed("player_down"): + delta.y += 1.0 + if Input.is_action_pressed("player_left"): + delta.x -= 1.0 + if Input.is_action_pressed("player_right"): + delta.x += 1.0 + + if delta.length_squared() > 0: + delta = delta.normalized() + $Actor.m_dir = delta + + if $Actor.is_normal(): + $Actor.velocity = delta * $Actor.m_speed + + $Actor.move_and_slide() diff --git a/src/Player/player.tscn b/src/Player/player.tscn new file mode 100644 index 0000000..28a4cc1 --- /dev/null +++ b/src/Player/player.tscn @@ -0,0 +1,12 @@ +[gd_scene load_steps=3 format=3 uid="uid://dhjnilcj5mvou"] + +[ext_resource type="Script" path="res://Player/player.gd" id="1_2pfvx"] +[ext_resource type="PackedScene" uid="uid://c0kqx6dsury58" path="res://Actor/actor.tscn" id="2_s40rr"] + +[node name="Player" type="Node2D"] +script = ExtResource("1_2pfvx") + +[node name="Actor" parent="." instance=ExtResource("2_s40rr")] + +[node name="Camera2D" type="Camera2D" parent="Actor"] +zoom = Vector2(1.5, 1.5) diff --git a/src/Sandbox/sandbox.gd b/src/Sandbox/sandbox.gd new file mode 100644 index 0000000..9a9f538 --- /dev/null +++ b/src/Sandbox/sandbox.gd @@ -0,0 +1,37 @@ +extends Node2D + +func _ready(): + pass + +func _process(_delta): + if Input.is_action_just_pressed("ui_accept"): + throw_bomb(Vector2(512, 256), Vector2(0, 1)) + + if is_outside($Player/Actor) and $Player/Actor.is_normal(): + $Player/Actor.to_falling() + + if is_outside($Bear/Actor) and $Bear/Actor.is_normal(): + $Bear/Actor.to_falling() + + +func is_outside(actor): + var coord = $TileMap.local_to_map(actor.global_position) + var tile : TileData = $TileMap.get_cell_tile_data(0, coord) + return tile.get_custom_data('is_void') + + +func throw_bomb(from: Vector2, dir: Vector2): + var bomb = preload("res://Molotov/molotov.tscn").instantiate() + bomb.on_explode.connect(_on_bomb_explode) + bomb.throw_at(from, dir) + add_child(bomb) + +func _on_bomb_explode(bomb): + var tilemap: TileMap = $TileMap + var pos = tilemap.local_to_map(bomb.position) + + var rad = bomb.m_explosion_radius + + for i in range(pos.y - rad, pos.y + rad ): + for j in range(pos.x - rad, pos.x + rad ): + tilemap.set_cell(0, Vector2i(j, i), 0, Vector2i(1, 0)) diff --git a/src/Sandbox/sandbox.tscn b/src/Sandbox/sandbox.tscn new file mode 100644 index 0000000..8620bdc --- /dev/null +++ b/src/Sandbox/sandbox.tscn @@ -0,0 +1,24 @@ +[gd_scene load_steps=6 format=3 uid="uid://ccjenj1vqgosm"] + +[ext_resource type="Script" path="res://Sandbox/sandbox.gd" id="1_e3dom"] +[ext_resource type="TileSet" uid="uid://c7xunhoxuo3ha" path="res://Sandbox/tile_set.tres" id="1_veo4i"] +[ext_resource type="PackedScene" uid="uid://dhjnilcj5mvou" path="res://Player/player.tscn" id="2_yd1wa"] +[ext_resource type="PackedScene" uid="uid://xqcydpvayehp" path="res://Turkey/turkey.tscn" id="3_hbeng"] +[ext_resource type="PackedScene" uid="uid://dc0s54l2iwr0c" path="res://Bear/bear.tscn" id="6_fiu5g"] + +[node name="Sandbox" type="Node2D"] +script = ExtResource("1_e3dom") + +[node name="TileMap" type="TileMap" parent="."] +tile_set = ExtResource("1_veo4i") +format = 2 +layer_0/tile_data = PackedInt32Array(-131072, 65536, 0, -65536, 65536, 0, 0, 65536, 0, 65536, 65536, 0, 65537, 65536, 0, 131073, 65536, 0, 131074, 65536, 0, 65538, 65536, 0, 65539, 65536, 0, 3, 65536, 0, -65533, 65536, 0, -131069, 65536, 0, -131070, 65536, 0, -131071, 65536, 0, -65535, 65536, 0, 1, 65536, 0, -65534, 65536, 0, 2, 65536, 0, 65540, 65536, 0, 196610, 65536, 0, 262146, 65536, 0, 262147, 65536, 0, 196611, 65536, 0, 131075, 65536, 0, 131076, 65536, 0, 196612, 65536, 0, 262148, 65536, 0, 131077, 65536, 0, 65541, 65536, 0, 65542, 65536, 0, 131078, 65536, 0, 196614, 65536, 0, 262150, 65536, 0, 262149, 65536, 0, 196613, 65536, 0, 393226, 65536, 0, 458762, 65536, 0, 524298, 65536, 0, 589834, 65536, 0, 655370, 65536, 0, 720906, 65536, 0, 786442, 65536, 0, 851978, 65536, 0, 917514, 65536, 0, 983050, 65536, 0, 393227, 0, 0, 458763, 0, 0, 524299, 0, 0, 589835, 0, 0, 655371, 0, 0, 720907, 0, 0, 786443, 0, 0, 851979, 0, 0, 917515, 0, 0, 983051, 0, 0, 393228, 0, 0, 458764, 0, 0, 524300, 0, 0, 589836, 0, 0, 655372, 0, 0, 720908, 0, 0, 786444, 0, 0, 851980, 0, 0, 917516, 0, 0, 983052, 0, 0, 393229, 0, 0, 458765, 0, 0, 524301, 0, 0, 589837, 0, 0, 655373, 0, 0, 720909, 0, 0, 786445, 0, 0, 851981, 0, 0, 917517, 0, 0, 983053, 0, 0, 393230, 0, 0, 458766, 0, 0, 524302, 0, 0, 589838, 0, 0, 655374, 0, 0, 720910, 0, 0, 786446, 0, 0, 851982, 0, 0, 917518, 0, 0, 983054, 0, 0, 393231, 0, 0, 458767, 0, 0, 524303, 0, 0, 589839, 0, 0, 655375, 0, 0, 720911, 0, 0, 786447, 0, 0, 851983, 0, 0, 917519, 0, 0, 983055, 0, 0, 393232, 0, 0, 458768, 0, 0, 524304, 0, 0, 589840, 0, 0, 655376, 0, 0, 720912, 0, 0, 786448, 0, 0, 851984, 0, 0, 917520, 0, 0, 983056, 0, 0, 393233, 0, 0, 458769, 0, 0, 524305, 0, 0, 589841, 0, 0, 655377, 0, 0, 720913, 0, 0, 786449, 0, 0, 851985, 0, 0, 917521, 0, 0, 983057, 0, 0, 393234, 0, 0, 458770, 0, 0, 524306, 0, 0, 589842, 0, 0, 655378, 0, 0, 720914, 0, 0, 786450, 0, 0, 851986, 0, 0, 917522, 0, 0, 983058, 0, 0, 393235, 0, 0, 458771, 0, 0, 524307, 0, 0, 589843, 0, 0, 655379, 0, 0, 720915, 0, 0, 786451, 0, 0, 851987, 0, 0, 917523, 0, 0, 983059, 0, 0, 393236, 0, 0, 458772, 0, 0, 524308, 0, 0, 589844, 0, 0, 655380, 0, 0, 720916, 0, 0, 786452, 0, 0, 851988, 0, 0, 917524, 0, 0, 983060, 0, 0, 393237, 0, 0, 458773, 0, 0, 524309, 0, 0, 589845, 0, 0, 655381, 0, 0, 720917, 0, 0, 786453, 0, 0, 851989, 0, 0, 917525, 0, 0, 983061, 0, 0, 393238, 0, 0, 458774, 0, 0, 524310, 0, 0, 589846, 0, 0, 655382, 0, 0, 720918, 0, 0, 786454, 0, 0, 851990, 0, 0, 917526, 0, 0, 983062, 0, 0, 393239, 0, 0, 458775, 0, 0, 524311, 0, 0, 589847, 0, 0, 655383, 0, 0, 720919, 0, 0, 786455, 0, 0, 851991, 0, 0, 917527, 0, 0, 983063, 0, 0, 393240, 0, 0, 458776, 0, 0, 524312, 0, 0, 589848, 0, 0, 655384, 0, 0, 720920, 0, 0, 786456, 0, 0, 851992, 0, 0, 917528, 0, 0, 983064, 0, 0, -131075, 65536, 0, -65539, 65536, 0, -3, 65536, 0, 65533, 65536, 0, 131069, 65536, 0, 196605, 65536, 0, 262141, 65536, 0, 327677, 65536, 0, 393213, 65536, 0, 458749, 65536, 0, 524285, 65536, 0, 589821, 65536, 0, 655357, 65536, 0, 720893, 65536, 0, 786429, 65536, 0, 851965, 65536, 0, 917501, 65536, 0, 983037, 65536, 0, 1048573, 65536, 0, 1114109, 65536, 0, 1179645, 65536, 0, 1245181, 65536, 0, 1310717, 65536, 0, 1376253, 65536, 0, 1441789, 65536, 0, 1507325, 65536, 0, 1572861, 65536, 0, -131074, 65536, 0, -65538, 65536, 0, -2, 65536, 0, 65534, 65536, 0, 131070, 65536, 0, 196606, 65536, 0, 262142, 65536, 0, 327678, 65536, 0, 393214, 65536, 0, 458750, 65536, 0, 524286, 65536, 0, 589822, 65536, 0, 655358, 65536, 0, 720894, 65536, 0, 786430, 65536, 0, 851966, 65536, 0, 917502, 65536, 0, 983038, 65536, 0, 1048574, 65536, 0, 1114110, 65536, 0, 1179646, 65536, 0, 1245182, 65536, 0, 1310718, 65536, 0, 1376254, 65536, 0, 1441790, 65536, 0, 1507326, 65536, 0, 1572862, 65536, 0, -131073, 65536, 0, -65537, 65536, 0, -1, 65536, 0, 65535, 65536, 0, 131071, 65536, 0, 196607, 65536, 0, 262143, 65536, 0, 327679, 65536, 0, 393215, 65536, 0, 458751, 65536, 0, 524287, 65536, 0, 589823, 65536, 0, 655359, 65536, 0, 720895, 65536, 0, 786431, 65536, 0, 851967, 65536, 0, 917503, 65536, 0, 983039, 65536, 0, 1048575, 65536, 0, 1114111, 65536, 0, 1179647, 65536, 0, 1245183, 65536, 0, 1310719, 65536, 0, 1376255, 65536, 0, 1441791, 65536, 0, 1507327, 65536, 0, 1572863, 65536, 0, -196608, 65536, 0, 131072, 65536, 0, 196608, 65536, 0, 262144, 65536, 0, 327680, 65536, 0, 393216, 65536, 0, 458752, 65536, 0, 524288, 65536, 0, 589824, 65536, 0, 655360, 65536, 0, 720896, 65536, 0, 786432, 65536, 0, 851968, 65536, 0, 917504, 65536, 0, 983040, 65536, 0, 1048576, 65536, 0, 1114112, 65536, 0, 1179648, 65536, 0, 1245184, 65536, 0, 1310720, 65536, 0, 1376256, 65536, 0, 1441792, 65536, 0, 1507328, 65536, 0, -196607, 65536, 0, 196609, 65536, 0, 262145, 65536, 0, 327681, 65536, 0, 393217, 65536, 0, 458753, 65536, 0, 524289, 65536, 0, 589825, 65536, 0, 655361, 65536, 0, 720897, 65536, 0, 786433, 65536, 0, 851969, 65536, 0, 917505, 65536, 0, 983041, 65536, 0, 1048577, 65536, 0, 1114113, 65536, 0, 1179649, 65536, 0, 1245185, 65536, 0, 1310721, 65536, 0, 1376257, 65536, 0, 1441793, 65536, 0, 1507329, 65536, 0, -196606, 65536, 0, 327682, 65536, 0, 393218, 65536, 0, 458754, 65536, 0, 524290, 65536, 0, 589826, 65536, 0, 655362, 65536, 0, 720898, 65536, 0, 786434, 65536, 0, 851970, 65536, 0, 917506, 65536, 0, 983042, 65536, 0, 1048578, 65536, 0, 1114114, 65536, 0, 1179650, 65536, 0, 1245186, 65536, 0, 1310722, 65536, 0, 1376258, 65536, 0, 1441794, 65536, 0, 1507330, 65536, 0, -196605, 65536, 0, 327683, 65536, 0, 393219, 65536, 0, 458755, 65536, 0, 524291, 65536, 0, 589827, 65536, 0, 655363, 65536, 0, 720899, 65536, 0, 786435, 65536, 0, 851971, 65536, 0, 917507, 65536, 0, 983043, 65536, 0, 1048579, 65536, 0, 1114115, 65536, 0, 1179651, 65536, 0, 1245187, 65536, 0, 1310723, 65536, 0, 1376259, 65536, 0, 1441795, 65536, 0, 1507331, 65536, 0, -196604, 65536, 0, -131068, 65536, 0, -65532, 65536, 0, 4, 65536, 0, 327684, 65536, 0, 393220, 65536, 0, 458756, 65536, 0, 524292, 65536, 0, 589828, 65536, 0, 655364, 65536, 0, 720900, 65536, 0, 786436, 65536, 0, 851972, 65536, 0, 917508, 65536, 0, 983044, 65536, 0, 1048580, 65536, 0, 1114116, 65536, 0, 1179652, 65536, 0, 1245188, 65536, 0, 1310724, 65536, 0, 1376260, 65536, 0, 1441796, 65536, 0, 1507332, 65536, 0, -196603, 65536, 0, -131067, 65536, 0, -65531, 65536, 0, 5, 65536, 0, 327685, 65536, 0, 393221, 65536, 0, 458757, 65536, 0, 524293, 65536, 0, 589829, 65536, 0, 655365, 65536, 0, 720901, 65536, 0, 786437, 65536, 0, 851973, 65536, 0, 917509, 65536, 0, 983045, 65536, 0, 1048581, 65536, 0, 1114117, 65536, 0, 1179653, 65536, 0, 1245189, 65536, 0, 1310725, 65536, 0, 1376261, 65536, 0, 1441797, 65536, 0, 1507333, 65536, 0, -196602, 65536, 0, -131066, 65536, 0, -65530, 65536, 0, 6, 65536, 0, 327686, 65536, 0, 393222, 65536, 0, 458758, 65536, 0, 524294, 65536, 0, 589830, 65536, 0, 655366, 65536, 0, 720902, 65536, 0, 786438, 65536, 0, 851974, 65536, 0, 917510, 65536, 0, 983046, 65536, 0, 1048582, 65536, 0, 1114118, 65536, 0, 1179654, 65536, 0, 1245190, 65536, 0, 1310726, 65536, 0, 1376262, 65536, 0, 1441798, 65536, 0, 1507334, 65536, 0, -196601, 65536, 0, -131065, 65536, 0, -65529, 65536, 0, 7, 65536, 0, 65543, 65536, 0, 131079, 65536, 0, 196615, 65536, 0, 262151, 65536, 0, 327687, 65536, 0, 393223, 65536, 0, 458759, 65536, 0, 524295, 65536, 0, 589831, 65536, 0, 655367, 65536, 0, 720903, 65536, 0, 786439, 65536, 0, 851975, 65536, 0, 917511, 65536, 0, 983047, 65536, 0, 1048583, 65536, 0, 1114119, 65536, 0, 1179655, 65536, 0, 1245191, 65536, 0, 1310727, 65536, 0, 1376263, 65536, 0, 1441799, 65536, 0, 1507335, 65536, 0, -196600, 65536, 0, -131064, 65536, 0, -65528, 65536, 0, 8, 65536, 0, 65544, 65536, 0, 131080, 65536, 0, 196616, 65536, 0, 262152, 65536, 0, 327688, 65536, 0, 393224, 65536, 0, 458760, 65536, 0, 524296, 65536, 0, 589832, 65536, 0, 655368, 65536, 0, 720904, 65536, 0, 786440, 65536, 0, 851976, 65536, 0, 917512, 65536, 0, 983048, 65536, 0, 1048584, 65536, 0, 1114120, 65536, 0, 1179656, 65536, 0, 1245192, 65536, 0, 1310728, 65536, 0, 1376264, 65536, 0, 1441800, 65536, 0, 1507336, 65536, 0, -196599, 65536, 0, -131063, 65536, 0, -65527, 65536, 0, 9, 65536, 0, 65545, 65536, 0, 131081, 65536, 0, 196617, 65536, 0, 262153, 65536, 0, 327689, 65536, 0, 393225, 65536, 0, 458761, 65536, 0, 524297, 65536, 0, 589833, 65536, 0, 655369, 65536, 0, 720905, 65536, 0, 786441, 65536, 0, 851977, 65536, 0, 917513, 65536, 0, 983049, 65536, 0, 1048585, 65536, 0, 1114121, 65536, 0, 1179657, 65536, 0, 1245193, 65536, 0, 1310729, 65536, 0, 1376265, 65536, 0, 1441801, 65536, 0, 1507337, 65536, 0, -196598, 65536, 0, -131062, 65536, 0, -65526, 65536, 0, 10, 65536, 0, 65546, 65536, 0, 131082, 65536, 0, 196618, 65536, 0, 262154, 65536, 0, 327690, 65536, 0, 1048586, 65536, 0, 1114122, 65536, 0, 1179658, 65536, 0, 1245194, 65536, 0, 1310730, 65536, 0, 1376266, 65536, 0, 1441802, 65536, 0, 1507338, 65536, 0, -196597, 65536, 0, -131061, 65536, 0, -65525, 65536, 0, 11, 65536, 0, 65547, 65536, 0, 131083, 65536, 0, 196619, 65536, 0, 262155, 65536, 0, 327691, 0, 0, 1048587, 0, 0, 1114123, 0, 0, 1179659, 0, 0, 1245195, 65536, 0, 1310731, 65536, 0, 1376267, 65536, 0, 1441803, 65536, 0, 1507339, 65536, 0, -196596, 65536, 0, -131060, 65536, 0, -65524, 65536, 0, 12, 65536, 0, 65548, 65536, 0, 131084, 65536, 0, 196620, 65536, 0, 262156, 65536, 0, 327692, 0, 0, 1048588, 0, 0, 1114124, 0, 0, 1179660, 0, 0, 1245196, 65536, 0, 1310732, 65536, 0, 1376268, 65536, 0, 1441804, 65536, 0, 1507340, 65536, 0, -196595, 65536, 0, -131059, 65536, 0, -65523, 65536, 0, 13, 65536, 0, 65549, 65536, 0, 131085, 65536, 0, 196621, 65536, 0, 262157, 65536, 0, 327693, 0, 0, 1048589, 0, 0, 1114125, 0, 0, 1179661, 0, 0, 1245197, 65536, 0, 1310733, 65536, 0, 1376269, 65536, 0, 1441805, 65536, 0, 1507341, 65536, 0, -196594, 65536, 0, -131058, 65536, 0, -65522, 65536, 0, 14, 65536, 0, 65550, 65536, 0, 131086, 65536, 0, 196622, 65536, 0, 262158, 65536, 0, 327694, 0, 0, 1048590, 0, 0, 1114126, 0, 0, 1179662, 0, 0, 1245198, 65536, 0, 1310734, 65536, 0, 1376270, 65536, 0, 1441806, 65536, 0, 1507342, 65536, 0, -196593, 65536, 0, -131057, 65536, 0, -65521, 65536, 0, 15, 65536, 0, 65551, 65536, 0, 131087, 65536, 0, 196623, 65536, 0, 262159, 65536, 0, 327695, 0, 0, 1048591, 0, 0, 1114127, 0, 0, 1179663, 0, 0, 1245199, 65536, 0, 1310735, 65536, 0, 1376271, 65536, 0, 1441807, 65536, 0, 1507343, 65536, 0, -196592, 65536, 0, -131056, 65536, 0, -65520, 65536, 0, 16, 65536, 0, 65552, 65536, 0, 131088, 65536, 0, 196624, 65536, 0, 262160, 65536, 0, 327696, 0, 0, 1048592, 0, 0, 1114128, 0, 0, 1179664, 0, 0, 1245200, 65536, 0, 1310736, 65536, 0, 1376272, 65536, 0, 1441808, 65536, 0, 1507344, 65536, 0, -196591, 65536, 0, -131055, 65536, 0, -65519, 65536, 0, 17, 65536, 0, 65553, 65536, 0, 131089, 65536, 0, 196625, 65536, 0, 262161, 65536, 0, 327697, 0, 0, 1048593, 0, 0, 1114129, 0, 0, 1179665, 0, 0, 1245201, 65536, 0, 1310737, 65536, 0, 1376273, 65536, 0, 1441809, 65536, 0, 1507345, 65536, 0, -196590, 65536, 0, -131054, 65536, 0, -65518, 65536, 0, 18, 65536, 0, 65554, 65536, 0, 131090, 65536, 0, 196626, 65536, 0, 262162, 65536, 0, 327698, 0, 0, 1048594, 0, 0, 1114130, 0, 0, 1179666, 0, 0, 1245202, 65536, 0, 1310738, 65536, 0, 1376274, 65536, 0, 1441810, 65536, 0, 1507346, 65536, 0, -196589, 65536, 0, -131053, 65536, 0, -65517, 65536, 0, 19, 65536, 0, 65555, 65536, 0, 131091, 65536, 0, 196627, 65536, 0, 262163, 65536, 0, 327699, 0, 0, 1048595, 0, 0, 1114131, 0, 0, 1179667, 0, 0, 1245203, 65536, 0, 1310739, 65536, 0, 1376275, 65536, 0, 1441811, 65536, 0, 1507347, 65536, 0, -196588, 65536, 0, -131052, 65536, 0, -65516, 65536, 0, 20, 65536, 0, 65556, 65536, 0, 131092, 65536, 0, 196628, 65536, 0, 262164, 65536, 0, 327700, 0, 0, 1048596, 0, 0, 1114132, 0, 0, 1179668, 0, 0, 1245204, 65536, 0, 1310740, 65536, 0, 1376276, 65536, 0, 1441812, 65536, 0, 1507348, 65536, 0, -196587, 65536, 0, -131051, 65536, 0, -65515, 65536, 0, 21, 65536, 0, 65557, 65536, 0, 131093, 65536, 0, 196629, 65536, 0, 262165, 65536, 0, 327701, 0, 0, 1048597, 0, 0, 1114133, 0, 0, 1179669, 0, 0, 1245205, 65536, 0, 1310741, 65536, 0, 1376277, 65536, 0, 1441813, 65536, 0, 1507349, 65536, 0, -196586, 65536, 0, -131050, 65536, 0, -65514, 65536, 0, 22, 65536, 0, 65558, 65536, 0, 131094, 65536, 0, 196630, 65536, 0, 262166, 65536, 0, 327702, 0, 0, 1048598, 0, 0, 1114134, 0, 0, 1179670, 0, 0, 1245206, 65536, 0, 1310742, 65536, 0, 1376278, 65536, 0, 1441814, 65536, 0, 1507350, 65536, 0, -196585, 65536, 0, -131049, 65536, 0, -65513, 65536, 0, 23, 65536, 0, 65559, 65536, 0, 131095, 65536, 0, 196631, 65536, 0, 262167, 65536, 0, 327703, 0, 0, 1048599, 0, 0, 1114135, 0, 0, 1179671, 0, 0, 1245207, 65536, 0, 1310743, 65536, 0, 1376279, 65536, 0, 1441815, 65536, 0, 1507351, 65536, 0, -196584, 65536, 0, -131048, 65536, 0, -65512, 65536, 0, 24, 65536, 0, 65560, 65536, 0, 131096, 65536, 0, 196632, 65536, 0, 262168, 65536, 0, 327704, 0, 0, 1048600, 0, 0, 1114136, 0, 0, 1179672, 0, 0, 1245208, 65536, 0, 1310744, 65536, 0, 1376280, 65536, 0, 1441816, 65536, 0, 1507352, 65536, 0, -196583, 65536, 0, -131047, 65536, 0, -65511, 65536, 0, 25, 65536, 0, 65561, 65536, 0, 131097, 65536, 0, 196633, 65536, 0, 262169, 65536, 0, 327705, 0, 0, 393241, 0, 0, 458777, 0, 0, 524313, 0, 0, 589849, 0, 0, 655385, 0, 0, 720921, 0, 0, 786457, 0, 0, 851993, 0, 0, 917529, 0, 0, 983065, 0, 0, 1048601, 0, 0, 1114137, 0, 0, 1179673, 0, 0, 1245209, 65536, 0, 1310745, 65536, 0, 1376281, 65536, 0, 1441817, 65536, 0, 1507353, 65536, 0, -196582, 65536, 0, -131046, 65536, 0, -65510, 65536, 0, 26, 65536, 0, 65562, 65536, 0, 131098, 65536, 0, 196634, 65536, 0, 262170, 65536, 0, 327706, 0, 0, 393242, 0, 0, 458778, 0, 0, 524314, 0, 0, 589850, 0, 0, 655386, 0, 0, 720922, 0, 0, 786458, 0, 0, 851994, 0, 0, 917530, 0, 0, 983066, 0, 0, 1048602, 0, 0, 1114138, 0, 0, 1179674, 0, 0, 1245210, 65536, 0, 1310746, 65536, 0, 1376282, 65536, 0, 1441818, 65536, 0, 1507354, 65536, 0, -196581, 65536, 0, -131045, 65536, 0, -65509, 65536, 0, 27, 65536, 0, 65563, 65536, 0, 131099, 65536, 0, 196635, 65536, 0, 262171, 65536, 0, 327707, 0, 0, 393243, 0, 0, 458779, 0, 0, 524315, 0, 0, 589851, 0, 0, 655387, 0, 0, 720923, 0, 0, 786459, 0, 0, 851995, 0, 0, 917531, 0, 0, 983067, 0, 0, 1048603, 0, 0, 1114139, 0, 0, 1179675, 0, 0, 1245211, 65536, 0, 1310747, 65536, 0, 1376283, 65536, 0, 1441819, 65536, 0, 1507355, 65536, 0, -196580, 65536, 0, -131044, 65536, 0, -65508, 65536, 0, 28, 65536, 0, 65564, 65536, 0, 131100, 65536, 0, 196636, 65536, 0, 262172, 65536, 0, 327708, 0, 0, 393244, 0, 0, 458780, 0, 0, 524316, 0, 0, 589852, 0, 0, 655388, 0, 0, 720924, 0, 0, 786460, 0, 0, 851996, 0, 0, 917532, 0, 0, 983068, 0, 0, 1048604, 0, 0, 1114140, 0, 0, 1179676, 0, 0, 1245212, 65536, 0, 1310748, 65536, 0, 1376284, 65536, 0, 1441820, 65536, 0, 1507356, 65536, 0, -196579, 65536, 0, -131043, 65536, 0, -65507, 65536, 0, 29, 65536, 0, 65565, 65536, 0, 131101, 65536, 0, 196637, 65536, 0, 262173, 65536, 0, 327709, 0, 0, 393245, 0, 0, 458781, 0, 0, 524317, 0, 0, 589853, 0, 0, 655389, 0, 0, 720925, 0, 0, 786461, 0, 0, 851997, 0, 0, 917533, 0, 0, 983069, 0, 0, 1048605, 0, 0, 1114141, 0, 0, 1179677, 0, 0, 1245213, 65536, 0, 1310749, 65536, 0, 1376285, 65536, 0, 1441821, 65536, 0, 1507357, 65536, 0, -196578, 65536, 0, -131042, 65536, 0, -65506, 65536, 0, 30, 65536, 0, 65566, 65536, 0, 131102, 65536, 0, 196638, 65536, 0, 262174, 65536, 0, 327710, 0, 0, 393246, 0, 0, 458782, 0, 0, 524318, 0, 0, 589854, 0, 0, 655390, 0, 0, 720926, 0, 0, 786462, 0, 0, 851998, 0, 0, 917534, 0, 0, 983070, 0, 0, 1048606, 0, 0, 1114142, 0, 0, 1179678, 0, 0, 1245214, 65536, 0, 1310750, 65536, 0, 1376286, 65536, 0, 1441822, 65536, 0, 1507358, 65536, 0, -196577, 65536, 0, -131041, 65536, 0, -65505, 65536, 0, 31, 65536, 0, 65567, 65536, 0, 131103, 65536, 0, 196639, 65536, 0, 262175, 65536, 0, 327711, 65536, 0, 393247, 65536, 0, 458783, 65536, 0, 524319, 65536, 0, 589855, 65536, 0, 655391, 65536, 0, 720927, 65536, 0, 786463, 65536, 0, 851999, 65536, 0, 917535, 65536, 0, 983071, 65536, 0, 1048607, 65536, 0, 1114143, 65536, 0, 1179679, 65536, 0, 1245215, 65536, 0, 1310751, 65536, 0, 1376287, 65536, 0, 1441823, 65536, 0, 1507359, 65536, 0, -196576, 65536, 0, -131040, 65536, 0, -65504, 65536, 0, 32, 65536, 0, 65568, 65536, 0, 131104, 65536, 0, 196640, 65536, 0, 262176, 65536, 0, 327712, 65536, 0, 393248, 65536, 0, 458784, 65536, 0, 524320, 65536, 0, 589856, 65536, 0, 655392, 65536, 0, 720928, 65536, 0, 786464, 65536, 0, 852000, 65536, 0, 917536, 65536, 0, 983072, 65536, 0, 1048608, 65536, 0, 1114144, 65536, 0, 1179680, 65536, 0, 1245216, 65536, 0, 1310752, 65536, 0, 1376288, 65536, 0, 1441824, 65536, 0, 1507360, 65536, 0, -196575, 65536, 0, -131039, 65536, 0, -65503, 65536, 0, 33, 65536, 0, 65569, 65536, 0, 131105, 65536, 0, 196641, 65536, 0, 262177, 65536, 0, 327713, 65536, 0, 393249, 65536, 0, 458785, 65536, 0, 524321, 65536, 0, 589857, 65536, 0, 655393, 65536, 0, 720929, 65536, 0, 786465, 65536, 0, 852001, 65536, 0, 917537, 65536, 0, 983073, 65536, 0, 1048609, 65536, 0, 1114145, 65536, 0, 1179681, 65536, 0, 1245217, 65536, 0, 1310753, 65536, 0, 1376289, 65536, 0, 1441825, 65536, 0, 1507361, 65536, 0, -196574, 65536, 0, -131038, 65536, 0, -65502, 65536, 0, 34, 65536, 0, 65570, 65536, 0, 131106, 65536, 0, 196642, 65536, 0, 262178, 65536, 0, 327714, 65536, 0, 393250, 65536, 0, 458786, 65536, 0, 524322, 65536, 0, 589858, 65536, 0, 655394, 65536, 0, 720930, 65536, 0, 786466, 65536, 0, 852002, 65536, 0, 917538, 65536, 0, 983074, 65536, 0, 1048610, 65536, 0, 1114146, 65536, 0, 1179682, 65536, 0, 1245218, 65536, 0, 1310754, 65536, 0, 1376290, 65536, 0, 1441826, 65536, 0, 1507362, 65536, 0, -196573, 65536, 0, -131037, 65536, 0, -65501, 65536, 0, 35, 65536, 0, 65571, 65536, 0, 131107, 65536, 0, 196643, 65536, 0, 262179, 65536, 0, 327715, 65536, 0, 393251, 65536, 0, 458787, 65536, 0, 524323, 65536, 0, 589859, 65536, 0, 655395, 65536, 0, 720931, 65536, 0, 786467, 65536, 0, 852003, 65536, 0, 917539, 65536, 0, 983075, 65536, 0, 1048611, 65536, 0, 1114147, 65536, 0, 1179683, 65536, 0, 1245219, 65536, 0, 1310755, 65536, 0, 1376291, 65536, 0, 1441827, 65536, 0, 1507363, 65536, 0, -196572, 65536, 0, -131036, 65536, 0, -65500, 65536, 0, 36, 65536, 0, 65572, 65536, 0, 131108, 65536, 0, 196644, 65536, 0, 262180, 65536, 0, 327716, 65536, 0, 393252, 65536, 0, 458788, 65536, 0, 524324, 65536, 0, 589860, 65536, 0, 655396, 65536, 0, 720932, 65536, 0, 786468, 65536, 0, 852004, 65536, 0, 917540, 65536, 0, 983076, 65536, 0, 1048612, 65536, 0, 1114148, 65536, 0, 1179684, 65536, 0, 1245220, 65536, 0, 1310756, 65536, 0, 1376292, 65536, 0, 1441828, 65536, 0, 1507364, 65536, 0, -196571, 65536, 0, -131035, 65536, 0, -65499, 65536, 0, 37, 65536, 0, 65573, 65536, 0, 131109, 65536, 0, 196645, 65536, 0, 262181, 65536, 0, 327717, 65536, 0, 393253, 65536, 0, 458789, 65536, 0, 524325, 65536, 0, 589861, 65536, 0, 655397, 65536, 0, 720933, 65536, 0, 786469, 65536, 0, 852005, 65536, 0, 917541, 65536, 0, 983077, 65536, 0, 1048613, 65536, 0, 1114149, 65536, 0, 1179685, 65536, 0, 1245221, 65536, 0, 1310757, 65536, 0, 1376293, 65536, 0, 1441829, 65536, 0, 1507365, 65536, 0, -196570, 65536, 0, -131034, 65536, 0, -65498, 65536, 0, 38, 65536, 0, 65574, 65536, 0, 131110, 65536, 0, 196646, 65536, 0, 262182, 65536, 0, 327718, 65536, 0, 393254, 65536, 0, 458790, 65536, 0, 524326, 65536, 0, 589862, 65536, 0, 655398, 65536, 0, 720934, 65536, 0, 786470, 65536, 0, 852006, 65536, 0, 917542, 65536, 0, 983078, 65536, 0, 1048614, 65536, 0, 1114150, 65536, 0, 1179686, 65536, 0, 1245222, 65536, 0, 1310758, 65536, 0, 1376294, 65536, 0, 1441830, 65536, 0, 1507366, 65536, 0, -196569, 65536, 0, -131033, 65536, 0, -65497, 65536, 0, 39, 65536, 0, 65575, 65536, 0, 131111, 65536, 0, 196647, 65536, 0, 262183, 65536, 0, 327719, 65536, 0, 393255, 65536, 0, 458791, 65536, 0, 524327, 65536, 0, 589863, 65536, 0, 655399, 65536, 0, 720935, 65536, 0, 786471, 65536, 0, 852007, 65536, 0, 917543, 65536, 0, 983079, 65536, 0, 1048615, 65536, 0, 1114151, 65536, 0, 1179687, 65536, 0, 1245223, 65536, 0, 1310759, 65536, 0, 1376295, 65536, 0, 1441831, 65536, 0, 1507367, 65536, 0, -196568, 65536, 0, -131032, 65536, 0, -65496, 65536, 0, 40, 65536, 0, 65576, 65536, 0, 131112, 65536, 0, 196648, 65536, 0, 262184, 65536, 0, 327720, 65536, 0, 393256, 65536, 0, 458792, 65536, 0, 524328, 65536, 0, 589864, 65536, 0, 655400, 65536, 0, 720936, 65536, 0, 786472, 65536, 0, 852008, 65536, 0, 917544, 65536, 0, 983080, 65536, 0, 1048616, 65536, 0, 1114152, 65536, 0, 1179688, 65536, 0, 1245224, 65536, 0, 1310760, 65536, 0, 1376296, 65536, 0, 1441832, 65536, 0, 1507368, 65536, 0, -196567, 65536, 0, -131031, 65536, 0, -65495, 65536, 0, 41, 65536, 0, 65577, 65536, 0, 131113, 65536, 0, 196649, 65536, 0, 262185, 65536, 0, 327721, 65536, 0, 393257, 65536, 0, 458793, 65536, 0, 524329, 65536, 0, 589865, 65536, 0, 655401, 65536, 0, 720937, 65536, 0, 786473, 65536, 0, 852009, 65536, 0, 917545, 65536, 0, 983081, 65536, 0, 1048617, 65536, 0, 1114153, 65536, 0, 1179689, 65536, 0, 1245225, 65536, 0, 1310761, 65536, 0, 1376297, 65536, 0, 1441833, 65536, 0, 1507369, 65536, 0, -196566, 65536, 0, -131030, 65536, 0, -65494, 65536, 0, 42, 65536, 0, 65578, 65536, 0, 131114, 65536, 0, 196650, 65536, 0, 262186, 65536, 0, 327722, 65536, 0, 393258, 65536, 0, 458794, 65536, 0, 524330, 65536, 0, 589866, 65536, 0, 655402, 65536, 0, 720938, 65536, 0, 786474, 65536, 0, 852010, 65536, 0, 917546, 65536, 0, 983082, 65536, 0, 1048618, 65536, 0, 1114154, 65536, 0, 1179690, 65536, 0, 1245226, 65536, 0, 1310762, 65536, 0, 1376298, 65536, 0, 1441834, 65536, 0, 1507370, 65536, 0) + +[node name="Player" parent="." instance=ExtResource("2_yd1wa")] +position = Vector2(654, 409) + +[node name="Turkey" parent="." instance=ExtResource("3_hbeng")] +position = Vector2(853, 244) + +[node name="Bear" parent="." instance=ExtResource("6_fiu5g")] +position = Vector2(504, 451) diff --git a/src/Sandbox/tile_set.tres b/src/Sandbox/tile_set.tres new file mode 100644 index 0000000..eb82130 --- /dev/null +++ b/src/Sandbox/tile_set.tres @@ -0,0 +1,23 @@ +[gd_resource type="TileSet" load_steps=3 format=3 uid="uid://c7xunhoxuo3ha"] + +[ext_resource type="Texture2D" uid="uid://b25vxq6cfx0i0" path="res://Sandbox/tileset.png" id="1_0ncmx"] + +[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_0k0yx"] +texture = ExtResource("1_0ncmx") +texture_region_size = Vector2i(32, 32) +0:0/0 = 0 +0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +0:0/0/physics_layer_0/angular_velocity = 0.0 +1:0/0 = 0 +1:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +1:0/0/physics_layer_0/angular_velocity = 0.0 +1:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +1:0/0/custom_data_0 = true + +[resource] +tile_size = Vector2i(32, 32) +physics_layer_0/collision_layer = 0 +physics_layer_0/collision_mask = 0 +custom_data_layer_0/name = "is_void" +custom_data_layer_0/type = 1 +sources/0 = SubResource("TileSetAtlasSource_0k0yx") diff --git a/src/Sandbox/tileset.png b/src/Sandbox/tileset.png new file mode 100644 index 0000000..30c89fd Binary files /dev/null and b/src/Sandbox/tileset.png differ diff --git a/src/Turkey/turkey.gd b/src/Turkey/turkey.gd new file mode 100644 index 0000000..1c84c9d --- /dev/null +++ b/src/Turkey/turkey.gd @@ -0,0 +1,10 @@ +extends CharacterBody2D + +func _ready(): + pass + +func _process(_delta): + pass + +func _physics_process(_delta): + pass diff --git a/src/Turkey/turkey.tscn b/src/Turkey/turkey.tscn new file mode 100644 index 0000000..c440847 --- /dev/null +++ b/src/Turkey/turkey.tscn @@ -0,0 +1,18 @@ +[gd_scene load_steps=4 format=3 uid="uid://xqcydpvayehp"] + +[ext_resource type="Script" path="res://Turkey/turkey.gd" id="1_v5li6"] +[ext_resource type="Texture2D" uid="uid://blr8qcmuqs5vl" path="res://icon.svg" id="1_wfxoc"] + +[sub_resource type="CircleShape2D" id="CircleShape2D_v2xgi"] +radius = 17.0 + +[node name="Turkey" type="CharacterBody2D"] +script = ExtResource("1_v5li6") + +[node name="Sprite2D" type="Sprite2D" parent="."] +modulate = Color(0, 0.698039, 0.45098, 1) +scale = Vector2(0.25, 0.25) +texture = ExtResource("1_wfxoc") + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +shape = SubResource("CircleShape2D_v2xgi") diff --git a/src/icon.svg b/src/icon.svg new file mode 100644 index 0000000..b370ceb --- /dev/null +++ b/src/icon.svg @@ -0,0 +1 @@ + diff --git a/src/project.godot b/src/project.godot new file mode 100644 index 0000000..45f7216 --- /dev/null +++ b/src/project.godot @@ -0,0 +1,44 @@ +; Engine configuration file. +; It's best edited using the editor UI and not directly, +; since the parameters that go here are not all obvious. +; +; Format: +; [section] ; section goes between [] +; param=value ; assign values to parameters + +config_version=5 + +[application] + +config/name="Ludum Dare 54" +run/main_scene="res://Sandbox/sandbox.tscn" +config/features=PackedStringArray("4.2", "GL Compatibility") +config/icon="res://icon.svg" + +[input] + +player_up={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"key_label":0,"unicode":122,"echo":false,"script":null) +] +} +player_down={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"key_label":0,"unicode":115,"echo":false,"script":null) +] +} +player_left={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":113,"echo":false,"script":null) +] +} +player_right={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"key_label":0,"unicode":100,"echo":false,"script":null) +] +} + +[rendering] + +renderer/rendering_method="gl_compatibility" +renderer/rendering_method.mobile="gl_compatibility"