add keys and health

This commit is contained in:
Fusselkater 2022-07-18 17:00:53 +02:00
parent c20da225e6
commit c159e20937
16 changed files with 565 additions and 205 deletions

View file

@ -8,3 +8,4 @@ var keys = {
}
var coins = 0
var health = 100

View file

@ -92,7 +92,7 @@ func _physics_process(delta):
elif player_state in ["idle", "run", "jump", "jump_end", "fall_end", "striked_end"]:
move_stop()
if is_on_floor():
if is_on_floor() and not player_state in ["striked", "striked_start"]:
snap = SNAP
_end_animation()
@ -148,7 +148,10 @@ func monster_hit(direction : int, damage: int):
if not invincible_hit:
invincible_hit = true
_set_player_state("striked_start")
velocity.y = -STRIKED_HEIGHT
health -= damage
GlobalState.health = health
snap = Vector2.ZERO
velocity.y = -300
velocity.x = direction * 5
yield(get_tree().create_timer(1.0), "timeout")
invincible_hit = false

View file

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

View file

@ -142,4 +142,4 @@ anims/fade = SubResource( 1 )
[node name="TypeSound" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 7 )
volume_db = -14.0
volume_db = -22.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="13.75821mm"
height="11.906251mm"
viewBox="0 0 13.75821 11.906251"
version="1.1"
id="svg3040"
sodipodi:docname="health3.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="namedview3042"
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="14.638496"
inkscape:cx="26.232203"
inkscape:cy="6.8996159"
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="defs3037" />
<g
inkscape:label="Ebene 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(125.44754,-24.990403)">
<g
id="g3185"
transform="matrix(0.95142185,0,0,0.95142185,-5.7598352,1.5031794)">
<path
stroke="none"
fill="#a33434"
d="m -115.26136,25.837067 -0.39687,-0.03969 -0.26458,-0.01323 q -1.42875,0 -2.42094,1.005417 l -0.2249,0.238125 -0.21166,-0.238125 q -1.00542,-1.005417 -2.43417,-1.005417 -1.42875,0 -2.43417,0.992187 l -0.0132,0.01323 q -0.99218,1.018645 -0.99218,2.420937 0,0.846667 0.37041,1.561042 v -0.01323 q 0.13229,0.30427 0.51594,0.833437 l 0.0926,0.119062 0.19844,0.198438 0.0265,0.02646 4.3524,3.96875 q 0.22489,0.198438 0.52916,0.198438 0.30427,0 0.5424,-0.198438 l 4.35239,-3.96875 0.0265,-0.02646 0.19844,-0.198438 0.0926,-0.119062 0.50271,-0.806979 0.0132,-0.01323 q 0.35719,-0.714375 0.35719,-1.561042 0,-1.402292 -0.99219,-2.420937 l -0.0132,-0.01323 q -0.76729,-0.754062 -1.77271,-0.93927 m -0.39687,-0.833438 0.39687,0.03969 q 1.32292,0.185208 2.32834,1.164166 l 0.0265,0.02646 q 1.21708,1.243541 1.21708,2.976562 0,1.045104 -0.44979,1.918229 l -0.0132,0.03969 -0.0132,0.01323 -0.52917,0.846666 -0.0132,0.01323 -0.1852,0.224895 -0.19844,0.198438 -0.0265,0.02646 -0.0265,0.02646 -4.35239,3.96875 q -0.46303,0.410104 -1.07157,0.410104 -0.60854,0 -1.05833,-0.410104 h -0.0132 l -4.3524,-3.96875 -0.0264,-0.02646 -0.0265,-0.02646 -0.19844,-0.198438 -0.0132,-0.01323 -0.15875,-0.198437 -0.0132,-0.01323 -0.51594,-0.833438 -0.0529,-0.07937 q -0.44979,-0.873125 -0.44979,-1.918229 0,-1.733021 1.21708,-2.976562 l 0.0265,-0.02646 q 1.24354,-1.217083 2.98979,-1.217083 1.52135,0 2.64583,0.926042 1.12448,-0.926042 2.64584,-0.926042 l 0.26458,0.01323"
id="path365"
style="stroke-width:0.264583" />
<path
stroke="none"
fill="#f34e4e"
d="m -115.26136,25.837067 q 1.00542,0.185208 1.77271,0.93927 l 0.0132,0.01323 q 0.99219,1.018645 0.99219,2.420937 0,0.846667 -0.35719,1.561042 l -0.0132,0.01323 -0.50271,0.806979 -0.0926,0.119062 -0.19844,0.198438 -0.0265,0.02646 -4.35239,3.96875 q -0.23813,0.198438 -0.5424,0.198438 -0.30427,0 -0.52916,-0.198438 l -4.3524,-3.96875 -0.0265,-0.02646 -0.19844,-0.198438 -0.0926,-0.119062 q -0.38365,-0.529167 -0.51594,-0.833437 v 0.01323 q -0.37041,-0.714375 -0.37041,-1.561042 0,-1.402292 0.99218,-2.420937 l 0.0132,-0.01323 q 1.00542,-0.992187 2.43417,-0.992187 1.42875,0 2.43417,1.005417 l 0.21166,0.238125 0.2249,-0.238125 q 0.99219,-1.005417 2.42094,-1.005417 l 0.26458,0.01323 0.39687,0.03969 m -0.39687,0.754062 -0.26458,-0.01323 q -1.09802,0 -1.86532,0.767292 -0.76729,0.767291 -0.78052,1.838854 -0.0132,-1.071563 -0.78052,-1.838854 -0.76729,-0.767292 -1.86531,-0.767292 -1.09802,0 -1.87854,0.767292 -0.76729,0.78052 -0.76729,1.865312 0,0.648229 0.27781,1.190625 l 0.46302,0.740833 0.19844,0.198438 4.35239,3.96875 4.3524,-3.96875 0.19844,-0.198438 0.46302,-0.740833 q 0.27781,-0.542396 0.27781,-1.190625 0,-1.084792 -0.76729,-1.865312 -0.52917,-0.529167 -1.21709,-0.687917 l -0.39687,-0.06615"
id="path367"
style="stroke-width:0.264583" />
<path
stroke="none"
fill="#d91d1d"
d="m -115.65823,26.591129 0.39687,0.06615 q 0.68792,0.15875 1.21709,0.687917 0.76729,0.78052 0.76729,1.865312 0,0.648229 -0.27781,1.190625 l -0.46302,0.740833 -0.19844,0.198438 -4.3524,3.96875 -4.35239,-3.96875 -0.19844,-0.198438 -0.46302,-0.740833 q -0.27781,-0.542396 -0.27781,-1.190625 0,-1.084792 0.76729,-1.865312 0.78052,-0.767292 1.87854,-0.767292 1.09802,0 1.86531,0.767292 0.76729,0.767291 0.78052,1.838854 0.0132,-1.071563 0.78052,-1.838854 0.7673,-0.767292 1.86532,-0.767292 l 0.26458,0.01323"
id="path369"
style="stroke-width:0.264583" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.9 KiB

