tidy up and add level 2

This commit is contained in:
Fusselkater 2022-07-17 17:08:39 +02:00
parent b02f784d5b
commit 577ba29409
83 changed files with 1027 additions and 247 deletions

View file

@ -13,3 +13,5 @@ Game written in Godot for AI Game Jam of the RUB
- https://opengameart.org/content/space-background-1 - https://opengameart.org/content/space-background-1
- https://opengameart.org/content/another-space-background-track - https://opengameart.org/content/another-space-background-track
- https://www.kenney.nl/ - https://www.kenney.nl/
- https://opengameart.org/content/creepy-forest-f
- https://opengameart.org/content/space-parallax-background

BIN
common/player_head.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

View file

@ -2,15 +2,15 @@
importer="texture" importer="texture"
type="StreamTexture" type="StreamTexture"
path="res://.import/platformerBricks.png-2e4bf2684e8ead47bc4a968f026df69b.stex" path="res://.import/player_head.png-18f855871bcb98ac1a162474e24ccede.stex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://assets/platformerBricks.png" source_file="res://common/player_head.png"
dest_files=[ "res://.import/platformerBricks.png-2e4bf2684e8ead47bc4a968f026df69b.stex" ] dest_files=[ "res://.import/player_head.png-18f855871bcb98ac1a162474e24ccede.stex" ]
[params] [params]

View file

@ -2,12 +2,12 @@
importer="wav" importer="wav"
type="AudioStreamSample" type="AudioStreamSample"
path="res://.import/alarm.wav-c3e7b25a568348a8b0830b017523029b.sample" path="res://.import/alarm.wav-666d7174ae6e34fdc7d914a09fcca6d5.sample"
[deps] [deps]
source_file="res://assets/soundeffects/alarm.wav" source_file="res://common/soundeffects/alarm.wav"
dest_files=[ "res://.import/alarm.wav-c3e7b25a568348a8b0830b017523029b.sample" ] dest_files=[ "res://.import/alarm.wav-666d7174ae6e34fdc7d914a09fcca6d5.sample" ]
[params] [params]

View file

@ -2,12 +2,12 @@
importer="wav" importer="wav"
type="AudioStreamSample" type="AudioStreamSample"
path="res://.import/alarm02.wav-66a9bdd7383ed0c90d731de14e154e13.sample" path="res://.import/alarm02.wav-9f54e335cb87b99d26f33fe5c822822c.sample"
[deps] [deps]
source_file="res://assets/soundeffects/alarm02.wav" source_file="res://common/soundeffects/alarm02.wav"
dest_files=[ "res://.import/alarm02.wav-66a9bdd7383ed0c90d731de14e154e13.sample" ] dest_files=[ "res://.import/alarm02.wav-9f54e335cb87b99d26f33fe5c822822c.sample" ]
[params] [params]

View file

@ -2,12 +2,12 @@
importer="wav" importer="wav"
type="AudioStreamSample" type="AudioStreamSample"
path="res://.import/alarm03.wav-ce9ddb5cc7ad684835f58786c57c8ebb.sample" path="res://.import/alarm03.wav-a68e6a3b63a6beae112c76c1efb906bc.sample"
[deps] [deps]
source_file="res://assets/soundeffects/alarm03.wav" source_file="res://common/soundeffects/alarm03.wav"
dest_files=[ "res://.import/alarm03.wav-ce9ddb5cc7ad684835f58786c57c8ebb.sample" ] dest_files=[ "res://.import/alarm03.wav-a68e6a3b63a6beae112c76c1efb906bc.sample" ]
[params] [params]

View file

@ -2,12 +2,12 @@
importer="wav" importer="wav"
type="AudioStreamSample" type="AudioStreamSample"
path="res://.import/coin01.wav-eb5fb510f0a4ea40e464ddbd6889286d.sample" path="res://.import/coin01.wav-0cf314e4390eff9f38e88462b1f5a741.sample"
[deps] [deps]
source_file="res://assets/soundeffects/coin01.wav" source_file="res://common/soundeffects/coin01.wav"
dest_files=[ "res://.import/coin01.wav-eb5fb510f0a4ea40e464ddbd6889286d.sample" ] dest_files=[ "res://.import/coin01.wav-0cf314e4390eff9f38e88462b1f5a741.sample" ]
[params] [params]

View file

@ -2,12 +2,12 @@
importer="wav" importer="wav"
type="AudioStreamSample" type="AudioStreamSample"
path="res://.import/coin02.wav-ccb74096f80b94e087973268912a17e0.sample" path="res://.import/coin02.wav-ef2672d8eb3e3a7893ba3173015efd8f.sample"
[deps] [deps]
source_file="res://assets/soundeffects/coin02.wav" source_file="res://common/soundeffects/coin02.wav"
dest_files=[ "res://.import/coin02.wav-ccb74096f80b94e087973268912a17e0.sample" ] dest_files=[ "res://.import/coin02.wav-ef2672d8eb3e3a7893ba3173015efd8f.sample" ]
[params] [params]

View file

@ -2,12 +2,12 @@
importer="wav" importer="wav"
type="AudioStreamSample" type="AudioStreamSample"
path="res://.import/coin03.wav-4c29181cfc509568bf69b3bbc63a366d.sample" path="res://.import/coin03.wav-0b367626aee726606e7655fdb7bcc4c9.sample"
[deps] [deps]
source_file="res://assets/soundeffects/coin03.wav" source_file="res://common/soundeffects/coin03.wav"
dest_files=[ "res://.import/coin03.wav-4c29181cfc509568bf69b3bbc63a366d.sample" ] dest_files=[ "res://.import/coin03.wav-0b367626aee726606e7655fdb7bcc4c9.sample" ]
[params] [params]

View file

@ -2,12 +2,12 @@
importer="wav" importer="wav"
type="AudioStreamSample" type="AudioStreamSample"
path="res://.import/jump01.wav-9046ac17825df42dc198a69ec7fde8a0.sample" path="res://.import/jump01.wav-52ed8d3b4cc86b6a0804925e4f15b254.sample"
[deps] [deps]
source_file="res://assets/soundeffects/jump01.wav" source_file="res://common/soundeffects/jump01.wav"
dest_files=[ "res://.import/jump01.wav-9046ac17825df42dc198a69ec7fde8a0.sample" ] dest_files=[ "res://.import/jump01.wav-52ed8d3b4cc86b6a0804925e4f15b254.sample" ]
[params] [params]

View file

@ -2,12 +2,12 @@
importer="wav" importer="wav"
type="AudioStreamSample" type="AudioStreamSample"
path="res://.import/jump02.wav-669b2cb4cdbaddf94bc26c238e7c2142.sample" path="res://.import/jump02.wav-3c21c83630ed29fe0895cb310e16c82c.sample"
[deps] [deps]
source_file="res://assets/soundeffects/jump02.wav" source_file="res://common/soundeffects/jump02.wav"
dest_files=[ "res://.import/jump02.wav-669b2cb4cdbaddf94bc26c238e7c2142.sample" ] dest_files=[ "res://.import/jump02.wav-3c21c83630ed29fe0895cb310e16c82c.sample" ]
[params] [params]

View file

@ -2,12 +2,12 @@
importer="wav" importer="wav"
type="AudioStreamSample" type="AudioStreamSample"
path="res://.import/key01.wav-44c05e072a71687a9c4daa259c4c8007.sample" path="res://.import/key01.wav-7d19ab28b10992527c76dbd5763896bd.sample"
[deps] [deps]
source_file="res://assets/soundeffects/key01.wav" source_file="res://common/soundeffects/key01.wav"
dest_files=[ "res://.import/key01.wav-44c05e072a71687a9c4daa259c4c8007.sample" ] dest_files=[ "res://.import/key01.wav-7d19ab28b10992527c76dbd5763896bd.sample" ]
[params] [params]

View file

@ -2,12 +2,12 @@
importer="wav" importer="wav"
type="AudioStreamSample" type="AudioStreamSample"
path="res://.import/select.wav-93359c072313fa9ee56beced414616df.sample" path="res://.import/select.wav-e800707a50f64e6548e23b105c9197c3.sample"
[deps] [deps]
source_file="res://assets/soundeffects/select.wav" source_file="res://common/soundeffects/select.wav"
dest_files=[ "res://.import/select.wav-93359c072313fa9ee56beced414616df.sample" ] dest_files=[ "res://.import/select.wav-e800707a50f64e6548e23b105c9197c3.sample" ]
[params] [params]

