Add Level 0B

This commit is contained in:
Olivier 'reivilibre' 2023-01-09 19:31:39 +00:00
parent 21ec8dd5a2
commit e5921f6e0e
6 changed files with 216 additions and 1 deletions

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=11 format=2]
[gd_scene load_steps=12 format=2]
[ext_resource path="res://scenery/tiles/ohld_tileset.tres" type="TileSet" id=1]
[ext_resource path="res://characters/player/Player.tscn" type="PackedScene" id=2]
@ -10,6 +10,7 @@
[ext_resource path="res://ui/Hud.tscn" type="PackedScene" id=8]
[ext_resource path="res://scenery/game_logo.png" type="Texture" id=9]
[ext_resource path="res://scenery/level_0a.png" type="Texture" id=10]
[ext_resource path="res://scenery/LevelWalls.tscn" type="PackedScene" id=11]
[node name="Level0A" type="Node2D"]
@ -63,6 +64,8 @@ position = Vector2( 984, 234 )
[node name="MarkerRoadPoint" type="Node2D" parent="World"]
position = Vector2( 624, 776 )
[node name="Walls" parent="World" instance=ExtResource( 11 )]
[node name="Controls" type="Sprite" parent="."]
position = Vector2( 1320, 116 )
texture = ExtResource( 3 )

144
levels/Level0B.tscn Normal file
View File

