added tilemap added falling and jumping animation added textures for player crate and grenade, camera, game scaling
This commit is contained in:
1 parent
5418f512cd
commit
cdfa1a3f50
61 files changed
+948
-101
No files matched your search
@@ -1,6 +1,7 @@
|
||||
[gd_scene format=3 uid="uid://bsroh4vsjwblh"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://eb5ucqehuof" path="res://Scripts/crate.gd" id="1_wp72f"]
|
||||
[ext_resource type="Texture2D" uid="uid://by11sgqh2p1n0" path="res://assets/graphics/objects/Crate.png" id="2_i4r3v"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ebmjs"]
|
||||
|
||||
@@ -11,3 +12,9 @@ metadata/_edit_group_ = true
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=839343056]
|
||||
shape = SubResource("RectangleShape2D_ebmjs")
|
||||
debug_color = Color(0.8535397, 0.36730364, 0.11225829, 0.41960785)
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=664397442]
|
||||
texture_filter = 1
|
||||
position = Vector2(5.9604645e-08, 5.9604645e-08)
|
||||
scale = Vector2(0.55, 0.55)
|
||||
texture = ExtResource("2_i4r3v")
|
||||
+392
-1
@@ -1,8 +1,10 @@
|
||||
[gd_scene format=3 uid="uid://b06dlp8n6upld"]
|
||||
[gd_scene format=4 uid="uid://b06dlp8n6upld"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bc25u4w35ibeu" path="res://Scripts/gameController.gd" id="1_qxrlw"]
|
||||
[ext_resource type="PackedScene" uid="uid://bsroh4vsjwblh" path="res://Scenes/crate.tscn" id="2_3dryh"]
|
||||
[ext_resource type="Texture2D" uid="uid://ww4meop2wv0c" path="res://assets/graphics/environments/Mossy Assets/Mossy Tileset/Mossy - TileSet.png" id="2_o5yvi"]
|
||||
[ext_resource type="Script" uid="uid://b2otvelhtq7en" path="res://Scripts/SceneManager.gd" id="2_wowpa"]
|
||||
[ext_resource type="Texture2D" uid="uid://piu5ajlnnrqx" path="res://assets/graphics/environments/Mossy Assets/Mossy Tileset/Mossy - MossyHills.png" id="3_rku1e"]
|
||||
[ext_resource type="PackedScene" uid="uid://dmk1mp1hqm62b" path="res://Scenes/player.tscn" id="3_wowpa"]
|
||||
[ext_resource type="Script" uid="uid://4hekg0d8n04f" path="res://Scripts/trigger.gd" id="3_wrm1d"]
|
||||
[ext_resource type="PackedScene" uid="uid://ceyxo0mrrrd6d" path="res://Scenes/grenade.tscn" id="6_h4fw4"]
|
||||
@@ -11,6 +13,390 @@
|
||||
[ext_resource type="PackedScene" uid="uid://d5n7kwhkl4le" path="res://Scenes/dropplet.tscn" id="8_ldgsr"]
|
||||
[ext_resource type="Shader" uid="uid://bvte4ugmua4n3" path="res://Scripts/Fluid.gdshader" id="10_ldgsr"]
|
||||
|
||||
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_rku1e"]
|
||||
texture = ExtResource("2_o5yvi")
|
||||
texture_region_size = Vector2i(512, 512)
|
||||
0:3/0 = 0
|
||||
0:3/0/terrain_set = 0
|
||||
0:3/0/terrain = 0
|
||||
0:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(33.359497, -256, 256, -256, 256, 256, 22.239685, 256)
|
||||
0:3/0/terrains_peering_bit/right_side = 0
|
||||
0:0/0 = 0
|
||||
0:0/0/terrain_set = 0
|
||||
0:0/0/terrain = 0
|
||||
0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-256, -256, 256, -256, 256, 256, -256, 256)
|
||||
0:0/0/terrains_peering_bit/right_side = 0
|
||||
0:0/0/terrains_peering_bit/bottom_right_corner = 0
|
||||
0:0/0/terrains_peering_bit/bottom_side = 0
|
||||
1:0/0 = 0
|
||||
1:0/0/terrain_set = 0
|
||||
1:0/0/terrain = 0
|
||||
1:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-256, -256, 256, -256, 256, 256, -256, 256)
|
||||
1:0/0/terrains_peering_bit/right_side = 0
|
||||
1:0/0/terrains_peering_bit/bottom_right_corner = 0
|
||||
1:0/0/terrains_peering_bit/bottom_side = 0
|
||||
1:0/0/terrains_peering_bit/bottom_left_corner = 0
|
||||
1:0/0/terrains_peering_bit/left_side = 0
|
||||
1:1/0 = 0
|
||||
1:1/0/terrain_set = 0
|
||||
1:1/0/terrain = 0
|
||||
1:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-256, -256, 256, -256, 256, 256, -256, 256)
|
||||
1:1/0/terrains_peering_bit/right_side = 0
|
||||
1:1/0/terrains_peering_bit/bottom_right_corner = 0
|
||||
1:1/0/terrains_peering_bit/bottom_side = 0
|
||||
1:1/0/terrains_peering_bit/bottom_left_corner = 0
|
||||
1:1/0/terrains_peering_bit/left_side = 0
|
||||
1:1/0/terrains_peering_bit/top_left_corner = 0
|
||||
1:1/0/terrains_peering_bit/top_side = 0
|
||||
1:1/0/terrains_peering_bit/top_right_corner = 0
|
||||
2:1/0 = 0
|
||||
2:1/0/terrain_set = 0
|
||||
2:1/0/terrain = 0
|
||||
2:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-256, -256, 256, -256, 256, 256, -256, 256)
|
||||
2:1/0/terrains_peering_bit/bottom_side = 0
|
||||
2:1/0/terrains_peering_bit/bottom_left_corner = 0
|
||||
2:1/0/terrains_peering_bit/left_side = 0
|
||||
2:1/0/terrains_peering_bit/top_left_corner = 0
|
||||
2:1/0/terrains_peering_bit/top_side = 0
|
||||
2:0/0 = 0
|
||||
2:0/0/terrain_set = 0
|
||||
2:0/0/terrain = 0
|
||||
2:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-256, -256, 256, -256, 256, 256, -256, 256)
|
||||
2:0/0/terrains_peering_bit/bottom_side = 0
|
||||
2:0/0/terrains_peering_bit/bottom_left_corner = 0
|
||||
2:0/0/terrains_peering_bit/left_side = 0
|
||||
0:1/0 = 0
|
||||
0:1/0/terrain_set = 0
|
||||
0:1/0/terrain = 0
|
||||
0:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-256, -256, 256, -256, 256, 256, -256, 256)
|
||||
0:1/0/terrains_peering_bit/right_side = 0
|
||||
0:1/0/terrains_peering_bit/bottom_right_corner = 0
|
||||
0:1/0/terrains_peering_bit/bottom_side = 0
|
||||
0:1/0/terrains_peering_bit/top_side = 0
|
||||
0:1/0/terrains_peering_bit/top_right_corner = 0
|
||||
1:2/0 = 0
|
||||
1:2/0/terrain_set = 0
|
||||
1:2/0/terrain = 0
|
||||
1:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-256, -256, 256, -256, 256, 256, -256, 256)
|
||||
1:2/0/terrains_peering_bit/right_side = 0
|
||||
1:2/0/terrains_peering_bit/left_side = 0
|
||||
1:2/0/terrains_peering_bit/top_left_corner = 0
|
||||
1:2/0/terrains_peering_bit/top_side = 0
|
||||
1:2/0/terrains_peering_bit/top_right_corner = 0
|
||||
2:2/0 = 0
|
||||
2:2/0/terrain_set = 0
|
||||
2:2/0/terrain = 0
|
||||
2:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-256, -256, 256, -256, 256, 256, -256, 256)
|
||||
2:2/0/terrains_peering_bit/left_side = 0
|
||||
2:2/0/terrains_peering_bit/top_left_corner = 0
|
||||
2:2/0/terrains_peering_bit/top_side = 0
|
||||
0:2/0 = 0
|
||||
0:2/0/terrain_set = 0
|
||||
0:2/0/terrain = 0
|
||||
0:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-256, -256, 256, -256, 256, 256, -256, 256)
|
||||
0:2/0/terrains_peering_bit/right_side = 0
|
||||
0:2/0/terrains_peering_bit/top_side = 0
|
||||
0:2/0/terrains_peering_bit/top_right_corner = 0
|
||||
3:0/0 = 0
|
||||
3:0/0/terrain_set = 0
|
||||
3:0/0/terrain = 0
|
||||
3:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-256, -256, 256, -256, 256, 256, -256, 256)
|
||||
3:0/0/terrains_peering_bit/bottom_side = 0
|
||||
3:1/0 = 0
|
||||
3:1/0/terrain_set = 0
|
||||
3:1/0/terrain = 0
|
||||
3:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-256, -256, 256, -256, 256, 256, -256, 256)
|
||||
3:1/0/terrains_peering_bit/bottom_side = 0
|
||||
3:1/0/terrains_peering_bit/top_side = 0
|
||||
3:2/0 = 0
|
||||
3:2/0/terrain_set = 0
|
||||
3:2/0/terrain = 0
|
||||
3:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-256, -256, 256, -256, 256, 256, -256, 256)
|
||||
3:2/0/terrains_peering_bit/top_side = 0
|
||||
3:3/0 = 0
|
||||
3:3/0/terrain_set = 0
|
||||
3:3/0/terrain = 0
|
||||
3:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-256, -256, 256, -256, 256, 256, -256, 256)
|
||||
2:4/0 = 0
|
||||
2:4/0/terrain_set = 0
|
||||
2:4/0/terrain = 0
|
||||
2:4/0/terrains_peering_bit/right_side = 0
|
||||
2:4/0/terrains_peering_bit/bottom_side = 0
|
||||
2:4/0/terrains_peering_bit/bottom_left_corner = 0
|
||||
2:4/0/terrains_peering_bit/left_side = 0
|
||||
1:3/0 = 0
|
||||
1:3/0/terrain_set = 0
|
||||
1:3/0/terrain = 0
|
||||
1:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-256, -256, 256, -256, 256, 256, -256, 256)
|
||||
1:3/0/terrains_peering_bit/right_side = 0
|
||||
1:3/0/terrains_peering_bit/left_side = 0
|
||||
2:3/0 = 0
|
||||
2:3/0/terrain_set = 0
|
||||
2:3/0/terrain = 0
|
||||
2:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-256, -256, -44.47937, -256, -55.599182, 256, -256, 256)
|
||||
2:3/0/terrains_peering_bit/left_side = 0
|
||||
0:4/0 = 0
|
||||
0:4/0/terrain_set = 0
|
||||
0:4/0/terrain = 0
|
||||
0:4/0/terrains_peering_bit/right_side = 0
|
||||
0:4/0/terrains_peering_bit/bottom_side = 0
|
||||
0:4/0/terrains_peering_bit/top_side = 0
|
||||
0:4/0/terrains_peering_bit/top_right_corner = 0
|
||||
1:4/0 = 0
|
||||
1:4/0/terrain_set = 0
|
||||
1:4/0/terrain = 0
|
||||
1:4/0/terrains_peering_bit/bottom_side = 0
|
||||
1:4/0/terrains_peering_bit/left_side = 0
|
||||
1:4/0/terrains_peering_bit/top_left_corner = 0
|
||||
1:4/0/terrains_peering_bit/top_side = 0
|
||||
0:5/0 = 0
|
||||
0:5/0/terrain_set = 0
|
||||
0:5/0/terrain = 0
|
||||
0:5/0/terrains_peering_bit/right_side = 0
|
||||
0:5/0/terrains_peering_bit/bottom_right_corner = 0
|
||||
0:5/0/terrains_peering_bit/bottom_side = 0
|
||||
0:5/0/terrains_peering_bit/top_side = 0
|
||||
1:5/0 = 0
|
||||
1:5/0/terrain_set = 0
|
||||
1:5/0/terrain = 0
|
||||
1:5/0/terrains_peering_bit/bottom_side = 0
|
||||
1:5/0/terrains_peering_bit/bottom_left_corner = 0
|
||||
1:5/0/terrains_peering_bit/left_side = 0
|
||||
1:5/0/terrains_peering_bit/top_side = 0
|
||||
0:6/0 = 0
|
||||
0:6/0/terrain_set = 0
|
||||
0:6/0/terrains_peering_bit/right_side = 0
|
||||
0:6/0/terrains_peering_bit/bottom_right_corner = 0
|
||||
0:6/0/terrains_peering_bit/bottom_side = 0
|
||||
0:6/0/terrains_peering_bit/bottom_left_corner = 0
|
||||
0:6/0/terrains_peering_bit/left_side = 0
|
||||
0:6/0/terrains_peering_bit/top_left_corner = 0
|
||||
0:6/0/terrains_peering_bit/top_side = 0
|
||||
0:6/0/terrains_peering_bit/top_right_corner = 0
|
||||
1:6/0 = 0
|
||||
1:6/0/terrain_set = 0
|
||||
1:6/0/terrains_peering_bit/right_side = 0
|
||||
1:6/0/terrains_peering_bit/bottom_right_corner = 0
|
||||
1:6/0/terrains_peering_bit/bottom_side = 0
|
||||
1:6/0/terrains_peering_bit/bottom_left_corner = 0
|
||||
1:6/0/terrains_peering_bit/left_side = 0
|
||||
1:6/0/terrains_peering_bit/top_left_corner = 0
|
||||
1:6/0/terrains_peering_bit/top_side = 0
|
||||
1:6/0/terrains_peering_bit/top_right_corner = 0
|
||||
2:6/0 = 0
|
||||
2:6/0/terrain_set = 0
|
||||
2:6/0/terrain = 0
|
||||
2:6/0/terrains_peering_bit/right_side = 0
|
||||
2:6/0/terrains_peering_bit/bottom_right_corner = 0
|
||||
2:6/0/terrains_peering_bit/bottom_side = 0
|
||||
2:6/0/terrains_peering_bit/left_side = 0
|
||||
2:6/0/terrains_peering_bit/top_left_corner = 0
|
||||
2:6/0/terrains_peering_bit/top_side = 0
|
||||
3:6/0 = 0
|
||||
3:6/0/terrain_set = 0
|
||||
3:6/0/terrain = 0
|
||||
3:6/0/terrains_peering_bit/right_side = 0
|
||||
3:6/0/terrains_peering_bit/bottom_side = 0
|
||||
3:6/0/terrains_peering_bit/bottom_left_corner = 0
|
||||
3:6/0/terrains_peering_bit/left_side = 0
|
||||
3:6/0/terrains_peering_bit/top_side = 0
|
||||
3:6/0/terrains_peering_bit/top_right_corner = 0
|
||||
4:6/0 = 0
|
||||
4:6/0/terrain_set = 0
|
||||
4:6/0/terrain = 0
|
||||
4:6/0/terrains_peering_bit/right_side = 0
|
||||
4:6/0/terrains_peering_bit/top_side = 0
|
||||
5:6/0 = 0
|
||||
5:6/0/terrain_set = 0
|
||||
5:6/0/terrain = 0
|
||||
5:6/0/terrains_peering_bit/right_side = 0
|
||||
5:6/0/terrains_peering_bit/left_side = 0
|
||||
5:6/0/terrains_peering_bit/top_side = 0
|
||||
6:6/0 = 0
|
||||
6:6/0/terrain_set = 0
|
||||
6:6/0/terrain = 0
|
||||
6:6/0/terrains_peering_bit/left_side = 0
|
||||
6:6/0/terrains_peering_bit/top_side = 0
|
||||
6:5/0 = 0
|
||||
6:5/0/terrain_set = 0
|
||||
6:5/0/terrain = 0
|
||||
6:5/0/terrains_peering_bit/bottom_side = 0
|
||||
6:5/0/terrains_peering_bit/left_side = 0
|
||||
6:5/0/terrains_peering_bit/top_side = 0
|
||||
5:5/0 = 0
|
||||
5:5/0/terrain_set = 0
|
||||
5:5/0/terrain = 0
|
||||
5:5/0/terrains_peering_bit/right_side = 0
|
||||
5:5/0/terrains_peering_bit/bottom_side = 0
|
||||
5:5/0/terrains_peering_bit/left_side = 0
|
||||
5:5/0/terrains_peering_bit/top_side = 0
|
||||
4:5/0 = 0
|
||||
4:5/0/terrain_set = 0
|
||||
4:5/0/terrain = 0
|
||||
4:5/0/terrains_peering_bit/right_side = 0
|
||||
4:5/0/terrains_peering_bit/bottom_side = 0
|
||||
4:5/0/terrains_peering_bit/top_side = 0
|
||||
3:5/0 = 0
|
||||
3:5/0/terrain_set = 0
|
||||
3:5/0/terrain = 0
|
||||
3:5/0/terrains_peering_bit/right_side = 0
|
||||
3:5/0/terrains_peering_bit/left_side = 0
|
||||
3:5/0/terrains_peering_bit/top_side = 0
|
||||
3:5/0/terrains_peering_bit/top_right_corner = 0
|
||||
2:5/0 = 0
|
||||
2:5/0/terrain_set = 0
|
||||
2:5/0/terrain = 0
|
||||
2:5/0/terrains_peering_bit/right_side = 0
|
||||
2:5/0/terrains_peering_bit/left_side = 0
|
||||
2:5/0/terrains_peering_bit/top_left_corner = 0
|
||||
2:5/0/terrains_peering_bit/top_side = 0
|
||||
3:4/0 = 0
|
||||
3:4/0/terrain_set = 0
|
||||
3:4/0/terrain = 0
|
||||
3:4/0/terrains_peering_bit/right_side = 0
|
||||
3:4/0/terrains_peering_bit/bottom_right_corner = 0
|
||||
3:4/0/terrains_peering_bit/bottom_side = 0
|
||||
3:4/0/terrains_peering_bit/left_side = 0
|
||||
4:4/0 = 0
|
||||
4:4/0/terrain_set = 0
|
||||
4:4/0/terrain = 0
|
||||
4:4/0/terrains_peering_bit/right_side = 0
|
||||
4:4/0/terrains_peering_bit/bottom_side = 0
|
||||
5:4/0 = 0
|
||||
5:4/0/terrain_set = 0
|
||||
5:4/0/terrain = 0
|
||||
5:4/0/terrains_peering_bit/right_side = 0
|
||||
5:4/0/terrains_peering_bit/bottom_side = 0
|
||||
5:4/0/terrains_peering_bit/left_side = 0
|
||||
6:4/0 = 0
|
||||
6:4/0/terrain_set = 0
|
||||
6:4/0/terrain = 0
|
||||
6:4/0/terrains_peering_bit/bottom_side = 0
|
||||
6:4/0/terrains_peering_bit/left_side = 0
|
||||
6:3/0 = 0
|
||||
6:3/0/terrain_set = 0
|
||||
6:3/0/terrain = 0
|
||||
6:3/0/terrains_peering_bit/right_side = 0
|
||||
6:3/0/terrains_peering_bit/bottom_side = 0
|
||||
6:3/0/terrains_peering_bit/left_side = 0
|
||||
6:3/0/terrains_peering_bit/top_left_corner = 0
|
||||
6:3/0/terrains_peering_bit/top_side = 0
|
||||
6:3/0/terrains_peering_bit/top_right_corner = 0
|
||||
5:3/0 = 0
|
||||
5:3/0/terrain_set = 0
|
||||
5:3/0/terrain = 0
|
||||
5:3/0/terrains_peering_bit/right_side = 0
|
||||
5:3/0/terrains_peering_bit/bottom_right_corner = 0
|
||||
5:3/0/terrains_peering_bit/bottom_side = 0
|
||||
5:3/0/terrains_peering_bit/left_side = 0
|
||||
5:3/0/terrains_peering_bit/top_side = 0
|
||||
4:3/0 = 0
|
||||
4:3/0/terrain_set = 0
|
||||
4:3/0/terrain = 0
|
||||
4:3/0/terrains_peering_bit/right_side = 0
|
||||
4:3/0/terrains_peering_bit/bottom_side = 0
|
||||
4:3/0/terrains_peering_bit/left_side = 0
|
||||
4:3/0/terrains_peering_bit/top_left_corner = 0
|
||||
4:3/0/terrains_peering_bit/top_side = 0
|
||||
4:2/0 = 0
|
||||
4:2/0/terrain_set = 0
|
||||
4:2/0/terrain = 0
|
||||
4:2/0/terrains_peering_bit/right_side = 0
|
||||
4:2/0/terrains_peering_bit/bottom_side = 0
|
||||
4:2/0/terrains_peering_bit/bottom_left_corner = 0
|
||||
4:2/0/terrains_peering_bit/left_side = 0
|
||||
4:2/0/terrains_peering_bit/top_side = 0
|
||||
5:2/0 = 0
|
||||
5:2/0/terrain_set = 0
|
||||
5:2/0/terrain = 0
|
||||
5:2/0/terrains_peering_bit/right_side = 0
|
||||
5:2/0/terrains_peering_bit/bottom_side = 0
|
||||
5:2/0/terrains_peering_bit/left_side = 0
|
||||
5:2/0/terrains_peering_bit/top_side = 0
|
||||
5:2/0/terrains_peering_bit/top_right_corner = 0
|
||||
6:2/0 = 0
|
||||
6:2/0/terrain_set = 0
|
||||
6:2/0/terrain = 0
|
||||
6:2/0/terrains_peering_bit/right_side = 0
|
||||
6:2/0/terrains_peering_bit/bottom_side = 0
|
||||
6:2/0/terrains_peering_bit/bottom_left_corner = 0
|
||||
6:2/0/terrains_peering_bit/left_side = 0
|
||||
6:2/0/terrains_peering_bit/top_left_corner = 0
|
||||
6:2/0/terrains_peering_bit/top_side = 0
|
||||
6:1/0 = 0
|
||||
6:1/0/terrain_set = 0
|
||||
6:1/0/terrain = 0
|
||||
6:1/0/terrains_peering_bit/right_side = 0
|
||||
6:1/0/terrains_peering_bit/bottom_right_corner = 0
|
||||
6:1/0/terrains_peering_bit/bottom_side = 0
|
||||
6:1/0/terrains_peering_bit/left_side = 0
|
||||
6:1/0/terrains_peering_bit/top_side = 0
|
||||
6:1/0/terrains_peering_bit/top_right_corner = 0
|
||||
5:1/0 = 0
|
||||
5:1/0/terrain_set = 0
|
||||
5:1/0/terrain = 0
|
||||
5:1/0/terrains_peering_bit/right_side = 0
|
||||
5:1/0/terrains_peering_bit/bottom_right_corner = 0
|
||||
5:1/0/terrains_peering_bit/bottom_side = 0
|
||||
5:1/0/terrains_peering_bit/bottom_left_corner = 0
|
||||
5:1/0/terrains_peering_bit/left_side = 0
|
||||
5:1/0/terrains_peering_bit/top_side = 0
|
||||
5:1/0/terrains_peering_bit/top_right_corner = 0
|
||||
4:1/0 = 0
|
||||
4:1/0/terrain_set = 0
|
||||
4:1/0/terrain = 0
|
||||
4:1/0/terrains_peering_bit/right_side = 0
|
||||
4:1/0/terrains_peering_bit/bottom_right_corner = 0
|
||||
4:1/0/terrains_peering_bit/bottom_side = 0
|
||||
4:1/0/terrains_peering_bit/bottom_left_corner = 0
|
||||
4:1/0/terrains_peering_bit/left_side = 0
|
||||
4:1/0/terrains_peering_bit/top_left_corner = 0
|
||||
4:1/0/terrains_peering_bit/top_side = 0
|
||||
4:0/0 = 0
|
||||
4:0/0/terrain_set = 0
|
||||
4:0/0/terrain = 0
|
||||
4:0/0/terrains_peering_bit/right_side = 0
|
||||
4:0/0/terrains_peering_bit/bottom_side = 0
|
||||
4:0/0/terrains_peering_bit/bottom_left_corner = 0
|
||||
4:0/0/terrains_peering_bit/left_side = 0
|
||||
4:0/0/terrains_peering_bit/top_left_corner = 0
|
||||
4:0/0/terrains_peering_bit/top_side = 0
|
||||
4:0/0/terrains_peering_bit/top_right_corner = 0
|
||||
5:0/0 = 0
|
||||
5:0/0/terrain_set = 0
|
||||
5:0/0/terrain = 0
|
||||
5:0/0/terrains_peering_bit/right_side = 0
|
||||
5:0/0/terrains_peering_bit/bottom_right_corner = 0
|
||||
5:0/0/terrains_peering_bit/bottom_side = 0
|
||||
5:0/0/terrains_peering_bit/left_side = 0
|
||||
5:0/0/terrains_peering_bit/top_left_corner = 0
|
||||
5:0/0/terrains_peering_bit/top_side = 0
|
||||
5:0/0/terrains_peering_bit/top_right_corner = 0
|
||||
6:0/0 = 0
|
||||
6:0/0/terrain_set = 0
|
||||
6:0/0/terrain = 0
|
||||
6:0/0/terrains_peering_bit/right_side = 0
|
||||
6:0/0/terrains_peering_bit/bottom_right_corner = 0
|
||||
6:0/0/terrains_peering_bit/bottom_side = 0
|
||||
6:0/0/terrains_peering_bit/bottom_left_corner = 0
|
||||
6:0/0/terrains_peering_bit/left_side = 0
|
||||
6:0/0/terrains_peering_bit/top_side = 0
|
||||
|
||||
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_rfjv2"]
|
||||
texture = ExtResource("3_rku1e")
|
||||
texture_region_size = Vector2i(512, 512)
|
||||
|
||||
[sub_resource type="TileSet" id="TileSet_rfjv2"]
|
||||
tile_size = Vector2i(512, 512)
|
||||
physics_layer_0/collision_layer = 1
|
||||
terrain_set_0/mode = 0
|
||||
terrain_set_0/terrain_0/name = "normal"
|
||||
terrain_set_0/terrain_0/color = Color(0.5, 0.34375, 0.25, 1)
|
||||
terrain_set_0/terrain_1/name = "forground 1"
|
||||
terrain_set_0/terrain_1/color = Color(0.5, 0.4375, 0.25, 1)
|
||||
sources/0 = SubResource("TileSetAtlasSource_rku1e")
|
||||
sources/1 = SubResource("TileSetAtlasSource_rfjv2")
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2poj3"]
|
||||
size = Vector2(178, 20)
|
||||
|
||||
@@ -43,6 +429,11 @@ size = Vector2(33, 103)
|
||||
[node name="Game" type="Node2D" unique_id=1698001017]
|
||||
script = ExtResource("1_qxrlw")
|
||||
|
||||
[node name="TileMapLayer" type="TileMapLayer" parent="." unique_id=522097850]
|
||||
scale = Vector2(0.05, 0.05)
|
||||
tile_map_data = PackedByteArray("AAAHAA8AAAAAAAMAAAAIAA8AAAADAAUAAAAJAA8AAAACAAIAAAAKAA4AAAACAAMAAAAJAA4AAAACAAQAAAAIAA4AAAAAAAAAAAA=")
|
||||
tile_set = SubResource("TileSet_rfjv2")
|
||||
|
||||
[node name="SceneManager" type="Node2D" parent="." unique_id=782186168]
|
||||
unique_name_in_owner = true
|
||||
script = ExtResource("2_wowpa")
|
||||
|
||||
+8
-1
@@ -1,9 +1,10 @@
|
||||
[gd_scene format=3 uid="uid://ceyxo0mrrrd6d"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://jrqdl3mm7rly" path="res://Scripts/grenade.gd" id="1_v44n1"]
|
||||
[ext_resource type="Texture2D" uid="uid://cxcodns65xvhr" path="res://assets/graphics/objects/grenade.png" id="2_5rnft"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_b5j7x"]
|
||||
radius = 2.0
|
||||
radius = 8.0
|
||||
|
||||
[node name="Grenade" type="RigidBody2D" unique_id=1290284523]
|
||||
contact_monitor = true
|
||||
@@ -14,4 +15,10 @@ script = ExtResource("1_v44n1")
|
||||
shape = SubResource("CircleShape2D_b5j7x")
|
||||
debug_color = Color(0.81547993, 0.40661094, 1.1551381e-06, 1)
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1935858703]
|
||||
texture_filter = 1
|
||||
position = Vector2(0, 1.000001)
|
||||
scale = Vector2(2.0924313, 2.4917161)
|
||||
texture = ExtResource("2_5rnft")
|
||||
|
||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
||||
+40
-2
@@ -3,6 +3,7 @@
|
||||
[ext_resource type="Script" uid="uid://btmoyp0rwqmxe" path="res://Scripts/player.gd" id="1_v0iea"]
|
||||
[ext_resource type="Texture2D" uid="uid://c87goe3qmmrv0" path="res://assets/graphics/player/Running/player run 48x48.png" id="2_6t5aa"]
|
||||
[ext_resource type="Texture2D" uid="uid://p72rbg7thsvi" path="res://assets/graphics/player/idle/Player Idle 48x48.png" id="2_cvnsp"]
|
||||
[ext_resource type="Texture2D" uid="uid://b524p0lnj8ftn" path="res://assets/graphics/player/jump_fall/player jump 48x48.png" id="3_vgqql"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_2poj3"]
|
||||
|
||||
@@ -38,6 +39,10 @@ region = Rect2(288, 0, 48, 48)
|
||||
atlas = ExtResource("2_6t5aa")
|
||||
region = Rect2(336, 0, 48, 48)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_olqyp"]
|
||||
atlas = ExtResource("3_vgqql")
|
||||
region = Rect2(96, 0, 48, 48)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_6t5aa"]
|
||||
atlas = ExtResource("2_cvnsp")
|
||||
region = Rect2(0, 0, 48, 48)
|
||||
@@ -78,6 +83,14 @@ region = Rect2(384, 0, 48, 48)
|
||||
atlas = ExtResource("2_cvnsp")
|
||||
region = Rect2(432, 0, 48, 48)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_wpjfl"]
|
||||
atlas = ExtResource("3_vgqql")
|
||||
region = Rect2(0, 0, 48, 48)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_bi64h"]
|
||||
atlas = ExtResource("3_vgqql")
|
||||
region = Rect2(48, 0, 48, 48)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_ukyrk"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
@@ -111,6 +124,14 @@ animations = [{
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_olqyp")
|
||||
}],
|
||||
"loop": false,
|
||||
"name": &"fall",
|
||||
"speed": 12.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_6t5aa")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
@@ -143,6 +164,17 @@ animations = [{
|
||||
"loop": true,
|
||||
"name": &"idle",
|
||||
"speed": 12.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_wpjfl")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_bi64h")
|
||||
}],
|
||||
"loop": false,
|
||||
"name": &"jump",
|
||||
"speed": 12.0
|
||||
}]
|
||||
|
||||
[node name="Player" type="CharacterBody2D" unique_id=56223176]
|
||||
@@ -169,6 +201,12 @@ position = Vector2(-15, -5)
|
||||
[node name="PlayerGraphic" type="AnimatedSprite2D" parent="." unique_id=1409812048]
|
||||
position = Vector2(0, -6)
|
||||
sprite_frames = SubResource("SpriteFrames_ukyrk")
|
||||
animation = &"Run"
|
||||
animation = &"fall"
|
||||
autoplay = "idle"
|
||||
frame_progress = 0.013636588
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="." unique_id=371485913]
|
||||
offset = Vector2(0, -50)
|
||||
position_smoothing_enabled = true
|
||||
rotation_smoothing_enabled = true
|
||||
|
||||
[connection signal="animation_finished" from="PlayerGraphic" to="." method="_on_player_graphic_animation_finished"]
|
||||
Reference in new issue
Block a user