View file

@ -2,12 +2,12 @@
importer="wav" importer="wav"
type="AudioStreamSample" type="AudioStreamSample"
path="res://.import/select02.wav-0ac0713843d003d686f934a40d1c4178.sample" path="res://.import/select02.wav-f3d15e17629477fb752f662b47c7e0ac.sample"
[deps] [deps]
source_file="res://assets/soundeffects/select02.wav" source_file="res://common/soundeffects/select02.wav"
dest_files=[ "res://.import/select02.wav-0ac0713843d003d686f934a40d1c4178.sample" ] dest_files=[ "res://.import/select02.wav-f3d15e17629477fb752f662b47c7e0ac.sample" ]
[params] [params]

View file

@ -2,12 +2,12 @@
importer="wav" importer="wav"
type="AudioStreamSample" type="AudioStreamSample"
path="res://.import/stamped01.wav-47ffa67dc046a3ac73899185fe1d8be4.sample" path="res://.import/stamped01.wav-7e6611b114981e8d6f750bde61dc1fcb.sample"
[deps] [deps]
source_file="res://assets/soundeffects/stamped01.wav" source_file="res://common/soundeffects/stamped01.wav"
dest_files=[ "res://.import/stamped01.wav-47ffa67dc046a3ac73899185fe1d8be4.sample" ] dest_files=[ "res://.import/stamped01.wav-7e6611b114981e8d6f750bde61dc1fcb.sample" ]
[params] [params]

View file

@ -2,12 +2,12 @@
importer="wav" importer="wav"
type="AudioStreamSample" type="AudioStreamSample"
path="res://.import/strange.wav-70f925f67d50a0da9495d40976efc5c0.sample" path="res://.import/strange.wav-06dcd6efccefaffde4371b43b0c47127.sample"
[deps] [deps]
source_file="res://assets/soundeffects/strange.wav" source_file="res://common/soundeffects/strange.wav"
dest_files=[ "res://.import/strange.wav-70f925f67d50a0da9495d40976efc5c0.sample" ] dest_files=[ "res://.import/strange.wav-06dcd6efccefaffde4371b43b0c47127.sample" ]
[params] [params]

View file

@ -2,12 +2,12 @@
importer="wav" importer="wav"
type="AudioStreamSample" type="AudioStreamSample"
path="res://.import/type.wav-9e74e8dcec4d60d14f3d5070d7dfa4cc.sample" path="res://.import/type.wav-955987262a77d8d6888e2d1823fc333f.sample"
[deps] [deps]
source_file="res://assets/soundeffects/type.wav" source_file="res://common/soundeffects/type.wav"
dest_files=[ "res://.import/type.wav-9e74e8dcec4d60d14f3d5070d7dfa4cc.sample" ] dest_files=[ "res://.import/type.wav-955987262a77d8d6888e2d1823fc333f.sample" ]
[params] [params]