@ -0,0 +1,144 @@
[gd_scene load_steps=19 format=2]
[ext_resource path="res://scenery/tiles/ohld_tileset.tres" type="TileSet" id=1]
[ext_resource path="res://characters/player/Player.tscn" type="PackedScene" id=2]
[ext_resource path="res://ui/game_controls_bow.png" type="Texture" id=3]
[ext_resource path="res://scenery/tiles/ohld_road.tres" type="TileSet" id=4]
[ext_resource path="res://scenery/facilities/Press.tscn" type="PackedScene" id=5]
[ext_resource path="res://scenery/facilities/OliveTree.tscn" type="PackedScene" id=6]
[ext_resource path="res://scenery/facilities/Wheelbarrow.tscn" type="PackedScene" id=7]
[ext_resource path="res://ui/Hud.tscn" type="PackedScene" id=8]
[ext_resource path="res://scenery/game_logo.png" type="Texture" id=9]
[ext_resource path="res://scenery/level_0b.png" type="Texture" id=10]
[ext_resource path="res://scenery/LevelWalls.tscn" type="PackedScene" id=11]
[sub_resource type="NavigationPolygon" id=1]
vertices = PoolVector2Array( 432, -22, 918, -30, 920, 185, 434, 188 )
polygons = [ PoolIntArray( 0, 1, 2, 3 ) ]
outlines = [ PoolVector2Array( 432, -22, 918, -30, 920, 185, 434, 188 ) ]
[sub_resource type="NavigationPolygon" id=2]
vertices = PoolVector2Array( 436, -28, 439, 379, -22, 388, -27, -26 )
polygons = [ PoolIntArray( 0, 1, 2, 3 ) ]
outlines = [ PoolVector2Array( 436, -28, 439, 379, -22, 388, -27, -26 ) ]
[sub_resource type="NavigationPolygon" id=3]
vertices = PoolVector2Array( -27, 386, 52, 387, 59, 936, -42, 942 )
polygons = [ PoolIntArray( 0, 1, 2, 3 ) ]
outlines = [ PoolVector2Array( -27, 386, 52, 387, 59, 936, -42, 942 ) ]
[sub_resource type="NavigationPolygon" id=4]
vertices = PoolVector2Array( 59, 934, 51, 700, 585, 702, 915, 931, 910, 572, 584, 572 )
polygons = [ PoolIntArray( 0, 1, 2, 3 ), PoolIntArray( 4, 3, 2, 5 ) ]
outlines = [ PoolVector2Array( 51, 700, 585, 702, 584, 572, 910, 572, 915, 931, 59, 934 ) ]
[sub_resource type="NavigationPolygon" id=5]
vertices = PoolVector2Array( 907, -33, 1613, -25, 1615, 934, 918, 934 )
polygons = [ PoolIntArray( 0, 1, 2, 3 ) ]
outlines = [ PoolVector2Array( 907, -33, 1613, -25, 1615, 934, 918, 934 ) ]
[sub_resource type="NavigationPolygon" id=6]
vertices = PoolVector2Array( 244, 697, 203, 698, 205, 631, 242, 633, 114, 570, 440, 574, 441, 635, 70, 629, 70, 445, 111, 504, 455, 444, 455, 506 )
polygons = [ PoolIntArray( 0, 1, 2, 3 ), PoolIntArray( 4, 5, 6, 3, 2 ), PoolIntArray( 4, 2, 7 ), PoolIntArray( 4, 7, 8, 9 ), PoolIntArray( 9, 8, 10, 11 ) ]
outlines = [ PoolVector2Array( 244, 697, 242, 633, 441, 635, 440, 574, 114, 570, 111, 504, 455, 506, 455, 444, 70, 445, 70, 629, 205, 631, 203, 698 ) ]
[sub_resource type="NavigationPolygon" id=7]
vertices = PoolVector2Array( 675, 456, 663, 254, 886, 255, 886, 500, 819, 503, 719, 500, 819, 568, 716, 565, 563, 496, 457, 457, 460, 629, 561, 632 )
polygons = [ PoolIntArray( 0, 1, 2, 3, 4, 5 ), PoolIntArray( 4, 6, 7, 5 ), PoolIntArray( 0, 5, 8, 9 ), PoolIntArray( 10, 9, 8, 11 ) ]
outlines = [ PoolVector2Array( 819, 568, 819, 503, 886, 500, 886, 255, 663, 254, 675, 456, 457, 457, 460, 629, 561, 632, 563, 496, 719, 500, 716, 565 ) ]
[node name="Level0B" type="Node2D"]
[node name="World" type="Node2D" parent="."]
[node name="TileMapGround" type="TileMap" parent="World"]
tile_set = ExtResource( 1 )
format = 1
tile_data = PoolIntArray( 0, 0, 0, 1, 0, 0, 2, 0, 0, 3, 0, 0, 4, 0, 0, 5, 0, 0, 6, 0, 0, 7, 0, 0, 8, 0, 0, 9, 0, 0, 10, 0, 0, 11, 0, 0, 12, 0, 0, 13, 0, 0, 14, 0, 0, 15, 0, 0, 16, 0, 0, 17, 0, 0, 18, 0, 0, 19, 0, 0, 20, 0, 0, 21, 0, 0, 22, 0, 0, 23, 0, 0, 24, 0, 0, 65536, 0, 0, 65537, 0, 0, 65538, 0, 0, 65539, 0, 0, 65540, 0, 0, 65541, 0, 0, 65542, 0, 0, 65543, 0, 0, 65544, 0, 0, 65545, 0, 0, 65546, 0, 0, 65547, 0, 0, 65548, 0, 0, 65549, 0, 0, 65550, 0, 0, 65551, 0, 0, 65552, 0, 0, 65553, 0, 0, 65554, 0, 0, 65555, 0, 0, 65556, 0, 0, 65557, 0, 0, 65558, 0, 0, 65559, 0, 0, 65560, 0, 0, 131072, 0, 0, 131073, 0, 0, 131074, 0, 0, 131075, 0, 0, 131076, 0, 0, 131077, 0, 0, 131078, 0, 0, 131079, 0, 0, 131080, 0, 0, 131081, 0, 0, 131082, 0, 0, 131083, 0, 0, 131084, 0, 0, 131085, 0, 0, 131086, 0, 0, 131087, 0, 0, 131088, 0, 0, 131089, 0, 0, 131090, 0, 0, 131091, 0, 0, 131092, 0, 0, 131093, 0, 0, 131094, 0, 0, 131095, 0, 0, 131096, 0, 0, 196608, 0, 0, 196609, 0, 0, 196610, 0, 0, 196611, 0, 0, 196612, 0, 0, 196613, 0, 0, 196614, 0, 0, 196615, 8, 0, 196616, 8, 0, 196617, 8, 0, 196618, 8, 0, 196619, 8, 0, 196620, 8, 0, 196621, 8, 0, 196622, 0, 0, 196623, 0, 0, 196624, 0, 0, 196625, 0, 0, 196626, 0, 0, 196627, 0, 0, 196628, 0, 0, 196629, 0, 0, 196630, 0, 0, 196631, 0, 0, 196632, 0, 0, 262144, 0, 0, 262145, 0, 0, 262146, 0, 0, 262147, 0, 0, 262148, 0, 0, 262149, 0, 0, 262150, 0, 0, 262151, 8, 0, 262152, 8, 0, 262153, 8, 0, 262154, 8, 0, 262155, 8, 0, 262156, 8, 0, 262157, 8, 0, 262158, 0, 0, 262159, 0, 0, 262160, 0, 0, 262161, 0, 0, 262162, 0, 0, 262163, 0, 0, 262164, 0, 0, 262165, 0, 0, 262166, 0, 0, 262167, 0, 0, 262168, 0, 0, 327680, 0, 0, 327681, 0, 0, 327682, 0, 0, 327683, 0, 0, 327684, 0, 0, 327685, 0, 0, 327686, 0, 0, 327687, 8, 0, 327688, 8, 0, 327689, 8, 0, 327690, 8, 0, 327691, 8, 0, 327692, 8, 0, 327693, 8, 0, 327694, 0, 0, 327695, 0, 0, 327696, 0, 0, 327697, 0, 0, 327698, 0, 0, 327699, 0, 0, 327700, 0, 0, 327701, 0, 0, 327702, 0, 0, 327703, 0, 0, 327704, 0, 0, 393216, 0, 0, 393217, 8, 0, 393218, 8, 0, 393219, 8, 0, 393220, 8, 0, 393221, 8, 0, 393222, 8, 0, 393223, 8, 0, 393224, 8, 0, 393225, 8, 0, 393226, 8, 0, 393227, 8, 0, 393228, 8, 0, 393229, 8, 0, 393230, 0, 0, 393231, 0, 0, 393232, 0, 0, 393233, 0, 0, 393234, 0, 0, 393235, 0, 0, 393236, 0, 0, 393237, 0, 0, 393238, 0, 0, 393239, 0, 0, 393240, 0, 0, 458752, 0, 0, 458753, 8, 0, 458754, 8, 0, 458755, 8, 0, 458756, 8, 0, 458757, 8, 0, 458758, 8, 0, 458759, 8, 0, 458760, 8, 0, 458761, 8, 0, 458762, 8, 0, 458763, 8, 0, 458764, 8, 0, 458765, 8, 0, 458766, 0, 0, 458767, 0, 0, 458768, 0, 0, 458769, 0, 0, 458770, 0, 0, 458771, 0, 0, 458772, 0, 0, 458773, 0, 0, 458774, 0, 0, 458775, 0, 0, 458776, 0, 0, 524288, 0, 0, 524289, 8, 0, 524290, 8, 0, 524291, 8, 0, 524292, 8, 0, 524293, 8, 0, 524294, 8, 0, 524295, 8, 0, 524296, 8, 0, 524297, 0, 0, 524298, 10, 0, 524299, 10, 0, 524300, 10, 0, 524301, 10, 0, 524302, 0, 0, 524303, 0, 0, 524304, 0, 0, 524305, 0, 0, 524306, 0, 0, 524307, 0, 0, 524308, 0, 0, 524309, 0, 0, 524310, 0, 0, 524311, 0, 0, 524312, 0, 0, 589824, 0, 0, 589825, 8, 0, 589826, 8, 0, 589827, 8, 0, 589828, 8, 0, 589829, 8, 0, 589830, 8, 0, 589831, 8, 0, 589832, 8, 0, 589833, 0, 0, 589834, 0, 0, 589835, 0, 0, 589836, 0, 0, 589837, 0, 0, 589838, 0, 0, 589839, 0, 0, 589840, 0, 0, 589841, 0, 0, 589842, 0, 0, 589843, 0, 0, 589844, 0, 0, 589845, 0, 0, 589846, 0, 0, 589847, 0, 0, 589848, 0, 0, 655360, 0, 0, 655361, 0, 0, 655362, 10, 0, 655363, 10, 0, 655364, 0, 0, 655365, 0, 0, 655366, 10, 0, 655367, 0, 0, 655368, 0, 0, 655369, 0, 0, 655370, 0, 0, 655371, 0, 0, 655372, 0, 0, 655373, 0, 0, 655374, 0, 0, 655375, 0, 0, 655376, 0, 0, 655377, 0, 0, 655378, 0, 0, 655379, 0, 0, 655380, 0, 0, 655381, 0, 0, 655382, 0, 0, 655383, 0, 0, 655384, 0, 0, 720896, 0, 0, 720897, 0, 0, 720898, 0, 0, 720899, 0, 0, 720900, 0, 0, 720901, 0, 0, 720902, 0, 0, 720903, 0, 0, 720904, 0, 0, 720905, 0, 0, 720906, 0, 0, 720907, 0, 0, 720908, 0, 0, 720909, 0, 0, 720910, 0, 0, 720911, 0, 0, 720912, 0, 0, 720913, 0, 0, 720914, 0, 0, 720915, 0, 0, 720916, 0, 0, 720917, 0, 0, 720918, 0, 0, 720919, 0, 0, 720920, 0, 0, 786432, 0, 0, 786433, 0, 0, 786434, 0, 0, 786435, 0, 0, 786436, 0, 0, 786437, 0, 0, 786438, 0, 0, 786439, 0, 0, 786440, 0, 0, 786441, 0, 0, 786442, 0, 0, 786443, 0, 0, 786444, 0, 0, 786445, 0, 0, 786446, 0, 0, 786447, 0, 0, 786448, 0, 0, 786449, 0, 0, 786450, 0, 0, 786451, 0, 0, 786452, 0, 0, 786453, 0, 0, 786454, 0, 0, 786455, 0, 0, 786456, 0, 0, 851968, 0, 0, 851969, 0, 0, 851970, 0, 0, 851971, 0, 0, 851972, 0, 0, 851973, 0, 0, 851974, 0, 0, 851975, 0, 0, 851976, 0, 0, 851977, 0, 0, 851978, 0, 0, 851979, 0, 0, 851980, 0, 0, 851981, 0, 0, 851982, 0, 0, 851983, 0, 0, 851984, 0, 0, 851985, 0, 0, 851986, 0, 0, 851987, 0, 0, 851988, 0, 0, 851989, 0, 0, 851990, 0, 0, 851991, 0, 0, 851992, 0, 0 )
[node name="TileMapGroundExtra" type="TileMap" parent="World"]
tile_set = ExtResource( 4 )
format = 1
tile_data = PoolIntArray( 851964, 0, 0, 786432, 0, 0, 786436, 0, 0, 786440, 0, 0, 786444, 0, 0, 786448, 0, 0, 786452, 0, 0, 786456, 0, 0 )
[node name="TileMapWalls" type="TileMap" parent="World"]
tile_set = ExtResource( 1 )
format = 1
tile_data = PoolIntArray( 196614, 5, 0, 196615, 1, 0, 196616, 1, 0, 196617, 1, 0, 196618, 1, 0, 196619, 1, 0, 196620, 1, 0, 196621, 1, 0, 196622, 6, 0, 262150, 4, 0, 262158, 7, 0, 327686, 4, 0, 327694, 7, 0, 393216, 5, 0, 393217, 1, 0, 393218, 1, 0, 393219, 1, 0, 393220, 1, 0, 393221, 1, 0, 393222, 1, 0, 393230, 7, 0, 458752, 4, 0, 458766, 7, 0, 524288, 4, 0, 524289, 3, 0, 524290, 1, 0, 524291, 1, 0, 524292, 1, 0, 524293, 1, 0, 524294, 1, 0, 524295, 6, 0, 524296, 5, 0, 524297, 1, 0, 524298, 1, 0, 524299, 2, 0, 524300, 3, 0, 524301, 1, 0, 524302, 2, 0, 589824, 4, 0, 589831, 7, 0, 589832, 4, 0, 655360, 3, 0, 655361, 1, 0, 655362, 1, 0, 655363, 9, 0, 655364, 1, 0, 655365, 1, 0, 655366, 1, 0, 655367, 1, 0, 655368, 1, 0 )
[node name="GameLogo" type="Sprite" parent="World"]
position = Vector2( 287, 564 )
scale = Vector2( 0.8, 0.8 )
texture = ExtResource( 9 )
offset = Vector2( 0, -32 )
[node name="LevelName" type="Sprite" parent="World"]
position = Vector2( 126, 690 )
scale = Vector2( 0.8, 0.8 )
texture = ExtResource( 10 )
offset = Vector2( 0, -28 )
[node name="YSort" type="YSort" parent="World"]
z_index = 5
[node name="Player" parent="World/YSort" instance=ExtResource( 2 )]
position = Vector2( 110, 618 )
[node name="Press" parent="World/YSort" instance=ExtResource( 5 )]
position = Vector2( 571, 402 )
[node name="Wheelbarrow" parent="World/YSort" instance=ExtResource( 7 )]
position = Vector2( 840, 274 )
[node name="OliveTree" parent="World/YSort" instance=ExtResource( 6 )]
position = Vector2( 1430, 590 )
[node name="OliveTree2" parent="World/YSort" instance=ExtResource( 6 )]
position = Vector2( 1301, 368 )
[node name="OliveTree3" parent="World/YSort" instance=ExtResource( 6 )]
position = Vector2( 1063, 482 )
[node name="OliveTree4" parent="World/YSort" instance=ExtResource( 6 )]
position = Vector2( 240, 248 )
[node name="MarkerRoadPoint" type="Node2D" parent="World"]
position = Vector2( 256, 776 )
[node name="LevelWalls" parent="World" instance=ExtResource( 11 )]
[node name="NavigationPolygonInstance2" type="NavigationPolygonInstance" parent="World"]
navpoly = SubResource( 1 )
travel_cost = 0.0
[node name="NavigationPolygonInstance" type="NavigationPolygonInstance" parent="World"]
navpoly = SubResource( 2 )
travel_cost = 0.0
[node name="NavigationPolygonInstance3" type="NavigationPolygonInstance" parent="World"]
navpoly = SubResource( 3 )
travel_cost = 0.0
[node name="NavigationPolygonInstance4" type="NavigationPolygonInstance" parent="World"]
navpoly = SubResource( 4 )
travel_cost = 0.0
[node name="NavigationPolygonInstance5" type="NavigationPolygonInstance" parent="World"]
navpoly = SubResource( 5 )
travel_cost = 0.0
[node name="NavigationPolygonInstance6" type="NavigationPolygonInstance" parent="World"]
navpoly = SubResource( 6 )
travel_cost = 0.0
[node name="NavigationPolygonInstance7" type="NavigationPolygonInstance" parent="World"]
navpoly = SubResource( 7 )
travel_cost = 0.0
[node name="Controls" type="Sprite" parent="."]
position = Vector2( 1320, 116 )
texture = ExtResource( 3 )
[node name="Hud" parent="." instance=ExtResource( 8 )]
next_level = "Level0B"
max_slugs_per_group = 1

27
scenery/LevelWalls.tscn Normal file
View File

@ -0,0 +1,27 @@
[gd_scene load_steps=3 format=2]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 10, 458.5 )
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 807, 8.5 )
[node name="Walls" type="StaticBody2D"]
collision_mask = 0
constant_linear_velocity = Vector2( 1, 0 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 0, 448.5 )
shape = SubResource( 1 )
[node name="CollisionShape2D2" type="CollisionShape2D" parent="."]
position = Vector2( 1596, 448.5 )
shape = SubResource( 1 )
[node name="CollisionShape2D3" type="CollisionShape2D" parent="."]
position = Vector2( 799, -1.5 )
shape = SubResource( 2 )
[node name="CollisionShape2D4" type="CollisionShape2D" parent="."]
position = Vector2( 799, 902.5 )
shape = SubResource( 2 )

BIN
scenery/level_0b.kra (Stored with Git LFS) Normal file

Binary file not shown.

BIN
scenery/level_0b.png (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/level_0b.png-a3e61d76735d6a79557ddb20c17a16fb.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://scenery/level_0b.png"
dest_files=[ "res://.import/level_0b.png-a3e61d76735d6a79557ddb20c17a16fb.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0