View file

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/health.svg-cd92434456dc49c5ccc0e1358511e782.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://scenes/hud/assets/health.svg"
dest_files=[ "res://.import/health.svg-cd92434456dc49c5ccc0e1358511e782.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

View file

@ -0,0 +1,115 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="11.602272mm"
height="10.335934mm"
viewBox="0 0 11.602272 10.335934"
version="1.1"
id="svg2601"
inkscape:version="1.2 (dc2aedaf03, 2022-05-15)"
sodipodi:docname="key_blue.svg"
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="namedview2603"
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.914906"
inkscape:cx="200.02055"
inkscape:cy="194.55551"
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="defs2598">
<linearGradient
gradientUnits="userSpaceOnUse"
x1="-819.20001"
x2="819.20001"
spreadMethod="pad"
gradientTransform="matrix(-0.00104968,-0.00104968,9.8911832e-4,-9.8911832e-4,45.493143,100.96075)"
id="gradient5">
<stop
offset="0"
stop-color="#73CD4B"
id="stop27" />
<stop
offset="1"
stop-color="#51A12E"
id="stop29" />
</linearGradient>
<linearGradient
gradientUnits="userSpaceOnUse"
x1="-819.20001"
x2="819.20001"
spreadMethod="pad"
gradientTransform="matrix(-0.00104968,-0.00104968,9.8911832e-4,-9.8911832e-4,95.795209,119.50641)"
id="gradient6">
<stop
offset="0"
stop-color="#E86A17"
id="stop32" />
<stop
offset="1"
stop-color="#C35813"
id="stop34" />
</linearGradient>
<linearGradient
gradientUnits="userSpaceOnUse"
x1="-819.20001"
x2="819.20001"
spreadMethod="pad"
gradientTransform="matrix(-0.00104968,-0.00104968,9.8911832e-4,-9.8911832e-4,92.903296,112.855)"
id="gradient7">
<stop
offset="0"
stop-color="#1EA7E1"
id="stop37" />
<stop
offset="1"
stop-color="#1788B8"
id="stop39" />
</linearGradient>
</defs>
<g
inkscape:label="Ebene 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-36.420861,-96.916645)">
<g
id="g2970"
transform="translate(-47.410154,-11.894341)">
<path
stroke="none"
fill="#177da8"
d="m 93.207566,110.95 -0.01323,-0.0132 q 0.145521,-0.19844 0.119063,-0.47625 l -0.01323,-0.0132 q -0.01323,-0.2249 -0.15875,-0.42334 l -0.119063,-0.13229 q -0.238125,-0.23812 -0.555625,-0.27781 -0.370417,-0.0529 -0.568854,0.17198 l -3.360208,3.37344 q -0.568854,-0.37042 -1.203854,-0.47625 H 87.2809 l -0.727604,-0.0397 q -0.780521,0.0661 -1.309688,0.62177 -0.555625,0.52917 -0.608541,1.30969 -0.03969,0.34396 0.02646,0.74083 v 0.0265 q 0.171979,1.05833 1.031875,1.91823 l 0.132292,0.10583 q 0.820208,0.78052 1.812395,0.93927 1.283229,0.19844 2.037292,-0.60854 0.806979,-0.75406 0.582083,-2.02406 l 0.01323,-0.0132 q -0.119062,-0.68792 -0.489479,-1.28323 l 1.203854,-1.21708 1.243542,1.24354 q 0.370417,0.37042 0.740833,0 l 0.277813,-0.27781 0.05292,-0.11907 -0.03969,-0.11906 -0.185208,-0.18521 0.674687,-0.67468 0.185209,0.1852 0.105833,0.0529 0.132292,-0.0662 0.277812,-0.27781 q 0.370417,-0.35719 0,-0.7276 L 93.207566,110.95 m -6.720416,0.89958 h 0.01323 l 0.833438,0.0397 0.132291,0.0132 q 0.47625,0.0794 0.926042,0.27781 l 2.950104,-2.95011 q 0.423333,-0.51593 1.243542,-0.39687 0.568854,0.0661 1.005416,0.50271 l 0.171979,0.19844 0.02646,0.0264 q 0.238125,0.33073 0.291041,0.71438 l 0.02646,0.11906 v 0.33073 l 0.912812,0.91281 q 0.449792,0.44979 0.410104,0.92604 0.03969,0.47625 -0.423333,0.92605 l -0.01323,0.0265 -0.277813,0.27782 q -0.224895,0.19843 -0.542395,0.25135 l -0.06615,0.0132 h -0.01323 v 0.0529 q -0.02646,0.3175 -0.277813,0.58208 l -0.02646,0.0265 -0.277813,0.27781 q -0.926041,0.88636 -1.838854,-0.0265 l -0.687917,-0.68791 -0.224895,0.23812 q 0.198437,0.47625 0.291041,1.00542 l 0.01323,0.17198 q 0.224896,1.57427 -0.806979,2.54 l -0.01323,0.0265 -0.02646,0.0132 q -1.005417,1.07157 -2.69875,0.82021 v -0.0132 q -1.203854,-0.1852 -2.182813,-1.09802 l -0.198437,-0.15875 q -1.018646,-1.01864 -1.230313,-2.24896 -0.06614,-0.15875 -0.03969,-0.25135 v -0.0132 q -0.06615,-0.43656 -0.01323,-0.83344 l -0.01323,0.0397 q 0.07937,-1.07156 0.833437,-1.79917 l 0.02646,-0.0264 q 0.727605,-0.75407 1.785938,-0.84667 m 2.06375,4.08781 0.01323,0.0529 q 0.03969,0.29104 -0.119063,0.47625 -0.185208,0.15875 -0.489479,0.13229 l -0.03969,-0.0265 q -0.47625,-0.0794 -0.859896,-0.42333 L 86.923712,116.03 q -0.46302,-0.46302 -0.555625,-1.00542 -0.05292,-0.3175 0.105834,-0.52917 0.211666,-0.15875 0.529166,-0.10583 0.529167,0.10583 0.978959,0.52917 l 0.02646,0.0264 0.119062,0.11907 q 0.343959,0.4101 0.423334,0.87312"
id="path1401"
style="stroke-width:0.264583" />
<path
stroke="none"
fill="#1ea7e1"
d="m 88.5509,115.93739 q -0.07937,-0.46302 -0.423334,-0.87312 l -0.119062,-0.11907 -0.02646,-0.0264 q -0.449792,-0.42334 -0.978959,-0.52917 -0.3175,-0.0529 -0.529166,0.10583 -0.15875,0.21167 -0.105834,0.52917 0.0926,0.5424 0.555625,1.00542 l 0.132292,0.11906 q 0.383646,0.34396 0.859896,0.42333 l 0.03969,0.0265 q 0.304271,0.0265 0.489479,-0.13229 0.15875,-0.18521 0.119063,-0.47625 l -0.01323,-0.0529 m 2.434166,-2.77812 -1.203854,1.21708 q 0.370417,0.59531 0.489479,1.28323 l -0.01323,0.0132 q 0.224896,1.27 -0.582083,2.02406 -0.754063,0.80698 -2.037292,0.60854 -0.992187,-0.15875 -1.812395,-0.93927 L 85.6934,117.26031 q -0.859896,-0.8599 -1.031875,-1.91823 v -0.0265 q -0.06615,-0.39687 -0.02646,-0.74083 0.05292,-0.78052 0.608541,-1.30969 0.529167,-0.55562 1.309688,-0.62177 l 0.727604,0.0397 h 0.05292 q 0.635,0.10583 1.203854,0.47625 l 3.360208,-3.37344 q 0.198437,-0.2249 0.568854,-0.17198 0.3175,0.0397 0.555625,0.27781 l 0.119063,0.13229 q 0.14552,0.19844 0.15875,0.42334 l 0.01323,0.0132 q 0.02646,0.27781 -0.119063,0.47625 l 0.01323,0.0132 -2.2225,2.20927"
id="path1403"
style="stroke-width:0.264583" />
<path
stroke="none"
fill="url(#gradient7)"
d="m 90.985066,113.15927 2.2225,-2.20927 1.243542,1.24354 q 0.370417,0.37041 0,0.7276 l -0.277812,0.27781 -0.132292,0.0662 -0.105833,-0.0529 -0.185209,-0.1852 -0.674687,0.67468 0.185208,0.18521 0.03969,0.11906 -0.05292,0.11907 -0.277813,0.27781 q -0.370416,0.37042 -0.740833,0 l -1.243542,-1.24354"
id="path1405"
style="fill:url(#gradient7);stroke-width:0.264583" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 6.8 KiB

View file

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/key_blue.svg-18e1af7078742b97721adb4b4cdb1d9e.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://scenes/hud/assets/key_blue.svg"
dest_files=[ "res://.import/key_blue.svg-18e1af7078742b97721adb4b4cdb1d9e.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

View file

@ -0,0 +1,82 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="11.602272mm"
height="10.335934mm"
viewBox="0 0 11.602272 10.335934"
version="1.1"
id="svg2601"
inkscape:version="1.2 (dc2aedaf03, 2022-05-15)"
sodipodi:docname="key_green.svg"
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="namedview2603"
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.914906"
inkscape:cx="200.02055"
inkscape:cy="194.55551"
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="defs2598">
<linearGradient
gradientUnits="userSpaceOnUse"
x1="-819.20001"
x2="819.20001"
spreadMethod="pad"
gradientTransform="matrix(-0.00104968,-0.00104968,9.8911832e-4,-9.8911832e-4,45.493143,100.96075)"
id="gradient5">
<stop
offset="0"
stop-color="#73CD4B"
id="stop27" />
<stop
offset="1"
stop-color="#51A12E"
id="stop29" />
</linearGradient>
</defs>
<g
inkscape:label="Ebene 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-36.420861,-96.916645)">
<g
id="g2755">
<path
stroke="none"
fill="#73cd4b"
d="m 43.574913,101.26502 -1.203854,1.21708 q 0.370417,0.59531 0.489479,1.28323 l -0.01323,0.0132 q 0.224896,1.27 -0.582083,2.02406 -0.754063,0.80698 -2.037292,0.60854 -0.992187,-0.15875 -1.812395,-0.93927 l -0.132292,-0.10583 q -0.859896,-0.8599 -1.031875,-1.91823 v -0.0265 q -0.06615,-0.39687 -0.02646,-0.74083 0.05292,-0.78052 0.608541,-1.30969 0.529167,-0.55562 1.309688,-0.62177 l 0.727604,0.0397 h 0.05292 q 0.635,0.10583 1.203854,0.47625 l 3.360208,-3.373441 q 0.198437,-0.224895 0.568854,-0.171979 0.3175,0.03969 0.555625,0.277813 l 0.119063,0.132291 q 0.14552,0.198438 0.15875,0.423334 l 0.01323,0.01323 q 0.02646,0.277812 -0.119063,0.47625 l 0.01323,0.01323 -2.2225,2.209272 m -4.061354,2.87073 0.132292,0.11906 q 0.383646,0.34396 0.859896,0.42333 l 0.03969,0.0265 q 0.304271,0.0265 0.489479,-0.13229 0.15875,-0.18521 0.119063,-0.47625 l -0.01323,-0.0529 q -0.07937,-0.46302 -0.423334,-0.87312 l -0.119062,-0.11907 -0.02646,-0.0264 q -0.449792,-0.42334 -0.978959,-0.52917 -0.3175,-0.0529 -0.529166,0.10583 -0.15875,0.21167 -0.105834,0.52917 0.0926,0.5424 0.555625,1.00542"
id="path1389"
style="stroke-width:0.264583" />
<path
stroke="none"
fill="#559a35"
d="m 39.513559,104.13575 q -0.46302,-0.46302 -0.555625,-1.00542 -0.05292,-0.3175 0.105834,-0.52917 0.211666,-0.15875 0.529166,-0.10583 0.529167,0.10583 0.978959,0.52917 l 0.02646,0.0264 0.119062,0.11907 q 0.343959,0.4101 0.423334,0.87312 l 0.01323,0.0529 q 0.03969,0.29104 -0.119063,0.47625 -0.185208,0.15875 -0.489479,0.13229 l -0.03969,-0.0265 q -0.47625,-0.0794 -0.859896,-0.42333 l -0.132292,-0.11906 m 4.418542,-6.799796 q 0.423333,-0.515937 1.243542,-0.396875 0.568854,0.06615 1.005416,0.502709 l 0.171979,0.198437 0.02646,0.02646 q 0.238125,0.330729 0.291041,0.714375 l 0.02646,0.119062 v 0.330729 l 0.912812,0.912813 q 0.449792,0.449786 0.410104,0.926036 0.03969,0.47625 -0.423333,0.92605 l -0.01323,0.0265 -0.277813,0.27782 q -0.224895,0.19843 -0.542395,0.25135 l -0.06615,0.0132 h -0.01323 v 0.0529 q -0.02646,0.3175 -0.277813,0.58208 l -0.02646,0.0265 -0.277813,0.27781 q -0.926041,0.88636 -1.838854,-0.0265 l -0.687917,-0.68791 -0.224895,0.23812 q 0.198437,0.47625 0.291041,1.00542 l 0.01323,0.17198 q 0.224896,1.57427 -0.806979,2.54 l -0.01323,0.0265 -0.02646,0.0132 q -1.005417,1.07157 -2.69875,0.82021 v -0.0132 q -1.203854,-0.1852 -2.182813,-1.09802 l -0.198437,-0.15875 q -1.018646,-1.01864 -1.230313,-2.24896 -0.06614,-0.15875 -0.03969,-0.25135 v -0.0132 q -0.06615,-0.43656 -0.01323,-0.83344 l -0.01323,0.0397 q 0.07937,-1.07156 0.833437,-1.79917 l 0.02646,-0.0264 q 0.727605,-0.75407 1.785938,-0.84667 h 0.01323 l 0.833438,0.03969 0.132291,0.01323 q 0.47625,0.0794 0.926042,0.27781 l 2.950104,-2.950106 m 1.865312,1.719792 -0.01323,-0.01323 q 0.145521,-0.198438 0.119063,-0.47625 l -0.01323,-0.01323 q -0.01323,-0.224896 -0.15875,-0.423334 L 45.612205,97.997413 Q 45.37408,97.759288 45.05658,97.7196 44.686163,97.66668 44.487726,97.891579 l -3.360208,3.373441 q -0.568854,-0.37042 -1.203854,-0.47625 h -0.05292 l -0.727604,-0.0397 q -0.780521,0.0661 -1.309688,0.62177 -0.555625,0.52917 -0.608541,1.30969 -0.03969,0.34396 0.02646,0.74083 v 0.0265 q 0.171979,1.05833 1.031875,1.91823 l 0.132292,0.10583 q 0.820208,0.78052 1.812395,0.93927 1.283229,0.19844 2.037292,-0.60854 0.806979,-0.75406 0.582083,-2.02406 l 0.01323,-0.0132 q -0.119062,-0.68792 -0.489479,-1.28323 l 1.203854,-1.21708 1.243542,1.24354 q 0.370417,0.37042 0.740833,0 l 0.277813,-0.27781 0.05292,-0.11907 -0.03969,-0.11906 -0.185208,-0.18521 0.674687,-0.67468 0.185209,0.1852 0.105833,0.0529 0.132292,-0.0662 0.277812,-0.27781 q 0.370417,-0.35719 0,-0.7276 l -1.243542,-1.243544"
id="path1391"
style="stroke-width:0.264583" />
<path
stroke="none"
fill="url(#gradient5)"
d="m 45.797413,99.055746 1.243542,1.243544 q 0.370417,0.37041 0,0.7276 l -0.277812,0.27781 -0.132292,0.0662 -0.105833,-0.0529 -0.185209,-0.1852 -0.674687,0.67468 0.185208,0.18521 0.03969,0.11906 -0.05292,0.11907 -0.277813,0.27781 q -0.370416,0.37042 -0.740833,0 l -1.243542,-1.24354 2.2225,-2.209274"
id="path1393"
style="fill:url(#gradient5);stroke-width:0.264583" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.9 KiB

View file

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/key_green.svg-74719868e44fe44e39e5d2d0ad0548f5.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://scenes/hud/assets/key_green.svg"
dest_files=[ "res://.import/key_green.svg-74719868e44fe44e39e5d2d0ad0548f5.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

View file

@ -0,0 +1,99 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="11.602272mm"
height="10.335934mm"
viewBox="0 0 11.602272 10.335934"
version="1.1"
id="svg2601"
inkscape:version="1.2 (dc2aedaf03, 2022-05-15)"
sodipodi:docname="key_red.svg"
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="namedview2603"
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.914906"
inkscape:cx="200.02055"
inkscape:cy="194.55551"
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="defs2598">
<linearGradient
gradientUnits="userSpaceOnUse"
x1="-819.20001"
x2="819.20001"
spreadMethod="pad"
gradientTransform="matrix(-0.00104968,-0.00104968,9.8911832e-4,-9.8911832e-4,45.493143,100.96075)"
id="gradient5">
<stop
offset="0"
stop-color="#73CD4B"
id="stop27" />
<stop
offset="1"
stop-color="#51A12E"
id="stop29" />
</linearGradient>
<linearGradient
gradientUnits="userSpaceOnUse"
x1="-819.20001"
x2="819.20001"
spreadMethod="pad"
gradientTransform="matrix(-0.00104968,-0.00104968,9.8911832e-4,-9.8911832e-4,95.795209,119.50641)"
id="gradient6">
<stop
offset="0"
stop-color="#E86A17"
id="stop32" />
<stop
offset="1"
stop-color="#C35813"
id="stop34" />
</linearGradient>
</defs>
<g
inkscape:label="Ebene 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-36.420861,-96.916645)">
<g
id="g2861"
transform="translate(-50.302076,-18.545882)">
<path
stroke="none"
fill="#e86a17"
d="m 93.87698,119.81068 -1.203854,1.21708 q 0.370416,0.59531 0.489479,1.28323 l -0.01323,0.0132 q 0.224896,1.27 -0.582084,2.02406 -0.754062,0.80698 -2.037291,0.60854 -0.992188,-0.15875 -1.812396,-0.93927 l -0.132292,-0.10583 q -0.859895,-0.8599 -1.031875,-1.91823 v -0.0265 q -0.06615,-0.39687 -0.02646,-0.74083 0.05292,-0.78052 0.608542,-1.30969 0.529166,-0.55562 1.309687,-0.62177 l 0.727604,0.0397 h 0.05292 q 0.635,0.10583 1.203854,0.47625 l 3.360208,-3.37344 q 0.198438,-0.22489 0.568855,-0.17198 0.3175,0.0397 0.555625,0.27781 l 0.119062,0.1323 q 0.145521,0.19843 0.15875,0.42333 l 0.01323,0.0132 q 0.02646,0.27781 -0.119062,0.47625 l 0.01323,0.0132 -2.2225,2.20927 m -2.434167,2.77812 q -0.07937,-0.46302 -0.423333,-0.87312 l -0.119063,-0.11906 -0.02646,-0.0265 q -0.449791,-0.42334 -0.978958,-0.52917 -0.3175,-0.0529 -0.529167,0.10583 -0.15875,0.21167 -0.105833,0.52917 0.0926,0.5424 0.555625,1.00542 l 0.132292,0.11906 q 0.383645,0.34396 0.859895,0.42333 l 0.03969,0.0265 q 0.304271,0.0265 0.489479,-0.13229 0.15875,-0.18521 0.119062,-0.47625 l -0.01323,-0.0529"
id="path1395"
style="stroke-width:0.264583" />
<path
stroke="none"
fill="#b15010"
d="m 91.442813,122.5888 0.01323,0.0529 q 0.03969,0.29104 -0.119062,0.47625 -0.185208,0.15875 -0.489479,0.13229 l -0.03969,-0.0265 q -0.47625,-0.0794 -0.859895,-0.42333 l -0.132292,-0.11906 q -0.463021,-0.46302 -0.555625,-1.00542 -0.05292,-0.3175 0.105833,-0.52917 0.211667,-0.15875 0.529167,-0.10583 0.529167,0.10583 0.978958,0.52917 l 0.02646,0.0265 0.119063,0.11906 q 0.343958,0.4101 0.423333,0.87312 m 4.656667,-4.98739 -0.01323,-0.0132 q 0.145521,-0.19844 0.119062,-0.47625 l -0.01323,-0.0132 q -0.01323,-0.2249 -0.15875,-0.42333 l -0.119062,-0.1323 q -0.238125,-0.23812 -0.555625,-0.27781 -0.370417,-0.0529 -0.568855,0.17198 l -3.360208,3.37344 q -0.568854,-0.37042 -1.203854,-0.47625 h -0.05292 l -0.727604,-0.0397 q -0.780521,0.0661 -1.309687,0.62177 -0.555625,0.52917 -0.608542,1.30969 -0.03969,0.34396 0.02646,0.74083 v 0.0265 q 0.17198,1.05833 1.031875,1.91823 l 0.132292,0.10583 q 0.820208,0.78052 1.812396,0.93927 1.283229,0.19844 2.037291,-0.60854 0.80698,-0.75406 0.582084,-2.02406 l 0.01323,-0.0132 q -0.119063,-0.68792 -0.489479,-1.28323 l 1.203854,-1.21708 1.243542,1.24354 q 0.370416,0.37042 0.740833,0 l 0.277812,-0.27781 0.05292,-0.11906 -0.03969,-0.11907 -0.185209,-0.18521 0.674688,-0.67468 0.185208,0.18521 0.105833,0.0529 0.132292,-0.0661 0.277813,-0.27782 q 0.370416,-0.35718 0,-0.7276 l -1.243542,-1.24354 m -6.720417,0.89958 h 0.01323 l 0.833437,0.0397 0.132292,0.0132 q 0.47625,0.0794 0.926041,0.27781 l 2.950104,-2.9501 q 0.423334,-0.51594 1.243542,-0.39688 0.568854,0.0661 1.005417,0.50271 l 0.171979,0.19844 0.02646,0.0265 q 0.238125,0.33072 0.291042,0.71437 l 0.02646,0.11906 v 0.33073 l 0.912813,0.91281 q 0.449791,0.4498 0.410104,0.92605 0.03969,0.47625 -0.423333,0.92604 l -0.01323,0.0265 -0.277812,0.27781 q -0.224896,0.19844 -0.542396,0.25135 l -0.06615,0.0132 h -0.01323 v 0.0529 q -0.02646,0.3175 -0.277812,0.58208 l -0.02646,0.0265 -0.277812,0.27781 q -0.926042,0.88636 -1.838854,-0.0265 l -0.687917,-0.68791 -0.224896,0.23812 q 0.198438,0.47625 0.291042,1.00542 l 0.01323,0.17198 q 0.224896,1.57427 -0.806979,2.54 l -0.01323,0.0265 -0.02646,0.0132 q -1.005416,1.07156 -2.69875,0.8202 v -0.0132 q -1.203854,-0.18521 -2.182812,-1.09803 l -0.198438,-0.15875 q -1.018645,-1.01864 -1.230312,-2.24895 -0.06615,-0.15875 -0.03969,-0.25136 v -0.0132 q -0.06614,-0.43656 -0.01323,-0.83343 l -0.01323,0.0397 q 0.07937,-1.07156 0.833438,-1.79916 l 0.02646,-0.0265 q 0.727604,-0.75406 1.785937,-0.84667"
id="path1397"
style="stroke-width:0.264583" />
<path
stroke="none"
fill="url(#gradient6)"
d="m 93.87698,119.81068 2.2225,-2.20927 1.243542,1.24354 q 0.370416,0.37042 0,0.7276 l -0.277813,0.27782 -0.132292,0.0661 -0.105833,-0.0529 -0.185208,-0.18521 -0.674688,0.67468 0.185209,0.18521 0.03969,0.11907 -0.05292,0.11906 -0.277812,0.27781 q -0.370417,0.37042 -0.740833,0 l -1.243542,-1.24354"
id="path1399"
style="fill:url(#gradient6);stroke-width:0.264583" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 6.4 KiB

View file

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/key_red.svg-ed12a006db4a0c5a21caabc51babcf1a.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://scenes/hud/assets/key_red.svg"
dest_files=[ "res://.import/key_red.svg-ed12a006db4a0c5a21caabc51babcf1a.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

View file

@ -9,6 +9,12 @@ func _ready():
func _process(delta):
$HUD_Items/ScoreLabel.text = str(GlobalState.coins)
$HUD_Items/PlayerItems/Key_Yellow.visible = GlobalState.keys['yellow']
$HUD_Items/PlayerItems/Key_Green.visible = GlobalState.keys['green']
$HUD_Items/PlayerItems/Key_Red.visible = GlobalState.keys['red']
$HUD_Items/PlayerItems/Key_Blue.visible = GlobalState.keys['blue']
$HUD_Items/PlayerItems/health99.visible = GlobalState.health > 66
$HUD_Items/PlayerItems/health66.visible = GlobalState.health > 33
$HUD_Items/PlayerItems/health33.visible = GlobalState.health > 0
func set_font_color(color: Color):
font_color = color

View file

@ -1,9 +1,13 @@
[gd_scene load_steps=7 format=2]
[gd_scene load_steps=11 format=2]
[ext_resource path="res://common/fonts/DSEG14Classic-Bold.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://scenes/hud/hud.gd" type="Script" id=2]
[ext_resource path="res://objects/coin/assets/gold_1.png" type="Texture" id=3]
[ext_resource path="res://scenes/hud/assets/key_yellow.svg" type="Texture" id=4]
[ext_resource path="res://scenes/hud/assets/key_green.svg" type="Texture" id=5]
[ext_resource path="res://scenes/hud/assets/key_red.svg" type="Texture" id=6]
[ext_resource path="res://scenes/hud/assets/key_blue.svg" type="Texture" id=7]
[ext_resource path="res://scenes/hud/assets/health.svg" type="Texture" id=8]
[sub_resource type="DynamicFont" id=1]
size = 64
@ -59,13 +63,48 @@ margin_top = 20.0
margin_right = 40.0
margin_bottom = 40.0
[node name="health33" type="TextureRect" parent="HUD_Items/PlayerItems"]
margin_right = 51.0
margin_bottom = 45.0
texture = ExtResource( 8 )
[node name="health66" type="TextureRect" parent="HUD_Items/PlayerItems"]
margin_left = 55.0
margin_right = 106.0
margin_bottom = 45.0
texture = ExtResource( 8 )
[node name="health99" type="TextureRect" parent="HUD_Items/PlayerItems"]
margin_left = 110.0
margin_right = 161.0
margin_bottom = 45.0
texture = ExtResource( 8 )
[node name="Key_Yellow" type="TextureRect" parent="HUD_Items/PlayerItems"]
margin_right = 43.0
margin_bottom = 39.0
margin_left = 165.0
margin_right = 208.0
margin_bottom = 45.0
texture = ExtResource( 4 )
[node name="Key_Green" type="TextureRect" parent="HUD_Items/PlayerItems"]
margin_left = 212.0
margin_right = 255.0
margin_bottom = 45.0
texture = ExtResource( 5 )
[node name="Key_Red" type="TextureRect" parent="HUD_Items/PlayerItems"]
margin_left = 259.0
margin_right = 302.0
margin_bottom = 45.0
texture = ExtResource( 6 )
[node name="Key_Blue" type="TextureRect" parent="HUD_Items/PlayerItems"]
margin_left = 306.0
margin_right = 349.0
margin_bottom = 45.0
texture = ExtResource( 7 )
[node name="SceneTransition" type="ColorRect" parent="."]
modulate = Color( 1, 1, 1, 0 )
anchor_right = 1.0
anchor_bottom = 1.0
color = Color( 0, 0, 0, 1 )

View file

@ -1,204 +1,13 @@
[gd_scene load_steps=23 format=2]
[gd_scene load_steps=9 format=2]
[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/cloud2.png" type="Texture" id=3]
[ext_resource path="res://common/tilemap/assets/platformerBricks.png" type="Texture" id=4]
[ext_resource path="res://common/tiles/grasland.tres" type="TileSet" id=4]
[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/speech_bubble/speech_bubble.tscn" type="PackedScene" id=7]
[sub_resource type="ConvexPolygonShape2D" id=1]
points = PoolVector2Array( 0, 0, 70, 0, 70, 105, 0, 105 )
[sub_resource type="ConvexPolygonShape2D" id=2]
points = PoolVector2Array( 0, 0, 70, 0, 70, 105, 0, 105 )
[sub_resource type="ConvexPolygonShape2D" id=3]
points = PoolVector2Array( 0, 0, 70, 0, 70, 105, 0, 105 )
[sub_resource type="ConvexPolygonShape2D" id=4]
points = PoolVector2Array( 70, 0, 0, 0, 0, 0, 70, 0 )
[sub_resource type="ConvexPolygonShape2D" id=5]
points = PoolVector2Array( 0, 0, 70, 0, 70, 105, 0, 105 )
[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="ConvexPolygonShape2D" id=10]
points = PoolVector2Array( 0, 0, 70, 0, 70, 105, 0, 105 )
[sub_resource type="ConvexPolygonShape2D" id=11]
points = PoolVector2Array( 0, 0, 70, 0, 70, 105, 0, 105 )
[sub_resource type="ConvexPolygonShape2D" id=12]
points = PoolVector2Array( 0, 0, 70, 0, 70, 105, 0, 105 )
[sub_resource type="ConvexPolygonShape2D" id=13]
points = PoolVector2Array( 0, 0, 70, 0, 70, 105, 0, 105 )
[sub_resource type="ConvexPolygonShape2D" id=14]
points = PoolVector2Array( 0, 0, 70, 0, 70, 105, 0, 105 )
[sub_resource type="TileSet" id=15]
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( 1 )
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( 1 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 1, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 2 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 2, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 3 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 3, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 4 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 3, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 5 ),
"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( 7 )
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( 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( 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( 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( 10 ),
"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( 11 )
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( 11 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 1, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 12 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 2, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 13 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 3, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 14 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
} ]
2/z_index = 0
[sub_resource type="Animation" id=16]
resource_name = "move_out"
tracks/0/type = "value"
@ -236,13 +45,13 @@ margin_bottom = 140.0
texture = ExtResource( 3 )
expand = true
[node name="Tiles" type="TileMap" parent="CanvasLayer"]
tile_set = SubResource( 15 )
[node name="TileMap" type="TileMap" parent="CanvasLayer"]
tile_set = ExtResource( 4 )
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, 917503, 0, 1, 851968, 0, 2, 851969, 0, 2, 851970, 0, 2, 851971, 0, 2, 851972, 0, 2, 851973, 0, 2, 851974, 0, 2, 851975, 0, 2, 851976, 0, 2, 851977, 0, 2, 851978, 0, 2, 851979, 0, 2, 851980, 0, 2, 851981, 0, 2, 851982, 0, 2, 851983, 0, 2, 851984, 0, 2, 851985, 0, 2, 851986, 0, 2, 851987, 0, 2, 851988, 0, 2, 851989, 0, 2, 851990, 0, 2, 851991, 0, 2, 851992, 0, 2, 851993, 0, 2, 851994, 0, 2, 851995, 0, 2, 851996, 0, 3 )
tile_data = PoolIntArray( 917502, 4, 0, 917503, 4, 0, 851968, 4, 0, 851969, 4, 0, 851970, 4, 0, 851971, 4, 0, 851972, 4, 0, 851973, 4, 0, 851974, 4, 0, 851975, 4, 0, 851976, 4, 0, 851977, 4, 0, 851978, 4, 0, 851979, 4, 0, 851980, 4, 0, 851981, 4, 0, 851982, 4, 0, 851983, 4, 0, 851984, 4, 0, 851985, 4, 0, 851986, 4, 0, 851987, 4, 0, 851988, 4, 0, 851989, 4, 0, 851990, 4, 0, 851991, 4, 0, 851992, 4, 0, 851993, 4, 0, 851994, 4, 0, 851995, 4, 0, 851996, 4, 0, 851997, 4, 0, 983038, 5, 0, 983039, 5, 0, 917504, 5, 0, 917505, 5, 0, 917506, 5, 0, 917507, 5, 0, 917508, 5, 0, 917509, 5, 0, 917510, 5, 0, 917511, 5, 0, 917512, 5, 0, 917513, 5, 0, 917514, 5, 0, 917515, 5, 0, 917516, 5, 0, 917517, 5, 0, 917518, 5, 0, 917519, 5, 0, 917520, 5, 0, 917521, 5, 0, 917522, 5, 0, 917523, 5, 0, 917524, 5, 0, 917525, 5, 0, 917526, 5, 0, 917527, 5, 0, 917528, 5, 0, 917529, 5, 0, 917530, 5, 0, 917531, 5, 0, 917532, 5, 0, 917533, 5, 0 )
[node name="Flake" parent="CanvasLayer" instance=ExtResource( 5 )]
position = Vector2( 1691, 686 )

File diff suppressed because one or more lines are too long