View file

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View file

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/platformerBricks.png-cb7ea9a8fb04dc9481055bd24a6e4178.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://common/tilemap/assets/platformerBricks.png"
dest_files=[ "res://.import/platformerBricks.png-cb7ea9a8fb04dc9481055bd24a6e4178.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

164
common/tilemap/tilemap.tres Normal file
View file

@ -0,0 +1,164 @@
[gd_resource type="TileSet" load_steps=5 format=2]
[ext_resource path="res://common/tilemap/assets/platformerBricks.png" type="Texture" id=1]
[sub_resource type="ConvexPolygonShape2D" id=7]
points = PoolVector2Array( 0, 0, 70, 0, 70, 105, 0, 105 )
[sub_resource type="ConvexPolygonShape2D" id=8]
points = PoolVector2Array( 0, 0, 70, 0, 70, 105, 0, 105 )
[sub_resource type="ConvexPolygonShape2D" id=9]
points = PoolVector2Array( 0, 0, 70, 0, 70, 105, 0, 105 )
[resource]
0/name = "Grass"
0/texture = ExtResource( 1 )
0/tex_offset = Vector2( 0, 0 )
0/modulate = Color( 1, 1, 1, 1 )
0/region = Rect2( 0, 210, 280, 105 )
0/tile_mode = 1
0/autotile/bitmask_mode = 1
0/autotile/bitmask_flags = [ Vector2( 0, 0 ), 16, Vector2( 1, 0 ), 48, Vector2( 2, 0 ), 56, Vector2( 3, 0 ), 24 ]
0/autotile/icon_coordinate = Vector2( 0, 0 )
0/autotile/tile_size = Vector2( 70, 105 )
0/autotile/spacing = 0
0/autotile/occluder_map = [ ]
0/autotile/navpoly_map = [ ]
0/autotile/priority_map = [ ]
0/autotile/z_index_map = [ ]
0/occluder_offset = Vector2( 0, 0 )
0/navigation_offset = Vector2( 0, 0 )
0/shape_offset = Vector2( 0, 0 )
0/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
0/shape = SubResource( 7 )
0/shape_one_way = false
0/shape_one_way_margin = 1.0
0/shapes = [ {
"autotile_coord": Vector2( 0, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 7 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 1, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 7 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 2, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 7 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 3, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 7 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 3, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 7 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
} ]
0/z_index = 0
1/name = "Grass_Bridge"
1/texture = ExtResource( 1 )
1/tex_offset = Vector2( 0, 0 )
1/modulate = Color( 1, 1, 1, 1 )
1/region = Rect2( 280, 210, 280, 105 )
1/tile_mode = 1
1/autotile/bitmask_mode = 1
1/autotile/bitmask_flags = [ Vector2( 0, 0 ), 16, Vector2( 1, 0 ), 48, Vector2( 2, 0 ), 56, Vector2( 3, 0 ), 24 ]
1/autotile/icon_coordinate = Vector2( 0, 0 )
1/autotile/tile_size = Vector2( 70, 105 )
1/autotile/spacing = 0
1/autotile/occluder_map = [ ]
1/autotile/navpoly_map = [ ]
1/autotile/priority_map = [ ]
1/autotile/z_index_map = [ ]
1/occluder_offset = Vector2( 0, 0 )
1/navigation_offset = Vector2( 0, 0 )
1/shape_offset = Vector2( 0, 0 )
1/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
1/shape = SubResource( 8 )
1/shape_one_way = false
1/shape_one_way_margin = 1.0
1/shapes = [ {
"autotile_coord": Vector2( 0, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 8 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 1, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 8 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 2, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 8 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 3, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 8 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
} ]
1/z_index = 0
2/name = "Wood"
2/texture = ExtResource( 1 )
2/tex_offset = Vector2( 0, 0 )
2/modulate = Color( 1, 1, 1, 1 )
2/region = Rect2( 0, 0, 280, 105 )
2/tile_mode = 1
2/autotile/bitmask_mode = 1
2/autotile/bitmask_flags = [ Vector2( 0, 0 ), 16, Vector2( 1, 0 ), 48, Vector2( 2, 0 ), 56, Vector2( 3, 0 ), 24 ]
2/autotile/icon_coordinate = Vector2( 0, 0 )
2/autotile/tile_size = Vector2( 70, 105 )
2/autotile/spacing = 0
2/autotile/occluder_map = [ ]
2/autotile/navpoly_map = [ ]
2/autotile/priority_map = [ ]
2/autotile/z_index_map = [ ]
2/occluder_offset = Vector2( 0, 0 )
2/navigation_offset = Vector2( 0, 0 )
2/shape_offset = Vector2( 0, 0 )
2/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
2/shape = SubResource( 9 )
2/shape_one_way = false
2/shape_one_way_margin = 1.0
2/shapes = [ {
"autotile_coord": Vector2( 0, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 9 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 1, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 9 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 2, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 9 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 3, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 9 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
} ]
2/z_index = 0

View file

@ -7,7 +7,7 @@ custom_features=""
export_filter="all_resources" export_filter="all_resources"
include_filter="" include_filter=""
exclude_filter="" exclude_filter=""
export_path="../../../../Flopsy_the_Dog.exe" export_path="../../Flopsy_the_Dog.exe"
script_export_mode=1 script_export_mode=1
script_encryption_key="" script_encryption_key=""

BIN
icon.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

View file

@ -15,7 +15,7 @@
[ext_resource path="res://objects/characters/monsters/01/assets/stomped/frame-3.png" type="Texture" id=13] [ext_resource path="res://objects/characters/monsters/01/assets/stomped/frame-3.png" type="Texture" id=13]
[ext_resource path="res://objects/characters/monsters/01/assets/stomped/frame-1.png" type="Texture" id=14] [ext_resource path="res://objects/characters/monsters/01/assets/stomped/frame-1.png" type="Texture" id=14]
[ext_resource path="res://objects/characters/monsters/01/assets/stomped/frame-2.png" type="Texture" id=15] [ext_resource path="res://objects/characters/monsters/01/assets/stomped/frame-2.png" type="Texture" id=15]
[ext_resource path="res://assets/soundeffects/stamped01.wav" type="AudioStream" id=16] [ext_resource path="res://common/soundeffects/stamped01.wav" type="AudioStream" id=16]
[sub_resource type="SpriteFrames" id=1] [sub_resource type="SpriteFrames" id=1]
animations = [ { animations = [ {

View file

@ -20,7 +20,7 @@ script = ExtResource( 11 )
[node name="Sprite" type="AnimatedSprite" parent="."] [node name="Sprite" type="AnimatedSprite" parent="."]
frames = ExtResource( 1 ) frames = ExtResource( 1 )
animation = "idle" animation = "idle"
frame = 2 frame = 8
playing = true playing = true
__meta__ = { __meta__ = {
"_edit_lock_": true "_edit_lock_": true

View file

@ -19,7 +19,7 @@
[ext_resource path="res://objects/coin/assets/gold_2.png" type="Texture" id=17] [ext_resource path="res://objects/coin/assets/gold_2.png" type="Texture" id=17]
[ext_resource path="res://objects/coin/assets/gold_3.png" type="Texture" id=18] [ext_resource path="res://objects/coin/assets/gold_3.png" type="Texture" id=18]
[ext_resource path="res://objects/coin/assets/gold_4.png" type="Texture" id=19] [ext_resource path="res://objects/coin/assets/gold_4.png" type="Texture" id=19]
[ext_resource path="res://assets/soundeffects/coin01.wav" type="AudioStream" id=20] [ext_resource path="res://common/soundeffects/coin01.wav" type="AudioStream" id=20]
[sub_resource type="SpriteFrames" id=1] [sub_resource type="SpriteFrames" id=1]
animations = [ { animations = [ {

View file

@ -5,8 +5,8 @@
[ext_resource path="res://objects/speech_bubble/assets/side.png" type="Texture" id=3] [ext_resource path="res://objects/speech_bubble/assets/side.png" type="Texture" id=3]
[ext_resource path="res://objects/speech_bubble/assets/arrow.png" type="Texture" id=4] [ext_resource path="res://objects/speech_bubble/assets/arrow.png" type="Texture" id=4]
[ext_resource path="res://objects/speech_bubble/assets/side2.png" type="Texture" id=5] [ext_resource path="res://objects/speech_bubble/assets/side2.png" type="Texture" id=5]
[ext_resource path="res://assets/fonts/ComicNeue-Bold.ttf" type="DynamicFontData" id=6] [ext_resource path="res://common/fonts/ComicNeue-Bold.ttf" type="DynamicFontData" id=6]
[ext_resource path="res://assets/soundeffects/type.wav" type="AudioStream" id=7] [ext_resource path="res://common/soundeffects/type.wav" type="AudioStream" id=7]
[sub_resource type="DynamicFont" id=2] [sub_resource type="DynamicFont" id=2]
size = 20 size = 20

View file

@ -12,7 +12,7 @@ config_version=4
config/name="Flopsy the Dog" config/name="Flopsy the Dog"
run/main_scene="res://scenes/main.tscn" run/main_scene="res://scenes/main.tscn"
config/icon="res://icon.png" config/icon="res://common/player_head.png"
[display] [display]
@ -46,10 +46,6 @@ jump={
2d_physics/layer_3="world" 2d_physics/layer_3="world"
2d_physics/layer_4="items" 2d_physics/layer_4="items"
[physics]
common/enable_pause_aware_picking=true
[rendering] [rendering]
2d/snapping/use_gpu_pixel_snap=true 2d/snapping/use_gpu_pixel_snap=true

View file

@ -4,6 +4,10 @@ export var font_color : Color = Color(0, 0, 0)
# 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(): func _ready():
set_font_color(font_color)
func set_font_color(color: Color):
font_color = color
$HUD_Items/ScoreLabel.add_color_override("font_color", font_color) $HUD_Items/ScoreLabel.add_color_override("font_color", font_color)
func set_score(value): func set_score(value):

View file

@ -1,6 +1,6 @@
[gd_scene load_steps=6 format=2] [gd_scene load_steps=6 format=2]
[ext_resource path="res://assets/fonts/DSEG14Classic-Bold.ttf" type="DynamicFontData" id=1] [ext_resource path="res://common/fonts/DSEG14Classic-Bold.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://scenes/hud.gd" type="Script" id=2] [ext_resource path="res://scenes/hud.gd" type="Script" id=2]
[ext_resource path="res://objects/coin/assets/gold_1.png" type="Texture" id=3] [ext_resource path="res://objects/coin/assets/gold_1.png" type="Texture" id=3]

View file

@ -1,7 +1,4 @@
extends "res://scenes/levels/level.gd" extends "res://scenes/levels/interlude.gd"
onready var main = get_parent()
const next_level = "res://scenes/levels/01/level_01.tscn"
var running = true var running = true
const text = [ const text = [
@ -41,10 +38,6 @@ func _ready():
yield(get_tree().create_timer(4), "timeout") yield(get_tree().create_timer(4), "timeout")
$CanvasLayer/MonsterAnimation.play("monster1_fade") $CanvasLayer/MonsterAnimation.play("monster1_fade")
func _process(delta):
if Input.is_action_just_pressed("ui_cancel"):
main.load_level(next_level, true)
func _next_text(): func _next_text():
var current_text = text.pop_front() var current_text = text.pop_front()

View file

@ -147,6 +147,7 @@ script = ExtResource( 1 )
bgm_path = "res://scenes/levels/00/assets/bgm.ogg" bgm_path = "res://scenes/levels/00/assets/bgm.ogg"
hud_visible = false hud_visible = false
clear_color = Color( 0.0196078, 0.180392, 0.247059, 1 ) clear_color = Color( 0.0196078, 0.180392, 0.247059, 1 )
next_level = "res://scenes/levels/01/level_01.tscn"
[node name="CanvasLayer" type="CanvasLayer" parent="."] [node name="CanvasLayer" type="CanvasLayer" parent="."]

View file

@ -1,6 +1,6 @@
[gd_scene load_steps=7 format=2] [gd_scene load_steps=7 format=2]
[ext_resource path="res://assets/fonts/ComicNeue-Bold.ttf" type="DynamicFontData" id=1] [ext_resource path="res://common/fonts/ComicNeue-Bold.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://scenes/levels/00/snore.gd" type="Script" id=2] [ext_resource path="res://scenes/levels/00/snore.gd" type="Script" id=2]
[sub_resource type="DynamicFont" id=4] [sub_resource type="DynamicFont" id=4]

View file

@ -6,7 +6,7 @@
[ext_resource path="res://scenes/levels/01/assets/trees1.png" type="Texture" id=4] [ext_resource path="res://scenes/levels/01/assets/trees1.png" type="Texture" id=4]
[ext_resource path="res://scenes/levels/01/assets/grass2.png" type="Texture" id=5] [ext_resource path="res://scenes/levels/01/assets/grass2.png" type="Texture" id=5]
[node name="Background_Level1" type="ParallaxBackground"] [node name="Background 01" type="ParallaxBackground"]
scale = Vector2( 1, 1.41421 ) scale = Vector2( 1, 1.41421 )
transform = Transform2D( 1, 0, 0, 1.41421, 0, 0 ) transform = Transform2D( 1, 0, 0, 1.41421, 0, 0 )
scroll_ignore_camera_zoom = true scroll_ignore_camera_zoom = true

View file

@ -1,7 +1,4 @@
extends "res://scenes/levels/level.gd" extends "res://scenes/levels/interlude.gd"
onready var main = get_parent()
const next_level = "res://scenes/levels/02/level_02.tscn"
const text = [ const text = [
["flake", "Hi there, who are you?", 0], ["flake", "Hi there, who are you?", 0],

View file

@ -3,7 +3,7 @@
[ext_resource path="res://scenes/levels/01/interlude_01.gd" type="Script" id=1] [ext_resource path="res://scenes/levels/01/interlude_01.gd" type="Script" id=1]
[ext_resource path="res://scenes/levels/01/assets/cloud1.png" type="Texture" id=2] [ext_resource path="res://scenes/levels/01/assets/cloud1.png" type="Texture" id=2]
[ext_resource path="res://scenes/levels/01/assets/cloud2.png" type="Texture" id=3] [ext_resource path="res://scenes/levels/01/assets/cloud2.png" type="Texture" id=3]
[ext_resource path="res://assets/platformerBricks.png" type="Texture" id=4] [ext_resource path="res://common/tilemap/assets/platformerBricks.png" type="Texture" id=4]
[ext_resource path="res://objects/characters/flake/flake.tscn" type="PackedScene" id=5] [ext_resource path="res://objects/characters/flake/flake.tscn" type="PackedScene" id=5]
[ext_resource path="res://objects/characters/flopsy/flopsy.tscn" type="PackedScene" id=6] [ext_resource path="res://objects/characters/flopsy/flopsy.tscn" type="PackedScene" id=6]
[ext_resource path="res://objects/speech_bubble/speech_bubble.tscn" type="PackedScene" id=7] [ext_resource path="res://objects/speech_bubble/speech_bubble.tscn" type="PackedScene" id=7]
@ -218,6 +218,7 @@ tracks/0/keys = {
script = ExtResource( 1 ) script = ExtResource( 1 )
bgm_path = "res://scenes/levels/01/assets/interlude.ogg" bgm_path = "res://scenes/levels/01/assets/interlude.ogg"
hud_visible = false hud_visible = false
next_level = "res://scenes/levels/02/level_02.tscn"
[node name="CanvasLayer" type="CanvasLayer" parent="."] [node name="CanvasLayer" type="CanvasLayer" parent="."]

View file

@ -1,175 +1,14 @@
[gd_scene load_steps=13 format=2] [gd_scene load_steps=9 format=2]
[ext_resource path="res://scenes/levels/01/background_01.tscn" type="PackedScene" id=1] [ext_resource path="res://scenes/levels/01/background_01.tscn" type="PackedScene" id=1]
[ext_resource path="res://scenes/levels/01/level_01.gd" type="Script" id=2] [ext_resource path="res://scenes/levels/01/level_01.gd" type="Script" id=2]
[ext_resource path="res://objects/characters/flake/flake.tscn" type="PackedScene" id=3] [ext_resource path="res://objects/characters/flake/flake.tscn" type="PackedScene" id=3]
[ext_resource path="res://assets/platformerBricks.png" type="Texture" id=4] [ext_resource path="res://scenes/levels/01/tilemap.tscn" type="PackedScene" id=4]
[ext_resource path="res://objects/coin/coin.tscn" type="PackedScene" id=5] [ext_resource path="res://objects/coin/coin.tscn" type="PackedScene" id=5]
[ext_resource path="res://objects/characters/monsters/01/monster_01.tscn" type="PackedScene" id=6] [ext_resource path="res://objects/characters/monsters/01/monster_01.tscn" type="PackedScene" id=6]
[ext_resource path="res://objects/characters/player.tscn" type="PackedScene" id=7] [ext_resource path="res://objects/characters/player.tscn" type="PackedScene" id=7]
[ext_resource path="res://objects/lift/lift.tscn" type="PackedScene" id=8] [ext_resource path="res://objects/lift/lift.tscn" type="PackedScene" id=8]
[sub_resource type="ConvexPolygonShape2D" id=7]
points = PoolVector2Array( 0, 0, 70, 0, 70, 105, 0, 105 )
[sub_resource type="ConvexPolygonShape2D" id=8]
points = PoolVector2Array( 0, 0, 70, 0, 70, 105, 0, 105 )
[sub_resource type="ConvexPolygonShape2D" id=9]
points = PoolVector2Array( 0, 0, 70, 0, 70, 105, 0, 105 )
[sub_resource type="TileSet" id=6]
0/name = "Grass"
0/texture = ExtResource( 4 )
0/tex_offset = Vector2( 0, 0 )
0/modulate = Color( 1, 1, 1, 1 )
0/region = Rect2( 0, 210, 280, 105 )
0/tile_mode = 1
0/autotile/bitmask_mode = 1
0/autotile/bitmask_flags = [ Vector2( 0, 0 ), 16, Vector2( 1, 0 ), 48, Vector2( 2, 0 ), 56, Vector2( 3, 0 ), 24 ]
0/autotile/icon_coordinate = Vector2( 0, 0 )
0/autotile/tile_size = Vector2( 70, 105 )
0/autotile/spacing = 0
0/autotile/occluder_map = [ ]
0/autotile/navpoly_map = [ ]
0/autotile/priority_map = [ ]
0/autotile/z_index_map = [ ]
0/occluder_offset = Vector2( 0, 0 )
0/navigation_offset = Vector2( 0, 0 )
0/shape_offset = Vector2( 0, 0 )
0/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
0/shape = SubResource( 7 )
0/shape_one_way = false
0/shape_one_way_margin = 1.0
0/shapes = [ {
"autotile_coord": Vector2( 0, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 7 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 1, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 7 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 2, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 7 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 3, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 7 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 3, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 7 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
} ]
0/z_index = 0
1/name = "Grass_Bridge"
1/texture = ExtResource( 4 )
1/tex_offset = Vector2( 0, 0 )
1/modulate = Color( 1, 1, 1, 1 )
1/region = Rect2( 280, 210, 280, 105 )
1/tile_mode = 1
1/autotile/bitmask_mode = 1
1/autotile/bitmask_flags = [ Vector2( 0, 0 ), 16, Vector2( 1, 0 ), 48, Vector2( 2, 0 ), 56, Vector2( 3, 0 ), 24 ]
1/autotile/icon_coordinate = Vector2( 0, 0 )
1/autotile/tile_size = Vector2( 70, 105 )
1/autotile/spacing = 0
1/autotile/occluder_map = [ ]
1/autotile/navpoly_map = [ ]
1/autotile/priority_map = [ ]
1/autotile/z_index_map = [ ]
1/occluder_offset = Vector2( 0, 0 )
1/navigation_offset = Vector2( 0, 0 )
1/shape_offset = Vector2( 0, 0 )
1/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
1/shape = SubResource( 8 )
1/shape_one_way = false
1/shape_one_way_margin = 1.0
1/shapes = [ {
"autotile_coord": Vector2( 0, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 8 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 1, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 8 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 2, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 8 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 3, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 8 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
} ]
1/z_index = 0
2/name = "Wood"
2/texture = ExtResource( 4 )
2/tex_offset = Vector2( 0, 0 )
2/modulate = Color( 1, 1, 1, 1 )
2/region = Rect2( 0, 0, 280, 105 )
2/tile_mode = 1
2/autotile/bitmask_mode = 1
2/autotile/bitmask_flags = [ Vector2( 0, 0 ), 16, Vector2( 1, 0 ), 48, Vector2( 2, 0 ), 56, Vector2( 3, 0 ), 24 ]
2/autotile/icon_coordinate = Vector2( 0, 0 )
2/autotile/tile_size = Vector2( 70, 105 )
2/autotile/spacing = 0
2/autotile/occluder_map = [ ]
2/autotile/navpoly_map = [ ]
2/autotile/priority_map = [ ]
2/autotile/z_index_map = [ ]
2/occluder_offset = Vector2( 0, 0 )
2/navigation_offset = Vector2( 0, 0 )
2/shape_offset = Vector2( 0, 0 )
2/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
2/shape = SubResource( 9 )
2/shape_one_way = false
2/shape_one_way_margin = 1.0
2/shapes = [ {
"autotile_coord": Vector2( 0, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 9 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 1, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 9 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 2, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 9 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 3, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 9 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
} ]
2/z_index = 0
[node name="Level 01" type="Node2D"] [node name="Level 01" type="Node2D"]
script = ExtResource( 2 ) script = ExtResource( 2 )
bgm_path = "res://scenes/levels/01/assets/bgm.ogg" bgm_path = "res://scenes/levels/01/assets/bgm.ogg"
@ -179,13 +18,7 @@ position = Vector2( 105, 910 )
scale = Vector2( 0.2, 0.2 ) scale = Vector2( 0.2, 0.2 )
background_scene = ExtResource( 1 ) background_scene = ExtResource( 1 )
[node name="Tiles" type="TileMap" parent="."] [node name="Tiles" parent="." instance=ExtResource( 4 )]
tile_set = SubResource( 6 )
cell_size = Vector2( 70, 70 )
collision_layer = 4
collision_mask = 0
format = 1
tile_data = PoolIntArray( -65485, 2, 1, -65484, 2, 2, -65483, 2, 2, -65482, 2, 2, -65481, 2, 3, 131114, 2, 1, 131115, 2, 2, 131116, 2, 2, 131117, 2, 2, 131118, 2, 2, 131119, 2, 2, 131120, 2, 3, 458769, 2, 1, 458770, 2, 2, 458771, 2, 2, 458772, 2, 2, 458773, 2, 3, 589835, 2, 1, 589836, 2, 2, 589837, 2, 2, 589838, 2, 3, 720912, 2, 0, 917504, 0, 1, 917505, 0, 2, 917506, 0, 2, 917507, 0, 2, 917508, 0, 2, 917509, 0, 2, 917510, 0, 2, 917511, 0, 2, 917512, 0, 2, 917513, 0, 2, 917514, 0, 2, 917515, 0, 2, 917516, 0, 2, 917517, 0, 2, 917518, 0, 2, 917519, 0, 2, 917520, 0, 2, 917521, 0, 2, 917522, 0, 2, 917523, 0, 2, 917524, 0, 2, 917525, 0, 2, 917526, 0, 2, 917527, 0, 2, 917528, 0, 3, 917532, 0, 1, 917533, 0, 2, 917534, 0, 2, 917535, 0, 2, 917536, 0, 2, 917537, 0, 2, 917538, 0, 3 )
[node name="monster_01" parent="." instance=ExtResource( 6 )] [node name="monster_01" parent="." instance=ExtResource( 6 )]
position = Vector2( 1015, 945 ) position = Vector2( 1015, 945 )

View file

@ -0,0 +1,11 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://common/tilemap/tilemap.tres" type="TileSet" id=1]
[node name="Tiles" type="TileMap"]
tile_set = ExtResource( 1 )
cell_size = Vector2( 70, 70 )
collision_layer = 4
collision_mask = 0
format = 1
tile_data = PoolIntArray( -65485, 2, 1, -65484, 2, 2, -65483, 2, 2, -65482, 2, 2, -65481, 2, 3, 131114, 2, 1, 131115, 2, 2, 131116, 2, 2, 131117, 2, 2, 131118, 2, 2, 131119, 2, 2, 131120, 2, 3, 458769, 2, 1, 458770, 2, 2, 458771, 2, 2, 458772, 2, 2, 458773, 2, 3, 589835, 2, 1, 589836, 2, 2, 589837, 2, 2, 589838, 2, 3, 720912, 2, 0, 917504, 0, 1, 917505, 0, 2, 917506, 0, 2, 917507, 0, 2, 917508, 0, 2, 917509, 0, 2, 917510, 0, 2, 917511, 0, 2, 917512, 0, 2, 917513, 0, 2, 917514, 0, 2, 917515, 0, 2, 917516, 0, 2, 917517, 0, 2, 917518, 0, 2, 917519, 0, 2, 917520, 0, 2, 917521, 0, 2, 917522, 0, 2, 917523, 0, 2, 917524, 0, 2, 917525, 0, 2, 917526, 0, 2, 917527, 0, 2, 917528, 0, 3, 917532, 0, 1, 917533, 0, 2, 917534, 0, 2, 917535, 0, 2, 917536, 0, 2, 917537, 0, 2, 917538, 0, 3 )

Binary file not shown.

View file

@ -0,0 +1,3 @@
[remap]
importer="keep"

View file

@ -0,0 +1,72 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="512"
height="114"
viewBox="0 0 135.46667 30.162502"
version="1.1"
id="svg1387"
inkscape:version="1.2 (dc2aedaf03, 2022-05-15)"
sodipodi:docname="earth1.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1389"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="mm"
showgrid="false"
inkscape:zoom="1"
inkscape:cx="455"
inkscape:cy="213"
inkscape:window-width="3440"
inkscape:window-height="1367"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
<defs
id="defs1384" />
<g
inkscape:label="Ebene 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-34.357995,-154.68043)">
<g
id="g82125"
inkscape:tile-cx="67.734149"
inkscape:tile-cy="15.081367"
inkscape:tile-w="135.4683"
inkscape:tile-h="30.162728"
inkscape:tile-x0="0"
inkscape:tile-y0="2.769882e-06">
<path
stroke="none"
fill="#c26246"
d="m 34.357995,159.49691 v -3.38667 q 8.097138,-1.40229 16.300117,-0.19843 7.845759,1.16416 15.400438,2.91041 7.792834,1.77271 16.128127,1.74625 8.335284,-0.0397 15.810583,-2.27541 7.38269,-2.19604 15.49306,-3.21469 8.12359,-0.99219 16.04873,0.48948 7.71346,1.44198 15.26814,3.20146 8.15006,1.89177 15.94289,-0.33073 4.45872,-1.29646 9.07621,-2.32834 v 3.38667 q -4.61749,0.80698 -9.07621,1.8124 -7.79283,1.74625 -15.94289,0.26458 -7.55468,-1.37583 -15.26814,-2.50031 -7.92514,-1.16417 -16.04873,-0.38365 -8.11037,0.79375 -15.49306,2.51354 -7.475299,1.74625 -15.810583,1.77271 -8.335293,0.0265 -16.128127,-1.3626 -7.554679,-1.36261 -15.400438,-2.27542 -8.202979,-0.93927 -16.300117,0.15875"
id="path336"
style="fill:#4d2519;fill-opacity:1;stroke-width:0.264597" />
<path
stroke="none"
fill="#d26b4c"
d="m 34.357995,159.49744 q 8.097138,-1.09854 16.300117,-0.15883 7.845759,0.91324 15.400438,2.27649 7.792834,1.38971 16.128127,1.36324 8.335284,-0.0265 15.810583,-1.77354 7.38269,-1.7206 15.49306,-2.51472 8.12359,-0.78089 16.04873,0.38383 7.71346,1.125 15.26814,2.50148 8.15006,1.48236 15.94289,-0.26471 4.45872,-1.00589 9.07621,-1.81324 v 25.34572 H 34.357995 v -25.34572"
id="path338"
style="fill:#662b1a;fill-opacity:1;stroke-width:0.264659" />
</g>
<use
x="0"
y="0"
inkscape:tiled-clone-of="#g82125"
xlink:href="#g82125"
id="use82522" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3 KiB

View file

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/earth1.svg-d29645c457b62ba192578d6e512af592.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://scenes/levels/02/assets/earth1.svg"
dest_files=[ "res://.import/earth1.svg-d29645c457b62ba192578d6e512af592.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=1
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=3.0

View file

@ -0,0 +1,72 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="512"
height="200"
viewBox="0 0 135.46667 52.916667"
version="1.1"
id="svg7402"
inkscape:version="1.2 (dc2aedaf03, 2022-05-15)"
sodipodi:docname="grass1.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview7404"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="mm"
showgrid="false"
inkscape:zoom="2"
inkscape:cx="408.5"
inkscape:cy="85.500001"
inkscape:window-width="3440"
inkscape:window-height="1367"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
<defs
id="defs7399" />
<g
inkscape:label="Ebene 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-43.033749,-122.76676)">
<g
id="g85201"
inkscape:tile-cx="67.733117"
inkscape:tile-cy="26.459315"
inkscape:tile-w="135.46623"
inkscape:tile-h="52.918632"
inkscape:tile-x0="0"
inkscape:tile-y0="-8.0568528e-07">
<path
stroke="none"
fill="#14caa7"
d="m 43.033749,125.52742 v -1.64041 q 8.09625,-1.09802 16.29833,-0.15875 7.8449,0.91281 15.39875,2.27541 7.79198,1.38907 16.12636,1.36261 8.33437,-0.0265 15.808851,-1.77271 7.38188,-1.71979 15.49136,-2.51354 8.1227,-0.78052 16.04697,0.38364 7.71261,1.12448 15.26646,2.50032 8.14917,1.48166 15.94115,-0.26459 4.45823,-1.00541 9.07521,-1.81239 v 1.64041 q -4.61698,0.68792 -9.07521,1.54782 -7.79198,1.49489 -15.94115,0.23812 -7.55385,-1.17739 -15.26646,-2.14312 -7.92427,-0.99219 -16.04697,-0.3175 -8.10948,0.66146 -15.49136,2.14312 -7.474481,1.48167 -15.808851,1.50813 -8.33438,0.0265 -16.12636,-1.16417 -7.55385,-1.16417 -15.39875,-1.93146 -8.20208,-0.80698 -16.29833,0.11906"
id="path332"
style="fill:#0b7460;fill-opacity:1;stroke-width:0.264583" />
<path
stroke="none"
fill="#1ebc9e"
d="m 43.033749,125.52754 q 8.097014,-0.92616 16.299867,-0.11908 7.845642,0.76738 15.400204,1.93169 7.792714,1.19078 16.127881,1.16432 8.335157,-0.0265 15.810339,-1.50832 7.38259,-1.48184 15.49283,-2.14338 8.12346,-0.67477 16.04847,0.31754 7.71335,0.96585 15.26792,2.14338 8.14993,1.25692 15.94264,-0.23815 4.45866,-0.86 9.07608,-1.548 v 50.15785 H 43.033749 v -50.15785"
id="path334"
style="fill:#0e584a;fill-opacity:1;stroke-width:0.264611" />
</g>
<use
x="0"
y="0"
inkscape:tiled-clone-of="#g85201"
xlink:href="#g85201"
id="use85566" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3 KiB

View file

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/grass1.svg-da1e9c10c4b8fcb4315480b9780fba19.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://scenes/levels/02/assets/grass1.svg"
dest_files=[ "res://.import/grass1.svg-da1e9c10c4b8fcb4315480b9780fba19.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=1
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=3.0

View file

@ -0,0 +1,66 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="512"
height="100"
viewBox="0 0 135.46667 26.458333"
version="1.1"
id="svg11315"
inkscape:version="1.2 (dc2aedaf03, 2022-05-15)"
sodipodi:docname="grass2.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview11317"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="mm"
showgrid="false"
inkscape:zoom="1"
inkscape:cx="447"
inkscape:cy="360"
inkscape:window-width="3440"
inkscape:window-height="1367"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
<defs
id="defs11312" />
<g
inkscape:label="Ebene 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-48.239202,-132.23643)">
<g
id="g87154"
inkscape:tile-cx="67.733441"
inkscape:tile-cy="13.229636"
inkscape:tile-w="135.46688"
inkscape:tile-h="26.459269"
inkscape:tile-x0="0"
inkscape:tile-y0="1.6113559e-06">
<path
stroke="none"
fill="#19a389"
d="m 183.70608,133.3569 v 25.3388 H 48.239202 v -25.3388 q 4.617438,0.80714 9.076109,1.81275 7.792747,1.74659 15.942725,0.26463 7.55461,-1.3761 15.267975,-2.50079 7.925056,-1.1644 16.048579,-0.38373 8.11028,0.7939 15.49288,2.51403 7.47523,1.74659 15.81043,1.77306 8.3352,0.0265 16.12795,-1.36286 7.5546,-1.36289 15.40028,-2.27587 8.20289,-0.93946 16.29995,0.15878"
id="path320"
style="fill:#0a4238;fill-opacity:1;stroke-width:0.264622" />
</g>
<use
x="0"
y="0"
inkscape:tiled-clone-of="#g87154"
xlink:href="#g87154"
id="use87519" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

View file

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/grass2.svg-0f349f2d647845c19c4409adccc43a24.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://scenes/levels/02/assets/grass2.svg"
dest_files=[ "res://.import/grass2.svg-0f349f2d647845c19c4409adccc43a24.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=1
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=3.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB

View file

@ -2,15 +2,15 @@
importer="texture" importer="texture"
type="StreamTexture" type="StreamTexture"
path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" path="res://.import/stars.png-cd2f838412d74e8f1a3b0637b3df8f74.stex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://icon.png" source_file="res://scenes/levels/02/assets/stars.png"
dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" ] dest_files=[ "res://.import/stars.png-cd2f838412d74e8f1a3b0637b3df8f74.stex" ]
[params] [params]

View file

@ -0,0 +1,75 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="512"
height="203.47"
viewBox="0 0 135.46666 53.834771"
version="1.1"
id="svg39235"
inkscape:version="1.2 (dc2aedaf03, 2022-05-15)"
sodipodi:docname="trees1.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview39237"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="mm"
showgrid="false"
inkscape:zoom="1.2938725"
inkscape:cx="105.11082"
inkscape:cy="158.4391"
inkscape:window-width="3440"
inkscape:window-height="1367"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
<defs
id="defs39232" />
<g
inkscape:label="Ebene 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(2.6651685,-66.491558)">
<path
stroke="none"
fill="#14caa7"
d="m 85.904101,76.855319 -0.714375,0.264583 q 0.79375,1.984375 1.666875,3.876146 l 0.555625,1.190625 -0.595312,-0.02646 -0.635,-0.05292 0.07937,0.383646 0.07937,0.47625 0.02646,0.119063 0.582083,2.407708 q 0.635,2.553229 1.441979,5.027083 l -0.714375,0.687917 1.031875,0.291041 q 0.80698,2.526771 1.838855,4.974167 l 0.343958,0.79375 -1.680104,-0.264583 q 0.370416,0.463021 0.383646,1.11125 l 2.473854,5.132915 -0.582084,0.26458 1.084792,2.24896 0.119063,0.23812 0.30427,0.60854 q -4.868333,-0.27781 -9.882187,-0.10583 l 0.304271,2.64583 2.791354,-0.54239 0.926042,-0.92604 0.661458,0.37041 -0.859896,1.21709 0.396875,0.60855 -0.502708,0.27781 -0.529167,-0.35719 -2.738437,0.35719 0.224896,1.57427 q 0.502708,3.53219 1.42875,4.37886 l -6.6675,-0.30427 q 0.608541,-0.35719 1.058333,-1.8124 l 0.198437,-0.78052 0.277813,-1.75948 0.608542,-4.84188 -8.929688,0.79375 0.436563,-1.07156 0.132291,-0.26458 q 0.79375,-2.01083 1.441979,-4.19365 l 0.79375,-0.25135 -0.542395,-0.62177 0.648229,-2.672299 0.542396,-2.910416 -2.685521,-0.145521 0.714375,-1.322917 1.561041,-3.108854 -0.701145,-0.515937 3.201458,-5.87375 q 0.01323,-1.574271 0.754062,-1.838854 l -1.362604,0.238125 0.277813,-0.674688 1.005416,-2.69875 1.058334,-0.502708 -0.608542,-0.886354 1.005417,-3.796771 0.171979,-0.833438 1.230312,-6.376458 q 0.238125,-1.243542 0.939271,0.145521 0.687917,1.389062 2.010834,4.445 l 2.116666,5.185833"
id="path328"
style="fill:#0b7460;fill-opacity:1;stroke-width:0.264583"
inkscape:tile-cx="85.043684"
inkscape:tile-cy="24.80735"
inkscape:tile-w="21.232811"
inkscape:tile-h="49.614699"
inkscape:tile-x0="74.427279"
inkscape:tile-y0="2.7974039e-07" />
<use
x="0"
y="0"
inkscape:tiled-clone-of="#path328"
xlink:href="#path328"
id="use90194"
inkscape:tile-cx="85.043684"
inkscape:tile-cy="24.80735"
inkscape:tile-w="21.232811"
inkscape:tile-h="49.614699"
inkscape:tile-x0="74.427279"
inkscape:tile-y0="2.7974039e-07" />
<use
x="0"
y="0"
inkscape:tiled-clone-of="#use90194"
xlink:href="#use90194"
id="use92743" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.5 KiB

View file

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/trees1.svg-1407ae8680e712f7fc72a0f0de5e3920.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://scenes/levels/02/assets/trees1.svg"
dest_files=[ "res://.import/trees1.svg-1407ae8680e712f7fc72a0f0de5e3920.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=1
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=3.0

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 8.3 KiB

View file

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/trees2.svg-9f32f766191be75af9c49800c36aa82b.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://scenes/levels/02/assets/trees2.svg"
dest_files=[ "res://.import/trees2.svg-9f32f766191be75af9c49800c36aa82b.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=1
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=3.0

View file

@ -0,0 +1,58 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="512"
height="203.47"
viewBox="0 0 135.46666 53.834771"
version="1.1"
id="svg39235"
sodipodi:docname="trees3.svg"
inkscape:version="1.2 (dc2aedaf03, 2022-05-15)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview39237"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="mm"
showgrid="false"
inkscape:zoom="0.91490602"
inkscape:cx="-348.66969"
inkscape:cy="163.95127"
inkscape:window-width="3440"
inkscape:window-height="1367"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
<defs
id="defs39232" />
<g
inkscape:label="Ebene 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(2.6651685,-66.491558)">
<path
stroke="none"
fill="#19a389"
d="m 44.741285,93.670277 1.190625,-2.897188 1.124479,-2.487083 q 0.396875,-0.780521 0.529167,-0.07938 l 0.687916,3.571875 0.0926,0.463021 q 0.264584,1.124479 0.568854,2.129896 l -0.343958,0.489479 0.595313,0.291041 0.555625,1.508125 0.15875,0.370417 -0.767292,-0.132292 q 0.423333,0.145521 0.423333,1.031875 l 1.799167,3.294057 -0.396875,0.27781 0.873125,1.74625 0.396875,0.74083 -1.494896,0.0794 q 0.132292,0.83344 0.304271,1.62719 l 0.357187,1.49489 -0.30427,0.35719 0.449791,0.13229 q 0.343959,1.23031 0.806979,2.35479 l 0.06615,0.14552 0.251354,0.59531 -5.000624,-0.43656 0.343958,2.71198 0.145521,0.97896 0.119062,0.43656 q 0.251354,0.82021 0.595313,1.01865 l -3.743854,0.17198 q 0.529166,-0.47625 0.806979,-2.46063 l 0.119062,-0.87312 -1.534583,-0.21167 -0.291042,0.21167 -0.277812,-0.15875 0.224896,-0.34396 -0.48948,-0.67469 0.370417,-0.21167 0.515938,0.51594 1.561041,0.30427 0.171979,-1.48166 q -2.804583,-0.0926 -5.529791,0.0662 l 0.171979,-0.34396 0.06615,-0.13229 0.608541,-1.27 -0.330729,-0.1323 1.375834,-2.88395 q 0.02646,-0.35719 0.224895,-0.62177 l -0.93927,0.15875 0.198437,-0.44979 q 0.568854,-1.37584 1.031875,-2.79135 l 0.568854,-0.15875 -0.396875,-0.38365 q 0.449792,-1.389054 0.806979,-2.817804 l 0.33073,-1.349375 0.01323,-0.06615 0.03969,-0.264583 0.03969,-0.211667 -0.343959,0.02646 -0.343958,0.01323 0.3175,-0.661458 0.926042,-2.169583 -0.396875,-0.15875"
id="path330"
style="fill:#0a4238;fill-opacity:1;stroke-width:0.264583" />
<path
d="m 124.17003,95.695457 0.29104,0.687916 -0.71438,-0.06614 0.35719,1.957916 c 0.18521,0.978959 0.41451,1.949101 0.68792,2.910421 l -0.41011,0.37042 0.56886,0.18521 c 0.2734,0.97895 0.58649,1.94027 0.93927,2.88395 l 0.17198,0.48948 -0.9525,-0.21166 0.0926,0.39687 1.3626,3.22791 -0.33073,0.14552 0.56886,1.30969 0.0529,0.13229 0.17198,0.35719 -5.64886,-0.30427 0.26458,2.9898 c 0.12348,1.36701 0.35719,2.21809 0.70115,2.55323 l -3.79677,-0.34397 c 0.2293,-0.12347 0.44097,-0.45861 0.635,-1.00541 l 0.14552,-0.4498 0.15875,-0.72759 -1.16417,-0.33074 -0.33073,0.17198 -0.27781,-0.21167 0.29104,-0.30427 -0.39687,-0.75406 0.39687,-0.15875 0.4498,0.60854 1.1377,0.37042 0.41011,-2.40771 -5.13292,0.23812 0.30427,-0.60854 0.0661,-0.15875 c 0.33513,-0.74961 0.63939,-1.53452 0.91279,-2.35472 l 0.47625,-0.11906 -0.30427,-0.38365 0.43656,-1.49489 0.38365,-1.64042 -1.52135,-0.17198 0.46302,-0.7276 0.9525,-1.73303 -0.38365,-0.3175 2.20927,-3.677708 0.23813,-0.62177 -0.78052,0.0926 0.1852,-0.383642 0.62177,-1.508125 0.60855,-0.251354 -0.30427,-0.529167 c 0.52034,-2.257778 1.5875,-4.665486 3.20145,-7.223125 l 1.09803,6.707188 -0.41011,0.132291 c 0.25576,0.767292 0.53799,1.521355 0.84667,2.262188"
style="fill:#0a4238;fill-opacity:1;stroke:none;stroke-width:0.264583"
id="path74376" />
<path
d="m 32.601197,96.434949 0.258248,0.710195 -0.710191,-0.08301 0.322816,1.98301 1.558739,4.685436 -0.40583,0.14757 0.507286,1.61408 0.166016,0.48884 -0.949998,-0.23058 0.07378,0.39659 1.328157,3.31117 -0.341263,0.12913 0.525734,1.32816 0.06456,0.13835 0.156799,0.3597 -4.381069,-0.37815 -0.02768,0.24903 c -0.01227,0.0984 -0.05536,0.17524 -0.129128,0.23059 -0.07379,0.0615 -0.156799,0.0892 -0.249031,0.083 -0.09838,-0.0123 -0.178315,-0.0584 -0.239807,-0.13835 -0.05536,-0.0738 -0.07686,-0.15987 -0.06456,-0.25825 l 0.02768,-0.20291 -0.627182,-0.0185 0.101455,1.84467 0.470391,-0.25826 0.202911,0.26748 -0.599518,0.94077 0.01848,0.23059 c 0.09838,1.37734 0.316666,2.24126 0.654855,2.59175 l -3.827672,-0.43349 c 0.252103,-0.11683 0.476537,-0.44887 0.673302,-0.99612 l 0.147572,-0.44272 0.11068,-0.40583 -1.106797,-1.17136 0.285922,-0.23058 0.996118,0.5534 0.488835,-2.51797 c -1.703237,-0.0185 -3.431071,0.0216 -5.183499,0.11991 l 0.304369,-0.59952 0.07379,-0.1568 0.368933,-0.78397 -0.332039,-0.37816 1.189807,-1.88156 0.415048,-1.31893 0.424273,-1.65097 -1.540293,-0.18447 0.470388,-0.72864 0.654856,-1.28204 -0.378156,-0.35048 2.241264,-3.283498 0.415049,-0.802428 0.267476,-0.636409 -0.802428,0.08301 0.19369,-0.368933 0.424272,-0.913108 -0.461165,-0.350486 c 1.611004,-3.517155 3.142071,-6.367157 4.593206,-8.550007 0.01234,2.29353 0.273649,4.657771 0.783981,7.092725 l -0.424271,0.119903 c 0.258255,0.774758 0.531884,1.537218 0.820878,2.28738"
style="fill:#0a4238;fill-opacity:1;stroke:none;stroke-width:0.184466"
id="path75866" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.6 KiB

View file

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/trees3.svg-fad5948d185c2ea8bc5725fb259b3145.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://scenes/levels/02/assets/trees3.svg"
dest_files=[ "res://.import/trees3.svg-fad5948d185c2ea8bc5725fb259b3145.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=1
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=3.0

View file

@ -0,0 +1,102 @@
[gd_scene load_steps=8 format=2]
[ext_resource path="res://scenes/levels/02/assets/earth1.svg" type="Texture" id=1]
[ext_resource path="res://scenes/levels/02/assets/grass1.svg" type="Texture" id=2]
[ext_resource path="res://scenes/levels/02/assets/trees1.svg" type="Texture" id=3]
[ext_resource path="res://scenes/levels/02/assets/trees2.svg" type="Texture" id=4]
[ext_resource path="res://scenes/levels/02/assets/trees3.svg" type="Texture" id=5]
[ext_resource path="res://scenes/levels/02/assets/grass2.svg" type="Texture" id=6]
[ext_resource path="res://scenes/levels/02/assets/stars.png" type="Texture" id=7]
[node name="Background 02" type="ParallaxBackground"]
[node name="Stars" type="ParallaxLayer" parent="."]
motion_scale = Vector2( 0.6, 1 )
motion_mirroring = Vector2( 500, 500 )
[node name="Sprite" type="Sprite" parent="Stars"]
position = Vector2( 250, 250 )
texture = ExtResource( 7 )
region_enabled = true
region_rect = Rect2( 0, 0, 500, 500 )
[node name="Sprite2" type="Sprite" parent="Stars"]
position = Vector2( 250, 250 )
texture = ExtResource( 7 )
offset = Vector2( 500, 0 )
region_enabled = true
region_rect = Rect2( 0, 0, 500, 500 )
[node name="Sprite3" type="Sprite" parent="Stars"]
position = Vector2( 250, 250 )
texture = ExtResource( 7 )
offset = Vector2( 1000, 0 )
region_enabled = true
region_rect = Rect2( 0, 0, 500, 500 )
[node name="Sprite4" type="Sprite" parent="Stars"]
position = Vector2( 250, 250 )
texture = ExtResource( 7 )
offset = Vector2( 1500, 0 )
region_enabled = true
region_rect = Rect2( 0, 0, 500, 500 )
[node name="Grass2" type="ParallaxLayer" parent="."]
motion_scale = Vector2( 0.9, 1 )
motion_mirroring = Vector2( 1536, 0 )
[node name="Sprite" type="Sprite" parent="Grass2"]
position = Vector2( 1536, 698 )
texture = ExtResource( 6 )
region_enabled = true
region_rect = Rect2( 0, 0, 3072, 300 )
[node name="Trees3" type="ParallaxLayer" parent="."]
motion_scale = Vector2( 0.85, 1 )
motion_mirroring = Vector2( 1536, 0 )
[node name="Sprite" type="Sprite" parent="Trees3"]
position = Vector2( 1536, 448 )
texture = ExtResource( 5 )
region_enabled = true
region_rect = Rect2( 0, 0, 3072, 610 )
[node name="Trees2" type="ParallaxLayer" parent="."]
motion_scale = Vector2( 0.8, 1 )
motion_mirroring = Vector2( 1536, 0 )
[node name="Sprite" type="Sprite" parent="Trees2"]
position = Vector2( 1536, 592 )
texture = ExtResource( 4 )
region_enabled = true
region_rect = Rect2( 0, 0, 3072, 610 )
[node name="Trees1" type="ParallaxLayer" parent="."]
motion_scale = Vector2( 0.75, 1 )
motion_mirroring = Vector2( 1536, 0 )
[node name="Sprite" type="Sprite" parent="Trees1"]
position = Vector2( 1536, 562 )
texture = ExtResource( 3 )
region_enabled = true
region_rect = Rect2( 0, 0, 3072, 610 )
[node name="Grass1" type="ParallaxLayer" parent="."]
motion_scale = Vector2( 0.7, 1 )
motion_mirroring = Vector2( 3072, 0 )
[node name="Sprite" type="Sprite" parent="Grass1"]
position = Vector2( 1536, 967 )
texture = ExtResource( 2 )
region_enabled = true
region_rect = Rect2( 0, 0, 3072, 600 )
[node name="Earth1" type="ParallaxLayer" parent="."]
motion_scale = Vector2( 0.65, 1 )
motion_mirroring = Vector2( 1536, 0 )
[node name="Sprite" type="Sprite" parent="Earth1"]
position = Vector2( 1536, 975 )
texture = ExtResource( 1 )
region_enabled = true
region_rect = Rect2( 0, 0, 3072, 342 )

View file

@ -1,7 +1,26 @@
[gd_scene load_steps=2 format=2] [gd_scene load_steps=5 format=2]
[ext_resource path="res://scenes/levels/02/level_02.gd" type="Script" id=1] [ext_resource path="res://scenes/levels/02/level_02.gd" type="Script" id=1]
[ext_resource path="res://common/tilemap/tilemap.tres" type="TileSet" id=2]
[ext_resource path="res://objects/characters/player.tscn" type="PackedScene" id=3]
[ext_resource path="res://scenes/levels/02/background_02.tscn" type="PackedScene" id=4]
[node name="Level 02" type="Node2D"] [node name="Level 02" type="Node2D"]
script = ExtResource( 1 ) script = ExtResource( 1 )
bgm_path = "res://scenes/levels/02/assets/bgm.ogg"
hud_color = Color( 1, 1, 1, 1 )
clear_color = Color( 0.0431373, 0.298039, 0.403922, 1 ) clear_color = Color( 0.0431373, 0.298039, 0.403922, 1 )
[node name="Player" parent="." instance=ExtResource( 3 )]
modulate = Color( 0.5, 0.5, 0.5, 1 )
position = Vector2( 136, 808 )
scale = Vector2( 0.2, 0.2 )
background_scene = ExtResource( 4 )
[node name="Tiles" type="TileMap" parent="."]
modulate = Color( 0.5, 0.5, 0.5, 1 )
tile_set = ExtResource( 2 )
collision_layer = 4
collision_mask = 0
format = 1
tile_data = PoolIntArray( 917505, 0, 1, 917506, 0, 2, 917507, 0, 2, 917508, 0, 2, 917509, 0, 2, 917510, 0, 2, 917511, 0, 2, 917512, 0, 2, 917513, 0, 2, 917514, 0, 2, 917515, 0, 2, 917516, 0, 2, 917517, 0, 2, 917518, 0, 2, 917519, 0, 2, 917520, 0, 2, 917521, 0, 2, 917522, 0, 2, 917523, 0, 2, 917524, 0, 2, 917525, 0, 2, 917526, 0, 2, 917527, 0, 2, 917528, 0, 2, 917529, 0, 2, 917530, 0, 2, 917531, 0, 2, 917532, 0, 2, 917533, 0, 2, 917534, 0, 2, 917535, 0, 2, 917536, 0, 2, 917537, 0, 2, 917538, 0, 2, 917539, 0, 2, 917540, 0, 2, 917541, 0, 2, 917542, 0, 2, 917543, 0, 2, 917544, 0, 0, 983080, 0, 0, 983081, 0, 2, 983082, 0, 2, 983083, 0, 2, 983084, 0, 3 )

View file

@ -0,0 +1,12 @@
extends "res://scenes/levels/level.gd"
export(String, FILE, "*.tscn") var next_level
func _process(delta):
if Input.is_action_just_pressed("ui_cancel"):
_disable_signals()
main.load_level(next_level, true)
func _disable_signals():
for sig in get_signal_list():
for con in get_signal_connection_list(sig.name):
disconnect(con.signal_name, self, con.method_name)

View file

@ -2,7 +2,10 @@ extends Node2D
export(String, FILE, "*.ogg") var bgm_path export(String, FILE, "*.ogg") var bgm_path
export(bool) var hud_visible = true export(bool) var hud_visible = true
export var hud_color : Color = Color("000000")
export var clear_color : Color = Color("cfeffc") export var clear_color : Color = Color("cfeffc")
onready var main = get_parent()
func _ready(): func _ready():
VisualServer.set_default_clear_color(clear_color) VisualServer.set_default_clear_color(clear_color)

View file

@ -21,6 +21,7 @@ func load_level(next_scene := level_path, fade_out : bool = false):
current_level = load(next_scene).instance() current_level = load(next_scene).instance()
level_path = next_scene level_path = next_scene
$HUD.hud_visible(current_level.hud_visible) $HUD.hud_visible(current_level.hud_visible)
$HUD.set_font_color(current_level.hud_color)
add_child(current_level) add_child(current_level)
play_bgm(current_level.bgm_path) play_bgm(current_level.bgm_path)
$HUD.scene_fadein() $HUD.scene_fadein()

View file

@ -20,7 +20,7 @@ tracks/0/keys = {
[node name="Main" type="Node2D"] [node name="Main" type="Node2D"]
script = ExtResource( 3 ) script = ExtResource( 3 )
level_path = "res://scenes/levels/00/interlude_00.tscn" level_path = "res://scenes/levels/02/level_02.tscn"
[node name="HUD" parent="." instance=ExtResource( 1 )] [node name="HUD" parent="." instance=ExtResource( 1 )]