diff --git a/.tmp b/.tmp index b64dc7c..e9ccd78 100644 --- a/.tmp +++ b/.tmp @@ -1,840 +1,889 @@ -[gd_resource type="TileSet" load_steps=50 format=2] - -[ext_resource type="Texture" path="res://Sprites/Tilesets/tile full.png" id=0] +[gd_resource type="TileSet" load_steps=46 format=2] +[ext_resource path="res://Sprites/Tilesets/tile full.png" type="Texture" id=0] [sub_resource type="ConvexPolygonShape2D" id=1] -custom_solver_bias=0.0 -points=PoolVector2Array( -21.2298, -23.8952, -16.2848, -26.453, -9.37893, -26.9645, 32, -28, 32, 32, -27, 32, -26.601, -15.7957, -24.4696, -20.3144 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( -21.2298, -23.8952, -16.2848, -26.453, -9.37893, -26.9645, 32, -28, 32, 32, -27, 32, -26.601, -15.7957, -24.4696, -20.3144 ) [sub_resource type="ConvexPolygonShape2D" id=2] -custom_solver_bias=0.0 -points=PoolVector2Array( -32, -28, 32, -28, 32, 32, -32, 32 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( -32, -28, 32, -28, 32, 32, -32, 32 ) [sub_resource type="ConvexPolygonShape2D" id=12] -custom_solver_bias=0.0 -points=PoolVector2Array( -31, -32, 33, -32, 33, 32, -27, 32, -29, 30, -31, 28 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( -31, -32, 33, -32, 33, 32, -27, 32, -29, 30, -31, 28 ) [sub_resource type="ConvexPolygonShape2D" id=13] -custom_solver_bias=0.0 -points=PoolVector2Array( -32, -32, 32, -32, 32, 28, 30, 30, 28, 32, -32, 32 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( -32, -32, 32, -32, 32, 28, 30, 30, 28, 32, -32, 32 ) [sub_resource type="ConvexPolygonShape2D" id=14] -custom_solver_bias=0.0 -points=PoolVector2Array( -32, -32, 28, -32, 32, -28, 32.0174, 32.0416, -32, 32 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( -32, -32, 28, -32, 32, -28, 32.0174, 32.0416, -32, 32 ) [sub_resource type="ConvexPolygonShape2D" id=15] -custom_solver_bias=0.0 -points=PoolVector2Array( -13, -27, 13, -27, 20.1871, -23.398, 26, -16, 26, 18, 22, 24, 12, 27, -11.8241, 27.0544, -22.7264, 24.6188, -27, 19, -26.9018, -15.1633, -21.7986, -22.5862, -18, -25 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( -13, -27, 13, -27, 20.1871, -23.398, 26, -16, 26, 18, 22, 24, 12, 27, -11.8241, 27.0544, -22.7264, 24.6188, -27, 19, -26.9018, -15.1633, -21.7986, -22.5862, -18, -25 ) [sub_resource type="ConvexPolygonShape2D" id=16] -custom_solver_bias=0.0 -points=PoolVector2Array( -27, 32, 32, -28, 32.0174, 31.9257 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( -27, 32, 32, -28, 32.0174, 31.9257 ) [sub_resource type="ConvexPolygonShape2D" id=17] -custom_solver_bias=0.0 -points=PoolVector2Array( -32, -28, -29, -25, 28, 32, -32, 32 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( -32, -28, -29, -25, 28, 32, -32, 32 ) [sub_resource type="ConvexPolygonShape2D" id=18] -custom_solver_bias=0.0 -points=PoolVector2Array( -32, -32, 27, -32, -32, 28 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( -32, -32, 27, -32, -32, 28 ) [sub_resource type="ConvexPolygonShape2D" id=19] -custom_solver_bias=0.0 -points=PoolVector2Array( 32, -32, 32, 28, -28, -32 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( 32, -32, 32, 28, -28, -32 ) [sub_resource type="ConvexPolygonShape2D" id=20] -custom_solver_bias=0.0 -points=PoolVector2Array( 16, 20, 31, 32, 18, 32, -25, 32, -11, 20 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( 16, 20, 31, 32, 18, 32, -25, 32, -11, 20 ) [sub_resource type="ConvexPolygonShape2D" id=3] -custom_solver_bias=0.0 -points=PoolVector2Array( -32, -28, 13.8965, -27.135, 19.9498, -24.2363, 24.2127, -19.4618, 25.4063, -15.7105, 26, 32, -32, 32 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( -32, -28, 13.8965, -27.135, 19.9498, -24.2363, 24.2127, -19.4618, 25.4063, -15.7105, 26, 32, -32, 32 ) [sub_resource type="ConvexPolygonShape2D" id=21] -custom_solver_bias=0.0 -points=PoolVector2Array( 14, 24, 27, 30, -22, 30, -8, 24 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( 14, 24, 27, 30, -22, 30, -8, 24 ) [sub_resource type="ConvexPolygonShape2D" id=22] -custom_solver_bias=0.0 -points=PoolVector2Array( 17, 24, 27, 30, -21, 30, -11, 24 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( 17, 24, 27, 30, -21, 30, -11, 24 ) [sub_resource type="ConvexPolygonShape2D" id=23] -custom_solver_bias=0.0 -points=PoolVector2Array( 14, 13, 17, 24, -11, 24, -8, 13 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( 14, 13, 17, 24, -11, 24, -8, 13 ) [sub_resource type="ConvexPolygonShape2D" id=24] -custom_solver_bias=0.0 -points=PoolVector2Array( 16, 23, 27, 30, -21, 30, -10, 23 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( 16, 23, 27, 30, -21, 30, -10, 23 ) [sub_resource type="ConvexPolygonShape2D" id=25] -custom_solver_bias=0.0 -points=PoolVector2Array( 16, 23, -10, 23, -9, -31, 16, -31 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( 16, 23, -10, 23, -9, -31, 16, -31 ) [sub_resource type="ConvexPolygonShape2D" id=4] -custom_solver_bias=0.0 -points=PoolVector2Array( 32, -32, 32, 32, -28, 32, -27.4817, -32.0967 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( 32, -32, 32, 32, -28, 32, -27.4817, -32.0967 ) [sub_resource type="ConvexPolygonShape2D" id=26] -custom_solver_bias=0.0 -points=PoolVector2Array( 16, 23, 27, 30, -21, 30, -10, 23 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( 16, 23, 27, 30, -21, 30, -10, 23 ) [sub_resource type="ConvexPolygonShape2D" id=27] -custom_solver_bias=0.0 -points=PoolVector2Array( 16, 23, -10, 23, -9, -34, 16, -34 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( 16, 23, -10, 23, -9, -34, 16, -34 ) [sub_resource type="ConvexPolygonShape2D" id=28] -custom_solver_bias=0.0 -points=PoolVector2Array( 16, -34, 16, 30, -9, 30, -9, -34 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( 16, -34, 16, 30, -9, 30, -9, -34 ) [sub_resource type="ConvexPolygonShape2D" id=29] -custom_solver_bias=0.0 -points=PoolVector2Array( 16, -31, 16, 30, -9, 30, -9, -31 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( 16, -31, 16, 30, -9, 30, -9, -31 ) [sub_resource type="ConvexPolygonShape2D" id=30] -custom_solver_bias=0.0 -points=PoolVector2Array( -9, -34, 16, -34, 16, -19, -9, 30 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( -9, -34, 16, -34, 16, -19, -9, 30 ) [sub_resource type="ConvexPolygonShape2D" id=31] -custom_solver_bias=0.0 -points=PoolVector2Array( -9, 30, 16, -19, 23, -12, 24, 3, 16, 17 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( -9, 30, 16, -19, 23, -12, 24, 3, 16, 17 ) [sub_resource type="ConvexPolygonShape2D" id=32] -custom_solver_bias=0.0 -points=PoolVector2Array( 23, -12, 35, -12, 35, -1, 24, 3 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( 23, -12, 35, -12, 35, -1, 24, 3 ) [sub_resource type="ConvexPolygonShape2D" id=33] -custom_solver_bias=0.0 -points=PoolVector2Array( -9, 30, 16, 17, 16, 30 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( -9, 30, 16, 17, 16, 30 ) [sub_resource type="ConvexPolygonShape2D" id=34] -custom_solver_bias=0.0 -points=PoolVector2Array( -25, -12, -25, -1, -29, -1, -29, -12 ) - -[sub_resource type="ConvexPolygonShape2D" id=47] - -custom_solver_bias=0.0 -points=PoolVector2Array( -9, -34, 16, -34, 16, 30, -9, -18 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( -9, -34, 16, -34, 16, 30, -9, -18 ) [sub_resource type="ConvexPolygonShape2D" id=35] -custom_solver_bias=0.0 -points=PoolVector2Array( -16, -12, -9, -18, 16, 30, -9, 14, -15, 4 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( -16, -12, -9, -18, 16, 30, -9, 14, -15, 4 ) [sub_resource type="ConvexPolygonShape2D" id=36] -custom_solver_bias=0.0 -points=PoolVector2Array( 16, 30, -9, 30, -9, 14 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( 16, 30, -9, 30, -9, 14 ) [sub_resource type="ConvexPolygonShape2D" id=37] -custom_solver_bias=0.0 -points=PoolVector2Array( -16, -12, -15, 4, -29, -1, -29, -12 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( -16, -12, -15, 4, -29, -1, -29, -12 ) -[sub_resource type="ConvexPolygonShape2D" id=39] +[sub_resource type="RectangleShape2D" id=38] -custom_solver_bias=0.0 -points=PoolVector2Array( 35, -1, 31, -1, 31, -12, 35, -12 ) +custom_solver_bias = 0.0 +extents = Vector2( 2, 6 ) + +[sub_resource type="RectangleShape2D" id=39] + +custom_solver_bias = 0.0 +extents = Vector2( 32, 6 ) [sub_resource type="ConvexPolygonShape2D" id=40] -custom_solver_bias=0.0 -points=PoolVector2Array( -29, -12, 35, -12, 35, -1, -29, -1 ) - -[sub_resource type="ConvexPolygonShape2D" id=38] - -custom_solver_bias=0.0 -points=PoolVector2Array( -25, -12, -25, -1, -29, -1, -29, -12 ) - -[sub_resource type="ConvexPolygonShape2D" id=48] - -custom_solver_bias=0.0 -points=PoolVector2Array( 35, -1, 31, -1, 31, -12, 35, -12 ) - -[sub_resource type="ConvexPolygonShape2D" id=5] - -custom_solver_bias=0.0 -points=PoolVector2Array( 32, -32, 32, 32, -32, 32, -32, -32 ) - -[sub_resource type="ConvexPolygonShape2D" id=49] - -custom_solver_bias=0.0 -points=PoolVector2Array( -29, -12, 35, -12, 35, -1, -29, -1 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( -9, -18, -9, -34, 16, -34, 16, -18 ) [sub_resource type="ConvexPolygonShape2D" id=41] -custom_solver_bias=0.0 -points=PoolVector2Array( -9, -18, -9, -34, 16, -34, 16, -18 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( 23, -12, 35, -12, 35, -1, 23, 4, -14, 6 ) [sub_resource type="ConvexPolygonShape2D" id=42] -custom_solver_bias=0.0 -points=PoolVector2Array( 23, -12, 35, -12, 35, -1, 23, 4, -14, 6 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( 16, 19, 16, 30, -9, 30, -9, 18 ) [sub_resource type="ConvexPolygonShape2D" id=43] -custom_solver_bias=0.0 -points=PoolVector2Array( 16, 19, 16, 30, -9, 30, -9, 18 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( -24, -1, -29, -1, -29, -12, -17, -12 ) [sub_resource type="ConvexPolygonShape2D" id=44] -custom_solver_bias=0.0 -points=PoolVector2Array( -24, -1, -29, -1, -29, -12, -17, -12 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( -14, 6, -24, -1, -17, -12, -9, -18, 16, -18, 23, -12 ) [sub_resource type="ConvexPolygonShape2D" id=45] -custom_solver_bias=0.0 -points=PoolVector2Array( -14, 6, -24, -1, -17, -12, -9, -18, 16, -18, 23, -12 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( 23, 4, 16, 19, -9, 18, -14, 6 ) -[sub_resource type="ConvexPolygonShape2D" id=46] +[sub_resource type="ConvexPolygonShape2D" id=5] -custom_solver_bias=0.0 -points=PoolVector2Array( 23, 4, 16, 19, -9, 18, -14, 6 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( 32, -32, 32, 32, -32, 32, -32, -32 ) [sub_resource type="ConvexPolygonShape2D" id=6] -custom_solver_bias=0.0 -points=PoolVector2Array( 27, -32, 27, 32, -32, 32, -32, -32 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( 27, -32, 27, 32, -32, 32, -32, -32 ) [sub_resource type="ConvexPolygonShape2D" id=7] -custom_solver_bias=0.0 -points=PoolVector2Array( 32.0174, -32.3287, 32.2493, 27.9823, -9.96833, 27.1704, -21.5666, 24.9667, -24.4662, 22.763, -27, 17, -26.9018, -31.7488 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( 32.0174, -32.3287, 32.2493, 27.9823, -9.96833, 27.1704, -21.5666, 24.9667, -24.4662, 22.763, -27, 17, -26.9018, -31.7488 ) [sub_resource type="ConvexPolygonShape2D" id=8] -custom_solver_bias=0.0 -points=PoolVector2Array( 32, -32, 32, 28, -32, 28, -32, -32 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( 32, -32, 32, 28, -32, 28, -32, -32 ) [sub_resource type="ConvexPolygonShape2D" id=9] -custom_solver_bias=0.0 -points=PoolVector2Array( 27, -32, 27, 15, 25, 21, 21.115, 25.3147, 11.2565, 26.8224, -32, 28, -32, -32 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( 27, -32, 27, 15, 25, 21, 21.115, 25.3147, 11.2565, 26.8224, -32, 28, -32, -32 ) [sub_resource type="ConvexPolygonShape2D" id=10] -custom_solver_bias=0.0 -points=PoolVector2Array( 32, -32, 32, 32, -32, 32, -31.8891, -27.3414, -29, -30 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( 32, -32, 32, 32, -32, 32, -31.8891, -27.3414, -29, -30 ) [sub_resource type="ConvexPolygonShape2D" id=11] -custom_solver_bias=0.0 -points=PoolVector2Array( -27, -32, 32, -32, -29, -30 ) +custom_solver_bias = 0.0 +points = PoolVector2Array( -27, -32, 32, -32, -29, -30 ) [resource] -0/name="Arriba_Izquierda1" -0/texture=null -0/tex_offset=Vector2( 0, 0 ) -0/material=null -0/modulate=Color( 1, 1, 1, 1 ) -0/region=Rect2( 0, 0, 64, 64 ) -0/occluder_offset=Vector2( 32, 32 ) -0/occluder=null -0/navigation_offset=Vector2( 32, 32 ) -0/navigation=null -0/shape_offset=Vector2( 32, 32 ) -0/shapes=[ ] -0/one_way_collision_direction=Vector2( 0, 0 ) -0/one_way_collision_max_depth=0.0 -1/name="Arriba" -1/texture=null -1/tex_offset=Vector2( 0, 0 ) -1/material=null -1/modulate=Color( 1, 1, 1, 1 ) -1/region=Rect2( 64, 0, 64, 64 ) -1/occluder_offset=Vector2( 31.9147, 31.9147 ) -1/occluder=null -1/navigation_offset=Vector2( 31.9147, 31.9147 ) -1/navigation=null -1/shape_offset=Vector2( 31.9147, 31.9147 ) -1/shapes=[ ] -1/one_way_collision_direction=Vector2( 0, 0 ) -1/one_way_collision_max_depth=0.0 -2/name="Arriba_Derecha" -2/texture=null -2/tex_offset=Vector2( 0, 0 ) -2/material=null -2/modulate=Color( 1, 1, 1, 1 ) -2/region=Rect2( 128, 0, 64, 64 ) -2/occluder_offset=Vector2( 31.9147, 31.9147 ) -2/occluder=null -2/navigation_offset=Vector2( 31.9147, 31.9147 ) -2/navigation=null -2/shape_offset=Vector2( 31.9147, 31.9147 ) -2/shapes=[ ] -2/one_way_collision_direction=Vector2( 0, 0 ) -2/one_way_collision_max_depth=0.0 -3/name="Izquierda" -3/texture=null -3/tex_offset=Vector2( 0, 0 ) -3/material=null -3/modulate=Color( 1, 1, 1, 1 ) -3/region=Rect2( 0, 64, 64, 64 ) -3/occluder_offset=Vector2( 31.9147, 31.9147 ) -3/occluder=null -3/navigation_offset=Vector2( 31.9147, 31.9147 ) -3/navigation=null -3/shape_offset=Vector2( 31.9147, 31.9147 ) -3/shapes=[ ] -3/one_way_collision_direction=Vector2( 0, 0 ) -3/one_way_collision_max_depth=0.0 -4/name="Centro" -4/texture=null -4/tex_offset=Vector2( 0, 0 ) -4/material=null -4/modulate=Color( 1, 1, 1, 1 ) -4/region=Rect2( 64, 64, 64, 64 ) -4/occluder_offset=Vector2( 31.9147, 31.9147 ) -4/occluder=null -4/navigation_offset=Vector2( 31.9147, 31.9147 ) -4/navigation=null -4/shape_offset=Vector2( 31.9147, 31.9147 ) -4/shapes=[ ] -4/one_way_collision_direction=Vector2( 0, 0 ) -4/one_way_collision_max_depth=0.0 -5/name="Derecha" -5/texture=null -5/tex_offset=Vector2( 0, 0 ) -5/material=null -5/modulate=Color( 1, 1, 1, 1 ) -5/region=Rect2( 128, 64, 64, 64 ) -5/occluder_offset=Vector2( 31.9147, 31.9147 ) -5/occluder=null -5/navigation_offset=Vector2( 31.9147, 31.9147 ) -5/navigation=null -5/shape_offset=Vector2( 31.9147, 31.9147 ) -5/shapes=[ ] -5/one_way_collision_direction=Vector2( 0, 0 ) -5/one_way_collision_max_depth=0.0 -6/name="Abajo_Izquierda" -6/texture=null -6/tex_offset=Vector2( 0, 0 ) -6/material=null -6/modulate=Color( 1, 1, 1, 1 ) -6/region=Rect2( 0, 128, 64, 64 ) -6/occluder_offset=Vector2( 31.9147, 31.9147 ) -6/occluder=null -6/navigation_offset=Vector2( 31.9147, 31.9147 ) -6/navigation=null -6/shape_offset=Vector2( 31.9147, 31.9147 ) -6/shapes=[ ] -6/one_way_collision_direction=Vector2( 0, 0 ) -6/one_way_collision_max_depth=0.0 -7/name="Abajo" -7/texture=null -7/tex_offset=Vector2( 0, 0 ) -7/material=null -7/modulate=Color( 1, 1, 1, 1 ) -7/region=Rect2( 64, 128, 64, 64 ) -7/occluder_offset=Vector2( 31.9147, 31.9147 ) -7/occluder=null -7/navigation_offset=Vector2( 31.9147, 31.9147 ) -7/navigation=null -7/shape_offset=Vector2( 31.9147, 31.9147 ) -7/shapes=[ ] -7/one_way_collision_direction=Vector2( 0, 0 ) -7/one_way_collision_max_depth=0.0 -8/name="Abajo_Derecha" -8/texture=null -8/tex_offset=Vector2( 0, 0 ) -8/material=null -8/modulate=Color( 1, 1, 1, 1 ) -8/region=Rect2( 128, 128, 64, 64 ) -8/occluder_offset=Vector2( 31.9147, 31.9147 ) -8/occluder=null -8/navigation_offset=Vector2( 31.9147, 31.9147 ) -8/navigation=null -8/shape_offset=Vector2( 31.9147, 31.9147 ) -8/shapes=[ ] -8/one_way_collision_direction=Vector2( 0, 0 ) -8/one_way_collision_max_depth=0.0 -9/name="Inner_Derecha_Abajo" -9/texture=null -9/tex_offset=Vector2( 0, 0 ) -9/material=null -9/modulate=Color( 1, 1, 1, 1 ) -9/region=Rect2( 256, 256, 64, 64 ) -9/occluder_offset=Vector2( 31.9147, 31.9147 ) -9/occluder=null -9/navigation_offset=Vector2( 31.9147, 31.9147 ) -9/navigation=null -9/shape_offset=Vector2( 31.9147, 31.9147 ) -9/shapes=[ , ] -9/one_way_collision_direction=Vector2( 0, 0 ) -9/one_way_collision_max_depth=0.0 -10/name="Inner_Derecha_Arriba" -10/texture=null -10/tex_offset=Vector2( 0, 0 ) -10/material=null -10/modulate=Color( 1, 1, 1, 1 ) -10/region=Rect2( 256, 192, 64, 64 ) -10/occluder_offset=Vector2( 31.9147, 31.9147 ) -10/occluder=null -10/navigation_offset=Vector2( 31.9147, 31.9147 ) -10/navigation=null -10/shape_offset=Vector2( 31.9147, 31.9147 ) -10/shapes=[ ] -10/one_way_collision_direction=Vector2( 0, 0 ) -10/one_way_collision_max_depth=0.0 -11/name="Inner_Izquierda_Arriba" -11/texture=null -11/tex_offset=Vector2( 0, 0 ) -11/material=null -11/modulate=Color( 1, 1, 1, 1 ) -11/region=Rect2( 192, 192, 64, 64 ) -11/occluder_offset=Vector2( 31.9147, 31.9147 ) -11/occluder=null -11/navigation_offset=Vector2( 31.9147, 31.9147 ) -11/navigation=null -11/shape_offset=Vector2( 31.9147, 31.9147 ) -11/shapes=[ ] -11/one_way_collision_direction=Vector2( 0, 0 ) -11/one_way_collision_max_depth=0.0 -12/name="Inner_Izquierda_Abajo" -12/texture=null -12/tex_offset=Vector2( 0, 0 ) -12/material=null -12/modulate=Color( 1, 1, 1, 1 ) -12/region=Rect2( 192, 256, 64, 64 ) -12/occluder_offset=Vector2( 31.9147, 31.9147 ) -12/occluder=null -12/navigation_offset=Vector2( 31.9147, 31.9147 ) -12/navigation=null -12/shape_offset=Vector2( 31.9147, 31.9147 ) -12/shapes=[ ] -12/one_way_collision_direction=Vector2( 0, 0 ) -12/one_way_collision_max_depth=0.0 -13/name="Unico" -13/texture=null -13/tex_offset=Vector2( 0, 0 ) -13/material=null -13/modulate=Color( 1, 1, 1, 1 ) -13/region=Rect2( 192, 64, 64, 64 ) -13/occluder_offset=Vector2( 31.9147, 31.9147 ) -13/occluder=null -13/navigation_offset=Vector2( 31.9147, 31.9147 ) -13/navigation=null -13/shape_offset=Vector2( 31.9147, 31.9147 ) -13/shapes=[ ] -13/one_way_collision_direction=Vector2( 0, 0 ) -13/one_way_collision_max_depth=0.0 -14/name="Rampa1" -14/texture=null -14/tex_offset=Vector2( 0, 0 ) -14/material=null -14/modulate=Color( 1, 1, 1, 1 ) -14/region=Rect2( 0, 192, 64, 64 ) -14/occluder_offset=Vector2( 31.9147, 31.9147 ) -14/occluder=null -14/navigation_offset=Vector2( 31.9147, 31.9147 ) -14/navigation=null -14/shape_offset=Vector2( 31.9147, 31.9147 ) -14/shapes=[ ] -14/one_way_collision_direction=Vector2( 0, 0 ) -14/one_way_collision_max_depth=0.0 -15/name="Rampa2" -15/texture=null -15/tex_offset=Vector2( 0, 0 ) -15/material=null -15/modulate=Color( 1, 1, 1, 1 ) -15/region=Rect2( 64, 192, 64, 64 ) -15/occluder_offset=Vector2( 31.9147, 31.9147 ) -15/occluder=null -15/navigation_offset=Vector2( 31.9147, 31.9147 ) -15/navigation=null -15/shape_offset=Vector2( 31.9147, 31.9147 ) -15/shapes=[ ] -15/one_way_collision_direction=Vector2( 0, 0 ) -15/one_way_collision_max_depth=0.0 -16/name="Rampa3" -16/texture=null -16/tex_offset=Vector2( 0, 0 ) -16/material=null -16/modulate=Color( 1, 1, 1, 1 ) -16/region=Rect2( 64, 256, 64, 64 ) -16/occluder_offset=Vector2( 31.9147, 31.9147 ) -16/occluder=null -16/navigation_offset=Vector2( 31.9147, 31.9147 ) -16/navigation=null -16/shape_offset=Vector2( 31.9147, 31.9147 ) -16/shapes=[ ] -16/one_way_collision_direction=Vector2( 0, 0 ) -16/one_way_collision_max_depth=0.0 -17/name="Rampa4" -17/texture=null -17/tex_offset=Vector2( 0, 0 ) -17/material=null -17/modulate=Color( 1, 1, 1, 1 ) -17/region=Rect2( 0, 256, 64, 64 ) -17/occluder_offset=Vector2( 31.9147, 31.9147 ) -17/occluder=null -17/navigation_offset=Vector2( 31.9147, 31.9147 ) -17/navigation=null -17/shape_offset=Vector2( 31.9147, 31.9147 ) -17/shapes=[ ] -17/one_way_collision_direction=Vector2( 0, 0 ) -17/one_way_collision_max_depth=0.0 -18/name="Tronco_up" -18/texture=null -18/tex_offset=Vector2( 0, 0 ) -18/material=null -18/modulate=Color( 1, 1, 1, 1 ) -18/region=Rect2( 256, 64, 64, 64 ) -18/occluder_offset=Vector2( 31.9147, 31.9147 ) -18/occluder=null -18/navigation_offset=Vector2( 31.9147, 31.9147 ) -18/navigation=null -18/shape_offset=Vector2( 31.9147, 31.9147 ) -18/shapes=[ ] -18/one_way_collision_direction=Vector2( 0, 0 ) -18/one_way_collision_max_depth=0.0 -19/name="Tronco_down" -19/texture=null -19/tex_offset=Vector2( 0, 0 ) -19/material=null -19/modulate=Color( 1, 1, 1, 1 ) -19/region=Rect2( 256, 128, 64, 64 ) -19/occluder_offset=Vector2( 32, 32 ) -19/occluder=null -19/navigation_offset=Vector2( 32, 32 ) -19/navigation=null -19/shape_offset=Vector2( 0, 0 ) -19/shapes=[ ] -19/one_way_collision_direction=Vector2( 0, 0 ) -19/one_way_collision_max_depth=0.0 -20/name="Cochinada" -20/texture=null -20/tex_offset=Vector2( 0, 0 ) -20/material=null -20/modulate=Color( 1, 1, 1, 1 ) -20/region=Rect2( 192, 320, 64, 64 ) -20/occluder_offset=Vector2( 32, 32 ) -20/occluder=null -20/navigation_offset=Vector2( 32, 32 ) -20/navigation=null -20/shape_offset=Vector2( 0, 0 ) -20/shapes=[ ] -20/one_way_collision_direction=Vector2( 0, 0 ) -20/one_way_collision_max_depth=0.0 -21/name="Cochinada_left" -21/texture=null -21/tex_offset=Vector2( 0, 0 ) -21/material=null -21/modulate=Color( 1, 1, 1, 1 ) -21/region=Rect2( 128, 320, 64, 64 ) -21/occluder_offset=Vector2( 32, 32 ) -21/occluder=null -21/navigation_offset=Vector2( 32, 32 ) -21/navigation=null -21/shape_offset=Vector2( 0, 0 ) -21/shapes=[ ] -21/one_way_collision_direction=Vector2( 0, 0 ) -21/one_way_collision_max_depth=0.0 -22/name="Cochinada_right" -22/texture=null -22/tex_offset=Vector2( 0, 0 ) -22/material=null -22/modulate=Color( 1, 1, 1, 1 ) -22/region=Rect2( 256, 320, 64, 64 ) -22/occluder_offset=Vector2( 32, 32 ) -22/occluder=null -22/navigation_offset=Vector2( 32, 32 ) -22/navigation=null -22/shape_offset=Vector2( 0, 0 ) -22/shapes=[ ] -22/one_way_collision_direction=Vector2( 0, 0 ) -22/one_way_collision_max_depth=0.0 -23/name="Cochinada_single" -23/texture=null -23/tex_offset=Vector2( 0, 0 ) -23/material=null -23/modulate=Color( 1, 1, 1, 1 ) -23/region=Rect2( 64, 320, 64, 64 ) -23/occluder_offset=Vector2( 32, 32 ) -23/occluder=null -23/navigation_offset=Vector2( 32, 32 ) -23/navigation=null -23/shape_offset=Vector2( 0, 0 ) -23/shapes=[ ] -23/one_way_collision_direction=Vector2( 0, 0 ) -23/one_way_collision_max_depth=0.0 -24/name="Cochinada_alone" -24/texture=null -24/tex_offset=Vector2( 0, 0 ) -24/material=null -24/modulate=Color( 1, 1, 1, 1 ) -24/region=Rect2( 0, 320, 64, 64 ) -24/occluder_offset=Vector2( 32, 32 ) -24/occluder=null -24/navigation_offset=Vector2( 32, 32 ) -24/navigation=null -24/shape_offset=Vector2( 0, 0 ) -24/shapes=[ ] -24/one_way_collision_direction=Vector2( 0, 0 ) -24/one_way_collision_max_depth=0.0 -25/name="Tocon_up" -25/texture=null -25/tex_offset=Vector2( 0, 0 ) -25/material=null -25/modulate=Color( 1, 1, 1, 1 ) -25/region=Rect2( 64, 384, 64, 64 ) -25/occluder_offset=Vector2( 29, 32 ) -25/occluder=null -25/navigation_offset=Vector2( 29, 32 ) -25/navigation=null -25/shape_offset=Vector2( 29, 32 ) -25/shapes=[ ] -25/one_way_collision_direction=Vector2( 0, 0 ) -25/one_way_collision_max_depth=0.0 -26/name="Tocon_down" -26/texture=null -26/tex_offset=Vector2( 0, 0 ) -26/material=null -26/modulate=Color( 1, 1, 1, 1 ) -26/region=Rect2( 64, 448, 64, 64 ) -26/occluder_offset=Vector2( 32, 32 ) -26/occluder=null -26/navigation_offset=Vector2( 32, 32 ) -26/navigation=null -26/shape_offset=Vector2( 0, 0 ) -26/shapes=[ ] -26/one_way_collision_direction=Vector2( 0, 0 ) -26/one_way_collision_max_depth=0.0 -27/name="Tocon2_up" -27/texture=null -27/tex_offset=Vector2( 0, 0 ) -27/material=null -27/modulate=Color( 1, 1, 1, 1 ) -27/region=Rect2( 0, 384, 64, 64 ) -27/occluder_offset=Vector2( 29, 32 ) -27/occluder=null -27/navigation_offset=Vector2( 29, 32 ) -27/navigation=null -27/shape_offset=Vector2( 29, 32 ) -27/shapes=[ , ] -27/one_way_collision_direction=Vector2( 0, 0 ) -27/one_way_collision_max_depth=0.0 -28/name="Tocon2_down" -28/texture=null -28/tex_offset=Vector2( 0, 0 ) -28/material=null -28/modulate=Color( 1, 1, 1, 1 ) -28/region=Rect2( 0, 448, 64, 64 ) -28/occluder_offset=Vector2( 32, 32 ) -28/occluder=null -28/navigation_offset=Vector2( 32, 32 ) -28/navigation=null -28/shape_offset=Vector2( 0, 0 ) -28/shapes=[ ] -28/one_way_collision_direction=Vector2( 0, 0 ) -28/one_way_collision_max_depth=0.0 -29/name="Tronco_largo_up" -29/texture=null -29/tex_offset=Vector2( 0, 0 ) -29/material=null -29/modulate=Color( 1, 1, 1, 1 ) -29/region=Rect2( 192, 384, 64, 64 ) -29/occluder_offset=Vector2( 29, 32 ) -29/occluder=null -29/navigation_offset=Vector2( 29, 32 ) -29/navigation=null -29/shape_offset=Vector2( 29, 32 ) -29/shapes=[ , ] -29/one_way_collision_direction=Vector2( 0, 0 ) -29/one_way_collision_max_depth=0.0 -30/name="Tronco_largo_init" -30/texture=null -30/tex_offset=Vector2( 0, 0 ) -30/material=null -30/modulate=Color( 1, 1, 1, 1 ) -30/region=Rect2( 256, 384, 64, 64 ) -30/occluder_offset=Vector2( 29, 32 ) -30/occluder=null -30/navigation_offset=Vector2( 29, 32 ) -30/navigation=null -30/shape_offset=Vector2( 29, 32 ) -30/shapes=[ , ] -30/one_way_collision_direction=Vector2( 0, 0 ) -30/one_way_collision_max_depth=0.0 -31/name="Tronco_largo_tiling" -31/texture=null -31/tex_offset=Vector2( 0, 0 ) -31/material=null -31/modulate=Color( 1, 1, 1, 1 ) -31/region=Rect2( 0, 512, 64, 64 ) -31/occluder_offset=Vector2( 29, 32 ) -31/occluder=null -31/navigation_offset=Vector2( 29, 32 ) -31/navigation=null -31/shape_offset=Vector2( 29, 32 ) -31/shapes=[ ] -31/one_way_collision_direction=Vector2( 0, 0 ) -31/one_way_collision_max_depth=0.0 -32/name="Tronco_largo_end" -32/texture=null -32/tex_offset=Vector2( 0, 0 ) -32/material=null -32/modulate=Color( 1, 1, 1, 1 ) -32/region=Rect2( 64, 512, 64, 64 ) -32/occluder_offset=Vector2( 29, 32 ) -32/occluder=null -32/navigation_offset=Vector2( 29, 32 ) -32/navigation=null -32/shape_offset=Vector2( 29, 32 ) -32/shapes=[ ] -32/one_way_collision_direction=Vector2( 0, 0 ) -32/one_way_collision_max_depth=0.0 -33/name="Tronco_rama_right" -33/texture=null -33/tex_offset=Vector2( 0, 0 ) -33/material=null -33/modulate=Color( 1, 1, 1, 1 ) -33/region=Rect2( 128, 512, 64, 64 ) -33/occluder_offset=Vector2( 29, 32 ) -33/occluder=null -33/navigation_offset=Vector2( 29, 32 ) -33/navigation=null -33/shape_offset=Vector2( 29, 32 ) -33/shapes=[ , , , ] -33/one_way_collision_direction=Vector2( 0, 0 ) -33/one_way_collision_max_depth=0.0 -34/name="Rama_right1" -34/texture=null -34/tex_offset=Vector2( 0, 0 ) -34/material=null -34/modulate=Color( 1, 1, 1, 1 ) -34/region=Rect2( 192, 512, 64, 64 ) -34/occluder_offset=Vector2( 32, 32 ) -34/occluder=null -34/navigation_offset=Vector2( 32, 32 ) -34/navigation=null -34/shape_offset=Vector2( 32, 32 ) -34/shapes=[ ] -34/one_way_collision_direction=Vector2( 0, 0 ) -34/one_way_collision_max_depth=0.0 -35/name="Tronco_rama_left" -35/texture=null -35/tex_offset=Vector2( 0, 0 ) -35/material=null -35/modulate=Color( 1, 1, 1, 1 ) -35/region=Rect2( 256, 512, 64, 64 ) -35/occluder_offset=Vector2( 29, 32 ) -35/occluder=null -35/navigation_offset=Vector2( 29, 32 ) -35/navigation=null -35/shape_offset=Vector2( 29, 32 ) -35/shapes=[ , , , ] -35/one_way_collision_direction=Vector2( 0, 0 ) -35/one_way_collision_max_depth=0.0 -36/name="Rama_right2" -36/texture=null -36/tex_offset=Vector2( 0, 0 ) -36/material=null -36/modulate=Color( 1, 1, 1, 1 ) -36/region=Rect2( 256, 448, 64, 64 ) -36/occluder_offset=Vector2( 32, 32 ) -36/occluder=null -36/navigation_offset=Vector2( 32, 32 ) -36/navigation=null -36/shape_offset=Vector2( 32, 32 ) -36/shapes=[ ] -36/one_way_collision_direction=Vector2( 0, 0 ) -36/one_way_collision_max_depth=0.0 -37/name="Rama_1" -37/texture=null -37/tex_offset=Vector2( 0, 0 ) -37/material=null -37/modulate=Color( 1, 1, 1, 1 ) -37/region=Rect2( 0, 576, 64, 64 ) -37/occluder_offset=Vector2( 32, 32 ) -37/occluder=null -37/navigation_offset=Vector2( 32, 32 ) -37/navigation=null -37/shape_offset=Vector2( 32, 32 ) -37/shapes=[ ] -37/one_way_collision_direction=Vector2( 0, 0 ) -37/one_way_collision_max_depth=0.0 -38/name="Rama_end_right" -38/texture=null -38/tex_offset=Vector2( 0, 0 ) -38/material=null -38/modulate=Color( 1, 1, 1, 1 ) -38/region=Rect2( 192, 512, 64, 64 ) -38/occluder_offset=Vector2( 29, 32 ) -38/occluder=null -38/navigation_offset=Vector2( 29, 32 ) -38/navigation=null -38/shape_offset=Vector2( 29, 32 ) -38/shapes=[ ] -38/one_way_collision_direction=Vector2( 0, 0 ) -38/one_way_collision_max_depth=0.0 -39/name="Rama_end_left" -39/texture=null -39/tex_offset=Vector2( 0, 0 ) -39/material=null -39/modulate=Color( 1, 1, 1, 1 ) -39/region=Rect2( 256, 448, 64, 64 ) -39/occluder_offset=Vector2( 29, 32 ) -39/occluder=null -39/navigation_offset=Vector2( 29, 32 ) -39/navigation=null -39/shape_offset=Vector2( 29, 32 ) -39/shapes=[ ] -39/one_way_collision_direction=Vector2( 0, 0 ) -39/one_way_collision_max_depth=0.0 -40/name="Rama" -40/texture=null -40/tex_offset=Vector2( 0, 0 ) -40/material=null -40/modulate=Color( 1, 1, 1, 1 ) -40/region=Rect2( 0, 576, 64, 64 ) -40/occluder_offset=Vector2( 29, 32 ) -40/occluder=null -40/navigation_offset=Vector2( 29, 32 ) -40/navigation=null -40/shape_offset=Vector2( 29, 32 ) -40/shapes=[ ] -40/one_way_collision_direction=Vector2( 0, -1 ) -40/one_way_collision_max_depth=50000.0 -41/name="Tronco_rama_doble" -41/texture=null -41/tex_offset=Vector2( 0, 0 ) -41/material=null -41/modulate=Color( 1, 1, 1, 1 ) -41/region=Rect2( 64, 576, 64, 64 ) -41/occluder_offset=Vector2( 29, 32 ) -41/occluder=null -41/navigation_offset=Vector2( 29, 32 ) -41/navigation=null -41/shape_offset=Vector2( 29, 32 ) -41/shapes=[ , , , , , ] -41/one_way_collision_direction=Vector2( 0, 0 ) -41/one_way_collision_max_depth=0.0 +0/name = "Arriba_Izquierda1" +0/texture = null +0/tex_offset = Vector2( 0, 0 ) +0/material = null +0/modulate = Color( 1, 1, 1, 1 ) +0/region = Rect2( 0, 0, 64, 64 ) +0/occluder_offset = Vector2( 32, 32 ) +0/occluder = null +0/navigation_offset = Vector2( 32, 32 ) +0/navigation = null +0/shape_offset = Vector2( 32, 32 ) +0/shapes = [ ] +0/one_way_collision_direction = Vector2( 0, 0 ) +0/one_way_collision_max_depth = 0.0 +1/name = "Arriba" +1/texture = null +1/tex_offset = Vector2( 0, 0 ) +1/material = null +1/modulate = Color( 1, 1, 1, 1 ) +1/region = Rect2( 64, 0, 64, 64 ) +1/occluder_offset = Vector2( 31.9147, 31.9147 ) +1/occluder = null +1/navigation_offset = Vector2( 31.9147, 31.9147 ) +1/navigation = null +1/shape_offset = Vector2( 31.9147, 31.9147 ) +1/shapes = [ ] +1/one_way_collision_direction = Vector2( 0, 0 ) +1/one_way_collision_max_depth = 0.0 +2/name = "Arriba_Derecha" +2/texture = null +2/tex_offset = Vector2( 0, 0 ) +2/material = null +2/modulate = Color( 1, 1, 1, 1 ) +2/region = Rect2( 128, 0, 64, 64 ) +2/occluder_offset = Vector2( 31.9147, 31.9147 ) +2/occluder = null +2/navigation_offset = Vector2( 31.9147, 31.9147 ) +2/navigation = null +2/shape_offset = Vector2( 31.9147, 31.9147 ) +2/shapes = [ ] +2/one_way_collision_direction = Vector2( 0, 0 ) +2/one_way_collision_max_depth = 0.0 +3/name = "Izquierda" +3/texture = null +3/tex_offset = Vector2( 0, 0 ) +3/material = null +3/modulate = Color( 1, 1, 1, 1 ) +3/region = Rect2( 0, 64, 64, 64 ) +3/occluder_offset = Vector2( 31.9147, 31.9147 ) +3/occluder = null +3/navigation_offset = Vector2( 31.9147, 31.9147 ) +3/navigation = null +3/shape_offset = Vector2( 31.9147, 31.9147 ) +3/shapes = [ ] +3/one_way_collision_direction = Vector2( 0, 0 ) +3/one_way_collision_max_depth = 0.0 +4/name = "Centro" +4/texture = null +4/tex_offset = Vector2( 0, 0 ) +4/material = null +4/modulate = Color( 1, 1, 1, 1 ) +4/region = Rect2( 64, 64, 64, 64 ) +4/occluder_offset = Vector2( 31.9147, 31.9147 ) +4/occluder = null +4/navigation_offset = Vector2( 31.9147, 31.9147 ) +4/navigation = null +4/shape_offset = Vector2( 31.9147, 31.9147 ) +4/shapes = [ ] +4/one_way_collision_direction = Vector2( 0, 0 ) +4/one_way_collision_max_depth = 0.0 +5/name = "Derecha" +5/texture = null +5/tex_offset = Vector2( 0, 0 ) +5/material = null +5/modulate = Color( 1, 1, 1, 1 ) +5/region = Rect2( 128, 64, 64, 64 ) +5/occluder_offset = Vector2( 31.9147, 31.9147 ) +5/occluder = null +5/navigation_offset = Vector2( 31.9147, 31.9147 ) +5/navigation = null +5/shape_offset = Vector2( 31.9147, 31.9147 ) +5/shapes = [ ] +5/one_way_collision_direction = Vector2( 0, 0 ) +5/one_way_collision_max_depth = 0.0 +6/name = "Abajo_Izquierda" +6/texture = null +6/tex_offset = Vector2( 0, 0 ) +6/material = null +6/modulate = Color( 1, 1, 1, 1 ) +6/region = Rect2( 0, 128, 64, 64 ) +6/occluder_offset = Vector2( 31.9147, 31.9147 ) +6/occluder = null +6/navigation_offset = Vector2( 31.9147, 31.9147 ) +6/navigation = null +6/shape_offset = Vector2( 31.9147, 31.9147 ) +6/shapes = [ ] +6/one_way_collision_direction = Vector2( 0, 0 ) +6/one_way_collision_max_depth = 0.0 +7/name = "Abajo" +7/texture = null +7/tex_offset = Vector2( 0, 0 ) +7/material = null +7/modulate = Color( 1, 1, 1, 1 ) +7/region = Rect2( 64, 128, 64, 64 ) +7/occluder_offset = Vector2( 31.9147, 31.9147 ) +7/occluder = null +7/navigation_offset = Vector2( 31.9147, 31.9147 ) +7/navigation = null +7/shape_offset = Vector2( 31.9147, 31.9147 ) +7/shapes = [ ] +7/one_way_collision_direction = Vector2( 0, 0 ) +7/one_way_collision_max_depth = 0.0 +8/name = "Abajo_Derecha" +8/texture = null +8/tex_offset = Vector2( 0, 0 ) +8/material = null +8/modulate = Color( 1, 1, 1, 1 ) +8/region = Rect2( 128, 128, 64, 64 ) +8/occluder_offset = Vector2( 31.9147, 31.9147 ) +8/occluder = null +8/navigation_offset = Vector2( 31.9147, 31.9147 ) +8/navigation = null +8/shape_offset = Vector2( 31.9147, 31.9147 ) +8/shapes = [ ] +8/one_way_collision_direction = Vector2( 0, 0 ) +8/one_way_collision_max_depth = 0.0 +9/name = "Inner_Derecha_Abajo" +9/texture = null +9/tex_offset = Vector2( 0, 0 ) +9/material = null +9/modulate = Color( 1, 1, 1, 1 ) +9/region = Rect2( 256, 256, 64, 64 ) +9/occluder_offset = Vector2( 31.9147, 31.9147 ) +9/occluder = null +9/navigation_offset = Vector2( 31.9147, 31.9147 ) +9/navigation = null +9/shape_offset = Vector2( 31.9147, 31.9147 ) +9/shapes = [ , ] +9/one_way_collision_direction = Vector2( 0, 0 ) +9/one_way_collision_max_depth = 0.0 +10/name = "Inner_Derecha_Arriba" +10/texture = null +10/tex_offset = Vector2( 0, 0 ) +10/material = null +10/modulate = Color( 1, 1, 1, 1 ) +10/region = Rect2( 256, 192, 64, 64 ) +10/occluder_offset = Vector2( 31.9147, 31.9147 ) +10/occluder = null +10/navigation_offset = Vector2( 31.9147, 31.9147 ) +10/navigation = null +10/shape_offset = Vector2( 31.9147, 31.9147 ) +10/shapes = [ ] +10/one_way_collision_direction = Vector2( 0, 0 ) +10/one_way_collision_max_depth = 0.0 +11/name = "Inner_Izquierda_Arriba" +11/texture = null +11/tex_offset = Vector2( 0, 0 ) +11/material = null +11/modulate = Color( 1, 1, 1, 1 ) +11/region = Rect2( 192, 192, 64, 64 ) +11/occluder_offset = Vector2( 31.9147, 31.9147 ) +11/occluder = null +11/navigation_offset = Vector2( 31.9147, 31.9147 ) +11/navigation = null +11/shape_offset = Vector2( 31.9147, 31.9147 ) +11/shapes = [ ] +11/one_way_collision_direction = Vector2( 0, 0 ) +11/one_way_collision_max_depth = 0.0 +12/name = "Inner_Izquierda_Abajo" +12/texture = null +12/tex_offset = Vector2( 0, 0 ) +12/material = null +12/modulate = Color( 1, 1, 1, 1 ) +12/region = Rect2( 192, 256, 64, 64 ) +12/occluder_offset = Vector2( 31.9147, 31.9147 ) +12/occluder = null +12/navigation_offset = Vector2( 31.9147, 31.9147 ) +12/navigation = null +12/shape_offset = Vector2( 31.9147, 31.9147 ) +12/shapes = [ ] +12/one_way_collision_direction = Vector2( 0, 0 ) +12/one_way_collision_max_depth = 0.0 +13/name = "Unico" +13/texture = null +13/tex_offset = Vector2( 0, 0 ) +13/material = null +13/modulate = Color( 1, 1, 1, 1 ) +13/region = Rect2( 192, 64, 64, 64 ) +13/occluder_offset = Vector2( 31.9147, 31.9147 ) +13/occluder = null +13/navigation_offset = Vector2( 31.9147, 31.9147 ) +13/navigation = null +13/shape_offset = Vector2( 31.9147, 31.9147 ) +13/shapes = [ ] +13/one_way_collision_direction = Vector2( 0, 0 ) +13/one_way_collision_max_depth = 0.0 +14/name = "Rampa1" +14/texture = null +14/tex_offset = Vector2( 0, 0 ) +14/material = null +14/modulate = Color( 1, 1, 1, 1 ) +14/region = Rect2( 0, 192, 64, 64 ) +14/occluder_offset = Vector2( 31.9147, 31.9147 ) +14/occluder = null +14/navigation_offset = Vector2( 31.9147, 31.9147 ) +14/navigation = null +14/shape_offset = Vector2( 31.9147, 31.9147 ) +14/shapes = [ ] +14/one_way_collision_direction = Vector2( 0, 0 ) +14/one_way_collision_max_depth = 0.0 +15/name = "Rampa2" +15/texture = null +15/tex_offset = Vector2( 0, 0 ) +15/material = null +15/modulate = Color( 1, 1, 1, 1 ) +15/region = Rect2( 64, 192, 64, 64 ) +15/occluder_offset = Vector2( 31.9147, 31.9147 ) +15/occluder = null +15/navigation_offset = Vector2( 31.9147, 31.9147 ) +15/navigation = null +15/shape_offset = Vector2( 31.9147, 31.9147 ) +15/shapes = [ ] +15/one_way_collision_direction = Vector2( 0, 0 ) +15/one_way_collision_max_depth = 0.0 +16/name = "Rampa3" +16/texture = null +16/tex_offset = Vector2( 0, 0 ) +16/material = null +16/modulate = Color( 1, 1, 1, 1 ) +16/region = Rect2( 64, 256, 64, 64 ) +16/occluder_offset = Vector2( 31.9147, 31.9147 ) +16/occluder = null +16/navigation_offset = Vector2( 31.9147, 31.9147 ) +16/navigation = null +16/shape_offset = Vector2( 31.9147, 31.9147 ) +16/shapes = [ ] +16/one_way_collision_direction = Vector2( 0, 0 ) +16/one_way_collision_max_depth = 0.0 +17/name = "Rampa4" +17/texture = null +17/tex_offset = Vector2( 0, 0 ) +17/material = null +17/modulate = Color( 1, 1, 1, 1 ) +17/region = Rect2( 0, 256, 64, 64 ) +17/occluder_offset = Vector2( 31.9147, 31.9147 ) +17/occluder = null +17/navigation_offset = Vector2( 31.9147, 31.9147 ) +17/navigation = null +17/shape_offset = Vector2( 31.9147, 31.9147 ) +17/shapes = [ ] +17/one_way_collision_direction = Vector2( 0, 0 ) +17/one_way_collision_max_depth = 0.0 +18/name = "Tronco_up" +18/texture = null +18/tex_offset = Vector2( 0, 0 ) +18/material = null +18/modulate = Color( 1, 1, 1, 1 ) +18/region = Rect2( 256, 64, 64, 64 ) +18/occluder_offset = Vector2( 31.9147, 31.9147 ) +18/occluder = null +18/navigation_offset = Vector2( 31.9147, 31.9147 ) +18/navigation = null +18/shape_offset = Vector2( 31.9147, 31.9147 ) +18/shapes = [ ] +18/one_way_collision_direction = Vector2( 0, 0 ) +18/one_way_collision_max_depth = 0.0 +19/name = "Tronco_down" +19/texture = null +19/tex_offset = Vector2( 0, 0 ) +19/material = null +19/modulate = Color( 1, 1, 1, 1 ) +19/region = Rect2( 256, 128, 64, 64 ) +19/occluder_offset = Vector2( 32, 32 ) +19/occluder = null +19/navigation_offset = Vector2( 32, 32 ) +19/navigation = null +19/shape_offset = Vector2( 0, 0 ) +19/shapes = [ ] +19/one_way_collision_direction = Vector2( 0, 0 ) +19/one_way_collision_max_depth = 0.0 +20/name = "Tocon_up" +20/texture = null +20/tex_offset = Vector2( 0, 0 ) +20/material = null +20/modulate = Color( 1, 1, 1, 1 ) +20/region = Rect2( 64, 384, 64, 64 ) +20/occluder_offset = Vector2( 29, 32 ) +20/occluder = null +20/navigation_offset = Vector2( 29, 32 ) +20/navigation = null +20/shape_offset = Vector2( 29, 32 ) +20/shapes = [ ] +20/one_way_collision_direction = Vector2( 0, 0 ) +20/one_way_collision_max_depth = 0.0 +21/name = "Tocon_down" +21/texture = null +21/tex_offset = Vector2( 0, 0 ) +21/material = null +21/modulate = Color( 1, 1, 1, 1 ) +21/region = Rect2( 64, 448, 64, 64 ) +21/occluder_offset = Vector2( 32, 32 ) +21/occluder = null +21/navigation_offset = Vector2( 32, 32 ) +21/navigation = null +21/shape_offset = Vector2( 0, 0 ) +21/shapes = [ ] +21/one_way_collision_direction = Vector2( 0, 0 ) +21/one_way_collision_max_depth = 0.0 +22/name = "Cochinada" +22/texture = null +22/tex_offset = Vector2( 0, 0 ) +22/material = null +22/modulate = Color( 1, 1, 1, 1 ) +22/region = Rect2( 192, 320, 64, 64 ) +22/occluder_offset = Vector2( 32, 32 ) +22/occluder = null +22/navigation_offset = Vector2( 32, 32 ) +22/navigation = null +22/shape_offset = Vector2( 0, 0 ) +22/shapes = [ ] +22/one_way_collision_direction = Vector2( 0, 0 ) +22/one_way_collision_max_depth = 0.0 +23/name = "Cochinada_left" +23/texture = null +23/tex_offset = Vector2( 0, 0 ) +23/material = null +23/modulate = Color( 1, 1, 1, 1 ) +23/region = Rect2( 128, 320, 64, 64 ) +23/occluder_offset = Vector2( 32, 32 ) +23/occluder = null +23/navigation_offset = Vector2( 32, 32 ) +23/navigation = null +23/shape_offset = Vector2( 0, 0 ) +23/shapes = [ ] +23/one_way_collision_direction = Vector2( 0, 0 ) +23/one_way_collision_max_depth = 0.0 +24/name = "Cochinada_right" +24/texture = null +24/tex_offset = Vector2( 0, 0 ) +24/material = null +24/modulate = Color( 1, 1, 1, 1 ) +24/region = Rect2( 256, 320, 64, 64 ) +24/occluder_offset = Vector2( 32, 32 ) +24/occluder = null +24/navigation_offset = Vector2( 32, 32 ) +24/navigation = null +24/shape_offset = Vector2( 0, 0 ) +24/shapes = [ ] +24/one_way_collision_direction = Vector2( 0, 0 ) +24/one_way_collision_max_depth = 0.0 +25/name = "Cochinada_single" +25/texture = null +25/tex_offset = Vector2( 0, 0 ) +25/material = null +25/modulate = Color( 1, 1, 1, 1 ) +25/region = Rect2( 64, 320, 64, 64 ) +25/occluder_offset = Vector2( 32, 32 ) +25/occluder = null +25/navigation_offset = Vector2( 32, 32 ) +25/navigation = null +25/shape_offset = Vector2( 0, 0 ) +25/shapes = [ ] +25/one_way_collision_direction = Vector2( 0, 0 ) +25/one_way_collision_max_depth = 0.0 +26/name = "Cochinada_alone" +26/texture = null +26/tex_offset = Vector2( 0, 0 ) +26/material = null +26/modulate = Color( 1, 1, 1, 1 ) +26/region = Rect2( 0, 320, 64, 64 ) +26/occluder_offset = Vector2( 32, 32 ) +26/occluder = null +26/navigation_offset = Vector2( 32, 32 ) +26/navigation = null +26/shape_offset = Vector2( 0, 0 ) +26/shapes = [ ] +26/one_way_collision_direction = Vector2( 0, 0 ) +26/one_way_collision_max_depth = 0.0 +27/name = "Tocon2_up" +27/texture = null +27/tex_offset = Vector2( 0, 0 ) +27/material = null +27/modulate = Color( 1, 1, 1, 1 ) +27/region = Rect2( 0, 384, 64, 64 ) +27/occluder_offset = Vector2( 29, 32 ) +27/occluder = null +27/navigation_offset = Vector2( 29, 32 ) +27/navigation = null +27/shape_offset = Vector2( 29, 32 ) +27/shapes = [ , ] +27/one_way_collision_direction = Vector2( 0, 0 ) +27/one_way_collision_max_depth = 0.0 +28/name = "Tocon2_down" +28/texture = null +28/tex_offset = Vector2( 0, 0 ) +28/material = null +28/modulate = Color( 1, 1, 1, 1 ) +28/region = Rect2( 0, 448, 64, 64 ) +28/occluder_offset = Vector2( 32, 32 ) +28/occluder = null +28/navigation_offset = Vector2( 32, 32 ) +28/navigation = null +28/shape_offset = Vector2( 0, 0 ) +28/shapes = [ ] +28/one_way_collision_direction = Vector2( 0, 0 ) +28/one_way_collision_max_depth = 0.0 +29/name = "Tronco_largo_up" +29/texture = null +29/tex_offset = Vector2( 0, 0 ) +29/material = null +29/modulate = Color( 1, 1, 1, 1 ) +29/region = Rect2( 192, 384, 64, 64 ) +29/occluder_offset = Vector2( 29, 32 ) +29/occluder = null +29/navigation_offset = Vector2( 29, 32 ) +29/navigation = null +29/shape_offset = Vector2( 29, 32 ) +29/shapes = [ , ] +29/one_way_collision_direction = Vector2( 0, 0 ) +29/one_way_collision_max_depth = 0.0 +30/name = "Tronco_largo_init" +30/texture = null +30/tex_offset = Vector2( 0, 0 ) +30/material = null +30/modulate = Color( 1, 1, 1, 1 ) +30/region = Rect2( 256, 384, 64, 64 ) +30/occluder_offset = Vector2( 29, 32 ) +30/occluder = null +30/navigation_offset = Vector2( 29, 32 ) +30/navigation = null +30/shape_offset = Vector2( 29, 32 ) +30/shapes = [ , ] +30/one_way_collision_direction = Vector2( 0, 0 ) +30/one_way_collision_max_depth = 0.0 +31/name = "Tronco_largo_tiling" +31/texture = null +31/tex_offset = Vector2( 0, 0 ) +31/material = null +31/modulate = Color( 1, 1, 1, 1 ) +31/region = Rect2( 0, 512, 64, 64 ) +31/occluder_offset = Vector2( 29, 32 ) +31/occluder = null +31/navigation_offset = Vector2( 29, 32 ) +31/navigation = null +31/shape_offset = Vector2( 29, 32 ) +31/shapes = [ ] +31/one_way_collision_direction = Vector2( 0, 0 ) +31/one_way_collision_max_depth = 0.0 +32/name = "Tronco_largo_end" +32/texture = null +32/tex_offset = Vector2( 0, 0 ) +32/material = null +32/modulate = Color( 1, 1, 1, 1 ) +32/region = Rect2( 64, 512, 64, 64 ) +32/occluder_offset = Vector2( 29, 32 ) +32/occluder = null +32/navigation_offset = Vector2( 29, 32 ) +32/navigation = null +32/shape_offset = Vector2( 29, 32 ) +32/shapes = [ ] +32/one_way_collision_direction = Vector2( 0, 0 ) +32/one_way_collision_max_depth = 0.0 +33/name = "Tronco_rama_right" +33/texture = null +33/tex_offset = Vector2( 0, 0 ) +33/material = null +33/modulate = Color( 1, 1, 1, 1 ) +33/region = Rect2( 128, 512, 64, 64 ) +33/occluder_offset = Vector2( 29, 32 ) +33/occluder = null +33/navigation_offset = Vector2( 29, 32 ) +33/navigation = null +33/shape_offset = Vector2( 29, 32 ) +33/shapes = [ , , , ] +33/one_way_collision_direction = Vector2( 0, 1 ) +33/one_way_collision_max_depth = 1.0 +34/name = "Tronco_rama_left" +34/texture = null +34/tex_offset = Vector2( 0, 0 ) +34/material = null +34/modulate = Color( 1, 1, 1, 1 ) +34/region = Rect2( 256, 512, 64, 64 ) +34/occluder_offset = Vector2( 29, 32 ) +34/occluder = null +34/navigation_offset = Vector2( 29, 32 ) +34/navigation = null +34/shape_offset = Vector2( 29, 32 ) +34/shapes = [ , , , ] +34/one_way_collision_direction = Vector2( 0, 1 ) +34/one_way_collision_max_depth = 1.0 +35/name = "Rama_end_right" +35/texture = null +35/tex_offset = Vector2( 0, 0 ) +35/material = null +35/modulate = Color( 1, 1, 1, 1 ) +35/region = Rect2( 192, 512, 64, 64 ) +35/occluder_offset = Vector2( 29, 32 ) +35/occluder = null +35/navigation_offset = Vector2( 29, 32 ) +35/navigation = null +35/shape_offset = Vector2( 29, 32 ) +35/shapes = [ ] +35/one_way_collision_direction = Vector2( 0, 1 ) +35/one_way_collision_max_depth = 20.0 +36/name = "Rama_end_left" +36/texture = null +36/tex_offset = Vector2( 0, 0 ) +36/material = null +36/modulate = Color( 1, 1, 1, 1 ) +36/region = Rect2( 256, 448, 64, 64 ) +36/occluder_offset = Vector2( 29, 32 ) +36/occluder = null +36/navigation_offset = Vector2( 29, 32 ) +36/navigation = null +36/shape_offset = Vector2( 29, 32 ) +36/shapes = [ ] +36/one_way_collision_direction = Vector2( 0, 1 ) +36/one_way_collision_max_depth = 20.0 +37/name = "Rama" +37/texture = null +37/tex_offset = Vector2( 0, 0 ) +37/material = null +37/modulate = Color( 1, 1, 1, 1 ) +37/region = Rect2( 0, 576, 64, 64 ) +37/occluder_offset = Vector2( 29, 32 ) +37/occluder = null +37/navigation_offset = Vector2( 29, 32 ) +37/navigation = null +37/shape_offset = Vector2( 29, 32 ) +37/shapes = [ ] +37/one_way_collision_direction = Vector2( 0, 1 ) +37/one_way_collision_max_depth = 1.0 +38/name = "Tronco_rama_doble" +38/texture = null +38/tex_offset = Vector2( 0, 0 ) +38/material = null +38/modulate = Color( 1, 1, 1, 1 ) +38/region = Rect2( 64, 576, 64, 64 ) +38/occluder_offset = Vector2( 29, 32 ) +38/occluder = null +38/navigation_offset = Vector2( 29, 32 ) +38/navigation = null +38/shape_offset = Vector2( 29, 32 ) +38/shapes = [ , , , , , ] +38/one_way_collision_direction = Vector2( 0, 1 ) +38/one_way_collision_max_depth = 1.0 +39/name = "hoja_1" +39/texture = null +39/tex_offset = Vector2( 0, 0 ) +39/material = null +39/modulate = Color( 1, 1, 1, 1 ) +39/region = Rect2( 0, 640, 64, 64 ) +39/occluder_offset = Vector2( 32, 32 ) +39/occluder = null +39/navigation_offset = Vector2( 32, 32 ) +39/navigation = null +39/shape_offset = Vector2( 0, 0 ) +39/shapes = [ ] +39/one_way_collision_direction = Vector2( 0, 0 ) +39/one_way_collision_max_depth = 0.0 +40/name = "hoja_2" +40/texture = null +40/tex_offset = Vector2( 0, 0 ) +40/material = null +40/modulate = Color( 1, 1, 1, 1 ) +40/region = Rect2( 64, 640, 64, 64 ) +40/occluder_offset = Vector2( 32, 32 ) +40/occluder = null +40/navigation_offset = Vector2( 32, 32 ) +40/navigation = null +40/shape_offset = Vector2( 0, 0 ) +40/shapes = [ ] +40/one_way_collision_direction = Vector2( 0, 0 ) +40/one_way_collision_max_depth = 0.0 +41/name = "hoja_3" +41/texture = null +41/tex_offset = Vector2( 0, 0 ) +41/material = null +41/modulate = Color( 1, 1, 1, 1 ) +41/region = Rect2( 128, 640, 64, 64 ) +41/occluder_offset = Vector2( 32, 32 ) +41/occluder = null +41/navigation_offset = Vector2( 32, 32 ) +41/navigation = null +41/shape_offset = Vector2( 0, 0 ) +41/shapes = [ ] +41/one_way_collision_direction = Vector2( 0, 0 ) +41/one_way_collision_max_depth = 0.0 +42/name = "hoja_4" +42/texture = null +42/tex_offset = Vector2( 0, 0 ) +42/material = null +42/modulate = Color( 1, 1, 1, 1 ) +42/region = Rect2( 0, 704, 64, 64 ) +42/occluder_offset = Vector2( 32, 32 ) +42/occluder = null +42/navigation_offset = Vector2( 32, 32 ) +42/navigation = null +42/shape_offset = Vector2( 0, 0 ) +42/shapes = [ ] +42/one_way_collision_direction = Vector2( 0, 0 ) +42/one_way_collision_max_depth = 0.0 +43/name = "hoja_5" +43/texture = null +43/tex_offset = Vector2( 0, 0 ) +43/material = null +43/modulate = Color( 1, 1, 1, 1 ) +43/region = Rect2( 64, 704, 64, 64 ) +43/occluder_offset = Vector2( 32, 32 ) +43/occluder = null +43/navigation_offset = Vector2( 32, 32 ) +43/navigation = null +43/shape_offset = Vector2( 0, 0 ) +43/shapes = [ ] +43/one_way_collision_direction = Vector2( 0, 0 ) +43/one_way_collision_max_depth = 0.0 +44/name = "hoja_6" +44/texture = null +44/tex_offset = Vector2( 0, 0 ) +44/material = null +44/modulate = Color( 1, 1, 1, 1 ) +44/region = Rect2( 128, 704, 64, 64 ) +44/occluder_offset = Vector2( 32, 32 ) +44/occluder = null +44/navigation_offset = Vector2( 32, 32 ) +44/navigation = null +44/shape_offset = Vector2( 0, 0 ) +44/shapes = [ ] +44/one_way_collision_direction = Vector2( 0, 0 ) +44/one_way_collision_max_depth = 0.0 +45/name = "hoja_7" +45/texture = null +45/tex_offset = Vector2( 0, 0 ) +45/material = null +45/modulate = Color( 1, 1, 1, 1 ) +45/region = Rect2( 192, 704, 64, 64 ) +45/occluder_offset = Vector2( 32, 32 ) +45/occluder = null +45/navigation_offset = Vector2( 32, 32 ) +45/navigation = null +45/shape_offset = Vector2( 0, 0 ) +45/shapes = [ ] +45/one_way_collision_direction = Vector2( 0, 0 ) +45/one_way_collision_max_depth = 0.0 +46/name = "hoja_8" +46/texture = null +46/tex_offset = Vector2( 0, 0 ) +46/material = null +46/modulate = Color( 1, 1, 1, 1 ) +46/region = Rect2( 256, 576, 64, 64 ) +46/occluder_offset = Vector2( 32, 32 ) +46/occluder = null +46/navigation_offset = Vector2( 32, 32 ) +46/navigation = null +46/shape_offset = Vector2( 0, 0 ) +46/shapes = [ ] +46/one_way_collision_direction = Vector2( 0, 0 ) +46/one_way_collision_max_depth = 0.0 diff --git a/Scenes/Events/cowbell.tscn b/Scenes/Events/cowbell.tscn index e30e8f6..afe2fcf 100644 --- a/Scenes/Events/cowbell.tscn +++ b/Scenes/Events/cowbell.tscn @@ -2,7 +2,7 @@ [ext_resource path="res://Scenes/Events/cowbell.gd" type="Script" id=1] [ext_resource path="res://Sprites/Charasets/cowbell.png" type="Texture" id=2] -[ext_resource path="res://Scenes/Events/cowbell_animations.tres" type="Animation" id=3] +[ext_resource path="res://Scenes/Events/cowbell_animation_one_shot.tres" type="Animation" id=3] [sub_resource type="RectangleShape2D" id=1] @@ -30,6 +30,7 @@ amount = 100 transform/scale = Vector2( 2, 2 ) texture = ExtResource( 2 ) hframes = 3 +frame = 2 region_rect = Rect2( 0, 0, 24, 24 ) [node name="AnimationPlayer" type="AnimationPlayer" parent="Sprite"] diff --git a/Scenes/Events/cowbell_animation_one_shot.tres b/Scenes/Events/cowbell_animation_one_shot.tres new file mode 100644 index 0000000..31f71d9 --- /dev/null +++ b/Scenes/Events/cowbell_animation_one_shot.tres @@ -0,0 +1,19 @@ +[gd_resource type="Animation" format=1] + +[resource] + +resource/name = "Bling" +length = 0.61 +loop = true +step = 0.15 +tracks/0/type = "value" +tracks/0/path = NodePath(".:frame") +tracks/0/interp = 1 +tracks/0/imported = false +tracks/0/keys = { +"times": FloatArray( 0, 0.15, 0.3, 0.45, 0.6 ), +"transitions": FloatArray( 1, 1, 1, 1, 1 ), +"update": 1, +"values": [ 0, 1, 0, 2, 0 ] +} + diff --git a/Scenes/Events/cowbell_animations.tres b/Scenes/Events/cowbell_animations.tres index 1f71bda..31f71d9 100644 --- a/Scenes/Events/cowbell_animations.tres +++ b/Scenes/Events/cowbell_animations.tres @@ -3,17 +3,17 @@ [resource] resource/name = "Bling" -length = 0.8 +length = 0.61 loop = true -step = 0.2 +step = 0.15 tracks/0/type = "value" tracks/0/path = NodePath(".:frame") tracks/0/interp = 1 tracks/0/imported = false tracks/0/keys = { -"times": FloatArray( 0, 0.2, 0.4, 0.6 ), -"transitions": FloatArray( 1, 1, 1, 1 ), +"times": FloatArray( 0, 0.15, 0.3, 0.45, 0.6 ), +"transitions": FloatArray( 1, 1, 1, 1, 1 ), "update": 1, -"values": [ 0, 1, 0, 2 ] +"values": [ 0, 1, 0, 2, 0 ] } diff --git a/Scenes/Events/cowbell_collector.gd b/Scenes/Events/cowbell_collector.gd index 072c9c5..2bb114a 100644 --- a/Scenes/Events/cowbell_collector.gd +++ b/Scenes/Events/cowbell_collector.gd @@ -36,6 +36,7 @@ func play_sound(): aux_timer.start() timer.start() + return pitch - base_pitch func _ready(): timer.connect("timeout",self,"timer_timeout") diff --git a/Scenes/Events/milk_bullet.gd b/Scenes/Events/milk_bullet.gd index 14385a6..7c3e6a5 100644 --- a/Scenes/Events/milk_bullet.gd +++ b/Scenes/Events/milk_bullet.gd @@ -23,7 +23,7 @@ func destroy(): queue_free() func _ready(): - sound.play("bullet_sound") + sound.play("bullet_sound",0) t.set_wait_time(LIFE_TIME) t.set_one_shot(true) self.add_child(t) @@ -38,5 +38,5 @@ func _on_RigidBody2D_body_enter( body ): elif (end): destroy() -func _on_RigidBody2D_body_enter_shape( body_id, body, body_shape, local_shape ): - sound.play("bullet_sound") +func _on_RigidBody2D_body_enter_shape( body_id, body, body_shape, local_shape ): + sound.play("bullet_sound", 0) diff --git a/Scenes/Events/milk_bullet.tscn b/Scenes/Events/milk_bullet.tscn index d42314b..3a11544 100644 --- a/Scenes/Events/milk_bullet.tscn +++ b/Scenes/Events/milk_bullet.tscn @@ -87,7 +87,7 @@ params/pitch_scale = 1.0 params/attenuation/min_distance = 0.0 params/attenuation/max_distance = 750.0 params/attenuation/distance_exp = 2.37841 -config/polyphony = 4 +config/polyphony = 3 config/samples = SubResource( 2 ) config/pitch_random = 0.135 diff --git a/Scenes/Events/player.gd b/Scenes/Events/player.gd index a59e4ff..4a90568 100644 --- a/Scenes/Events/player.gd +++ b/Scenes/Events/player.gd @@ -60,8 +60,8 @@ export(int) var cowbells_collected = 0 func add_cowbells(var number): cowbells_collected += number - hud_cowbell.set_counter (cowbells_collected) - return cowbell_collector.play_sound() + hud_cowbell.set_counter (cowbells_collected, cowbell_collector.play_sound()) + func is_falling (): return velocity.y > 0 diff --git a/Scenes/Events/player.tscn b/Scenes/Events/player.tscn index 750b5e1..faf4aad 100644 --- a/Scenes/Events/player.tscn +++ b/Scenes/Events/player.tscn @@ -39,7 +39,7 @@ tracks/0/keys = { "player", ]] -transform/scale = Vector2( 2, 2 ) +transform/scale = Vector2( 1.8, 1.8 ) z/relative = false input/pickable = true shapes/0/shape = SubResource( 1 ) @@ -64,11 +64,11 @@ cowbells_collected = 0 [node name="shooter" type="Node2D" parent="."] -editor/display_folded = true transform/pos = Vector2( 25.3282, 2.0993 ) transform/scale = Vector2( 0.5, 0.5 ) script/script = ExtResource( 2 ) SHOOT_CADENCE = 0.1 +bullet_cost = 2 [node name="ray" parent="shooter" instance=ExtResource( 3 )] diff --git a/Scenes/Events/shooter.gd b/Scenes/Events/shooter.gd index b5ed007..50dc212 100644 --- a/Scenes/Events/shooter.gd +++ b/Scenes/Events/shooter.gd @@ -16,6 +16,8 @@ var weapon = WEAPONS.regular var shoot = false var recharge = false +export(int) var bullet_cost = 1 + onready var player = get_parent() onready var instanced_ray = get_node("ray") @@ -63,7 +65,7 @@ func shoot_regular(): t.start() yield(t, "timeout") recharge = false - player.decrease_milk(1) + player.decrease_milk(bullet_cost) func shoot_laser(): player.decrease_milk(0.1) diff --git a/Scenes/Maps/map_1.tscn b/Scenes/Maps/map_1.tscn index a400430..09723d8 100644 --- a/Scenes/Maps/map_1.tscn +++ b/Scenes/Maps/map_1.tscn @@ -17,7 +17,7 @@ [node name="tiles_leaves_foreground" type="TileMap" parent="."] -transform/scale = Vector2( 2, 2 ) +transform/scale = Vector2( 1.7, 1.7 ) mode = 0 tile_set = ExtResource( 1 ) cell/size = Vector2( 64, 64 ) @@ -36,7 +36,7 @@ tile_data = IntArray( -2031646, 40, -1900576, 46, -1900574, 40, -1900573, 41, -1 [node name="tile_leaves_background" type="TileMap" parent="."] -transform/scale = Vector2( 2, 2 ) +transform/scale = Vector2( 1.7, 1.7 ) z/z = -2 mode = 0 tile_set = ExtResource( 1 ) @@ -56,7 +56,7 @@ tile_data = IntArray( -2031646, 41, -1900576, 41, -1900574, 42, -1900573, 44, -1 [node name="tile_decorations_base" type="TileMap" parent="."] -transform/scale = Vector2( 2, 2 ) +transform/scale = Vector2( 1.7, 1.7 ) z/z = -1 mode = 0 tile_set = ExtResource( 1 ) @@ -76,7 +76,7 @@ tile_data = IntArray( -2162663, 21, -2162662, 21, -2162661, 21, -2162660, 21, -2 [node name="tile_one_way_platforms" type="TileMap" parent="."] -transform/scale = Vector2( 2, 2 ) +transform/scale = Vector2( 1.7, 1.7 ) z/z = -1 mode = 0 tile_set = ExtResource( 1 ) @@ -97,7 +97,7 @@ tile_data = IntArray( -2490339, 32, -2424804, 32, -2424803, 31, -2424802, 32, -2 [node name="tile_trees" type="TileMap" parent="."] transform/pos = Vector2( 12942, 3520 ) -transform/scale = Vector2( 2, 2 ) +transform/scale = Vector2( 1.7, 1.7 ) z/z = -1 mode = 0 tile_set = ExtResource( 1 ) @@ -119,7 +119,7 @@ tile_data = IntArray( -2097183, 32, -2031647, 38, -1966111, 31, -1900575, 38, -1 "map", ]] -transform/scale = Vector2( 2, 2 ) +transform/scale = Vector2( 1.7, 1.7 ) z/z = -2 mode = 0 tile_set = ExtResource( 1 ) @@ -135,7 +135,7 @@ collision/bounce = 0.0 collision/layers = 2 collision/mask = 15 occluder/light_mask = 1 -tile_data = IntArray( -2359279, 14, -2359278, 15, -2293744, 14, -2293743, 9, -2293742, 16, -2293725, 14, -2293724, 15, -2228209, 14, -2228208, 9, -2228207, 16, -2228204, 13, -2228189, 17, -2228188, 16, -2097183, 32, -2162674, 14, -2162673, 9, -2162672, 16, -2162667, 13, -2162663, 0, -2162662, 1, -2162661, 1, -2162660, 1, -2162659, 1, -2162658, 1, -2162657, 1, -2162656, 1, -2162655, 2, -2162648, 14, -2162647, 15, -2162642, 14, -2162641, 15, -2031648, 36, -2031647, 31, -2031641, 13, -2031640, 13, -2031639, 13, -2031638, 13, -2031637, 13, -2031636, 13, -2097139, 14, -2097138, 9, -2097137, 16, -2097127, 6, -2097126, 7, -2097125, 7, -2097124, 7, -2097123, 7, -2097122, 7, -2097121, 7, -2097120, 7, -2097119, 8, -2097115, 14, -2097114, 15, -2097112, 17, -2097111, 16, -2097106, 17, -2097105, 16, -1966111, 31, -1966100, 13, -2031611, 13, -2031610, 13, -2031605, 13, -2031603, 17, -2031602, 16, -2031579, 17, -2031578, 16, -2031573, 14, -2031572, 15, -1900575, 31, -1900563, 13, -1966074, 13, -1966073, 13, -1966072, 13, -1966071, 13, -1966070, 13, -1966037, 17, -1966036, 16, -1966031, 14, -1966030, 15, -1835039, 29, -1835031, 18, -1835027, 13, -1835026, 13, -1835025, 13, -1900542, 13, -1900540, 13, -1900498, 14, -1900497, 15, -1900495, 17, -1900494, 16, -1769505, 13, -1769503, 0, -1769502, 1, -1769501, 1, -1769500, 2, -1769497, 0, -1769496, 1, -1769495, 1, -1769494, 2, -1835007, 0, -1835006, 2, -1835004, 13, -1834962, 17, -1834961, 16, -1703967, 3, -1703966, 9, -1703965, 11, -1703964, 16, -1703961, 17, -1703960, 10, -1703959, 4, -1703958, 5, -1703950, 13, -1703949, 13, -1703948, 13, -1703947, 13, -1703946, 13, -1703941, 18, -1769471, 6, -1769470, 8, -1769422, 14, -1769421, 15, -1638433, 13, -1638431, 3, -1638430, 11, -1638429, 16, -1638424, 17, -1638423, 10, -1638422, 5, -1638420, 13, -1638406, 14, -1638405, 1, -1638404, 1, -1638403, 1, -1638402, 2, -1703913, 13, -1703911, 13, -1703909, 13, -1703907, 13, -1703886, 17, -1703885, 16, -1572895, 6, -1572894, 16, -1572887, 17, -1572886, 8, -1572882, 13, -1572871, 14, -1572870, 9, -1572869, 11, -1572868, 7, -1572867, 7, -1572866, 8, -1638369, 13, -1638367, 0, -1638366, 1, -1638365, 1, -1638364, 2, -1638358, 13, -1638357, 13, -1638356, 13, -1638355, 13, -1638354, 13, -1507361, 13, -1507356, 14, -1507355, 1, -1507354, 1, -1507353, 15, -1507336, 14, -1507335, 9, -1507334, 11, -1507333, 16, -1572831, 6, -1572830, 7, -1572829, 7, -1572828, 8, -1572823, 13, -1572815, 13, -1441820, 17, -1441819, 10, -1441818, 11, -1441817, 16, -1441809, 13, -1441801, 14, -1441800, 9, -1441799, 11, -1441798, 16, -1507325, 13, -1507320, 29, -1507312, 13, -1507306, 27, -1507293, 0, -1507292, 1, -1507291, 1, -1507290, 1, -1507289, 1, -1507288, 1, -1507287, 2, -1376283, 17, -1376282, 16, -1376265, 6, -1376264, 7, -1376263, 16, -1441788, 13, -1441787, 13, -1441785, 13, -1441784, 13, -1441783, 13, -1441782, 13, -1441781, 13, -1441780, 13, -1441779, 13, -1441778, 13, -1441777, 13, -1441773, 13, -1441771, 0, -1441770, 1, -1441769, 1, -1441768, 2, -1441766, 13, -1441765, 13, -1441757, 6, -1441756, 7, -1441755, 7, -1441754, 7, -1441753, 7, -1441752, 7, -1441751, 8, -1441745, 13, -1310740, 13, -1310735, 13, -1376255, 13, -1376235, 17, -1376234, 10, -1376233, 11, -1376232, 16, -1245206, 0, -1245205, 1, -1245204, 1, -1245203, 1, -1245202, 1, -1245201, 1, -1245200, 1, -1245199, 1, -1245198, 1, -1245197, 1, -1245196, 1, -1245195, 1, -1245194, 1, -1245193, 1, -1245192, 1, -1245191, 1, -1245190, 1, -1245189, 1, -1245188, 1, -1245187, 1, -1245186, 1, -1245185, 1, -1310720, 1, -1310719, 2, -1310702, 13, -1310698, 6, -1310697, 8, -1310691, 13, -1310690, 13, -1310671, 13, -1179680, 32, -1179677, 13, -1179676, 13, -1179675, 13, -1179674, 13, -1179673, 13, -1179670, 6, -1179669, 7, -1179668, 7, -1179667, 7, -1179666, 7, -1179665, 7, -1179664, 7, -1179663, 7, -1179662, 10, -1179661, 4, -1179660, 4, -1179659, 4, -1179658, 4, -1179657, 4, -1179656, 4, -1179655, 4, -1179654, 4, -1179653, 4, -1179652, 4, -1179651, 4, -1179650, 11, -1179649, 7, -1245184, 7, -1245183, 8, -1245179, 0, -1245178, 2, -1245168, 13, -1114144, 31, -1114126, 6, -1114125, 7, -1114124, 7, -1114123, 7, -1114122, 7, -1114121, 7, -1114120, 7, -1114119, 7, -1114118, 7, -1114117, 7, -1114116, 7, -1114115, 7, -1114114, 8, -1179643, 3, -1179642, 5, -1179615, 13, -1179601, 13, -1048608, 31, -1048598, 27, -1114107, 3, -1114106, 5, -1114098, 0, -1114097, 1, -1114096, 2, -983072, 30, -983063, 0, -983062, 1, -983061, 1, -983060, 1, -983059, 2, -1048571, 17, -1048570, 16, -1048562, 6, -1048561, 10, -1048560, 12, -1048559, 1, -1048558, 15, -1048554, 32, -1048527, 13, -917537, 0, -917536, 1, -917535, 1, -917534, 1, -917533, 1, -917532, 1, -917531, 15, -917527, 6, -917526, 7, -917525, 7, -917524, 7, -917523, 8, -917516, 13, -917513, 0, -917512, 1, -917511, 1, -917510, 1, -917509, 2, -983028, 13, -983025, 6, -983024, 7, -983023, 7, -983022, 16, -983020, 13, -983019, 36, -983018, 34, -983016, 32, -983010, 13, -983009, 13, -983008, 13, -983007, 13, -983006, 13, -983001, 13, -852006, 0, -852005, 15, -852001, 6, -852000, 7, -851999, 7, -851998, 7, -851997, 7, -851996, 10, -851995, 12, -851994, 15, -851985, 13, -851984, 13, -851983, 13, -851977, 3, -851976, 11, -851975, 7, -851974, 10, -851973, 5, -917482, 33, -917480, 31, -917478, 32, -917465, 13, -917457, 13, -786470, 6, -786469, 12, -786468, 15, -786460, 17, -786459, 10, -786458, 12, -786457, 15, -786441, 6, -786440, 16, -786438, 17, -786437, 8, -851958, 13, -851946, 30, -851944, 30, -851942, 30, -851940, 29, -851931, 14, -851930, 2, -851926, 0, -851925, 2, -851919, 13, -720933, 6, -720932, 12, -720931, 15, -720923, 17, -720922, 10, -720921, 12, -720920, 15, -786431, 13, -786428, 13, -786411, 0, -786410, 2, -786408, 0, -786407, 1, -786406, 1, -786405, 1, -786404, 2, -786396, 14, -786395, 9, -786394, 5, -786390, 17, -786389, 16, -655396, 6, -655395, 16, -655386, 17, -655385, 10, -655384, 12, -655383, 1, -655382, 1, -655381, 1, -655380, 1, -655379, 15, -720888, 13, -720881, 13, -720880, 13, -720879, 13, -720875, 6, -720874, 8, -720872, 6, -720871, 7, -720870, 7, -720869, 7, -720868, 8, -720861, 14, -720860, 9, -720859, 11, -720858, 8, -720849, 13, -589859, 13, -589858, 13, -589849, 17, -589848, 7, -589847, 7, -589846, 7, -589845, 7, -589844, 10, -589843, 12, -589842, 15, -589841, 18, -589837, 13, -589829, 29, -589826, 14, -589825, 15, -655342, 13, -655326, 14, -655325, 9, -655324, 12, -655323, 8, -524320, 13, -524308, 3, -524307, 4, -524306, 12, -524305, 1, -524304, 1, -524303, 1, -524302, 1, -524301, 1, -524300, 1, -524299, 1, -524298, 1, -524297, 1, -524296, 2, -524293, 0, -524292, 1, -524291, 1, -524290, 9, -524289, 12, -589824, 1, -589823, 1, -589822, 15, -589816, 18, -589791, 14, -589790, 9, -589789, 11, -589788, 8, -589775, 13, -458781, 13, -458773, 14, -458772, 9, -458771, 7, -458770, 7, -458769, 7, -458768, 7, -458767, 7, -458766, 7, -458765, 7, -458764, 7, -458763, 7, -458762, 7, -458761, 7, -458760, 8, -458757, 6, -458756, 7, -458755, 7, -458754, 7, -458753, 7, -524288, 7, -524287, 10, -524286, 12, -524285, 1, -524284, 1, -524283, 1, -524282, 1, -524281, 1, -524280, 1, -524279, 1, -524278, 1, -524277, 1, -524276, 15, -524269, 13, -524262, 18, -524260, 27, -524258, 27, -524256, 14, -524255, 9, -524254, 11, -524253, 8, -393238, 14, -393237, 9, -393236, 16, -393222, 13, -458751, 6, -458750, 7, -458749, 7, -458748, 7, -458747, 7, -458746, 7, -458745, 7, -458744, 7, -458743, 7, -458742, 7, -458741, 10, -458740, 12, -458739, 1, -458738, 1, -458737, 1, -458736, 1, -458735, 1, -458734, 1, -458733, 1, -458732, 1, -458731, 1, -458730, 1, -458729, 1, -458728, 1, -458727, 1, -458726, 1, -458725, 1, -458724, 1, -458723, 1, -458722, 1, -458721, 1, -458720, 9, -458719, 10, -458718, 8, -458716, 13, -458704, 13, -327706, 13, -327703, 13, -327702, 17, -327701, 16, -393205, 6, -393204, 7, -393203, 7, -393202, 7, -393201, 7, -393200, 7, -393199, 7, -393198, 7, -393197, 7, -393196, 7, -393195, 7, -393194, 7, -393193, 7, -393192, 7, -393191, 7, -393190, 7, -393189, 7, -393188, 7, -393187, 7, -393186, 7, -393185, 7, -393184, 7, -393183, 8, -393179, 0, -393178, 1, -393177, 1, -393176, 1, -393175, 1, -393174, 1, -393173, 1, -393172, 1, -393171, 1, -393170, 1, -393169, 2, -262151, 13, -327643, 17, -327642, 7, -327641, 7, -327640, 7, -327639, 7, -327638, 7, -327637, 7, -327636, 7, -327635, 7, -327634, 7, -327633, 16, -196633, 0, -196632, 1, -196631, 1, -196630, 1, -196629, 1, -196628, 1, -196627, 1, -196626, 1, -196625, 1, -196624, 1, -196623, 1, -196622, 2, -196620, 13, -196618, 0, -196617, 1, -196616, 1, -196615, 1, -196614, 1, -196613, 1, -196612, 1, -196611, 1, -196610, 1, -196609, 1, -262144, 1, -262143, 1, -262142, 2, -131097, 6, -131096, 7, -131095, 7, -131094, 7, -131093, 7, -131092, 7, -131091, 7, -131090, 7, -131089, 7, -131088, 7, -131087, 7, -131086, 8, -131082, 6, -131081, 7, -131080, 7, -131079, 7, -131078, 7, -131077, 7, -131076, 7, -131075, 7, -131074, 7, -131073, 7, -196608, 7, -196607, 7, -196606, 8 ) +tile_data = IntArray( -2359279, 14, -2359278, 15, -2293744, 14, -2293743, 9, -2293742, 16, -2293725, 14, -2293724, 15, -2228209, 14, -2228208, 9, -2228207, 16, -2228204, 13, -2228189, 17, -2228188, 16, -2097183, 32, -2162674, 14, -2162673, 9, -2162672, 16, -2162667, 13, -2162663, 0, -2162662, 1, -2162661, 1, -2162660, 1, -2162659, 1, -2162658, 1, -2162657, 1, -2162656, 1, -2162655, 2, -2162648, 14, -2162647, 15, -2162642, 14, -2162641, 15, -2031648, 36, -2031647, 31, -2031641, 13, -2031640, 13, -2031639, 13, -2031638, 13, -2031637, 13, -2031636, 13, -2097139, 14, -2097138, 9, -2097137, 16, -2097127, 6, -2097126, 7, -2097125, 7, -2097124, 7, -2097123, 7, -2097122, 7, -2097121, 7, -2097120, 7, -2097119, 8, -2097115, 14, -2097114, 15, -2097112, 17, -2097111, 16, -2097106, 17, -2097105, 16, -1966111, 31, -1966100, 13, -2031611, 13, -2031610, 13, -2031605, 13, -2031603, 17, -2031602, 16, -2031579, 17, -2031578, 16, -2031573, 14, -2031572, 15, -1900575, 31, -1900563, 13, -1966074, 13, -1966073, 13, -1966072, 13, -1966071, 13, -1966070, 13, -1966037, 17, -1966036, 16, -1966031, 14, -1966030, 15, -1835039, 29, -1835031, 18, -1835027, 13, -1835026, 13, -1835025, 13, -1900542, 13, -1900540, 13, -1900498, 14, -1900497, 15, -1900495, 17, -1900494, 16, -1769505, 13, -1769503, 0, -1769502, 1, -1769501, 1, -1769500, 2, -1769497, 0, -1769496, 1, -1769495, 1, -1769494, 2, -1835007, 0, -1835006, 2, -1835004, 13, -1834962, 17, -1834961, 16, -1703967, 3, -1703966, 9, -1703965, 11, -1703964, 16, -1703961, 17, -1703960, 10, -1703959, 4, -1703958, 5, -1703950, 13, -1703949, 13, -1703948, 13, -1703947, 13, -1703946, 13, -1703941, 18, -1769471, 6, -1769470, 8, -1769422, 14, -1769421, 15, -1638433, 13, -1638431, 3, -1638430, 11, -1638429, 16, -1638424, 17, -1638423, 10, -1638422, 5, -1638420, 13, -1638406, 14, -1638405, 1, -1638404, 1, -1638403, 1, -1638402, 2, -1703913, 13, -1703911, 13, -1703909, 13, -1703907, 13, -1703886, 17, -1703885, 16, -1572895, 6, -1572894, 16, -1572887, 17, -1572886, 8, -1572882, 13, -1572871, 14, -1572870, 9, -1572869, 11, -1572868, 7, -1572867, 7, -1572866, 8, -1638369, 13, -1638367, 0, -1638366, 1, -1638365, 1, -1638364, 2, -1638358, 13, -1638357, 13, -1638356, 13, -1638355, 13, -1638354, 13, -1507361, 13, -1507356, 14, -1507355, 1, -1507354, 1, -1507353, 15, -1507336, 14, -1507335, 9, -1507334, 11, -1507333, 16, -1572831, 6, -1572830, 7, -1572829, 7, -1572828, 8, -1572823, 13, -1572815, 13, -1441820, 17, -1441819, 10, -1441818, 11, -1441817, 16, -1441809, 13, -1441801, 14, -1441800, 9, -1441799, 11, -1441798, 16, -1507325, 13, -1507320, 29, -1507312, 13, -1507306, 27, -1507293, 0, -1507292, 1, -1507291, 1, -1507290, 1, -1507289, 1, -1507288, 1, -1507287, 2, -1376283, 17, -1376282, 16, -1376265, 6, -1376264, 7, -1376263, 16, -1441788, 13, -1441787, 13, -1441785, 13, -1441784, 13, -1441783, 13, -1441782, 13, -1441781, 13, -1441780, 13, -1441779, 13, -1441778, 13, -1441777, 13, -1441773, 13, -1441771, 0, -1441770, 1, -1441769, 1, -1441768, 2, -1441766, 13, -1441765, 13, -1441757, 6, -1441756, 7, -1441755, 7, -1441754, 7, -1441753, 7, -1441752, 7, -1441751, 8, -1441745, 13, -1310740, 13, -1310735, 13, -1376255, 13, -1376235, 17, -1376234, 10, -1376233, 11, -1376232, 16, -1245206, 0, -1245205, 1, -1245204, 1, -1245203, 1, -1245202, 1, -1245201, 1, -1245200, 1, -1245199, 1, -1245198, 1, -1245197, 1, -1245196, 1, -1245195, 1, -1245194, 1, -1245193, 1, -1245192, 1, -1245191, 1, -1245190, 1, -1245189, 1, -1245188, 1, -1245187, 1, -1245186, 1, -1245185, 1, -1310720, 1, -1310719, 2, -1310702, 13, -1310698, 6, -1310697, 8, -1310691, 13, -1310690, 13, -1310671, 13, -1179680, 32, -1179677, 13, -1179676, 13, -1179675, 13, -1179674, 13, -1179673, 13, -1179670, 6, -1179669, 7, -1179668, 7, -1179667, 7, -1179666, 7, -1179665, 7, -1179664, 7, -1179663, 7, -1179662, 10, -1179661, 4, -1179660, 4, -1179659, 4, -1179658, 4, -1179657, 4, -1179656, 4, -1179655, 4, -1179654, 4, -1179653, 4, -1179652, 4, -1179651, 4, -1179650, 11, -1179649, 7, -1245184, 7, -1245183, 8, -1245179, 0, -1245178, 2, -1245168, 13, -1114144, 31, -1114126, 6, -1114125, 7, -1114124, 7, -1114123, 7, -1114122, 7, -1114121, 7, -1114120, 7, -1114119, 7, -1114118, 7, -1114117, 7, -1114116, 7, -1114115, 7, -1114114, 8, -1179643, 3, -1179642, 5, -1179615, 13, -1179601, 13, -1048608, 31, -1048598, 27, -1114107, 3, -1114106, 5, -1114098, 0, -1114097, 1, -1114096, 2, -1114072, 0, -1114071, 1, -1114070, 1, -1114069, 1, -1114068, 2, -983072, 30, -983063, 0, -983062, 1, -983061, 1, -983060, 1, -983059, 2, -1048571, 17, -1048570, 16, -1048562, 6, -1048561, 10, -1048560, 12, -1048559, 1, -1048558, 15, -1048554, 32, -1048527, 13, -917537, 0, -917536, 1, -917535, 1, -917534, 1, -917533, 1, -917532, 1, -917531, 15, -917527, 6, -917526, 7, -917525, 7, -917524, 7, -917523, 8, -917516, 13, -917513, 0, -917512, 1, -917511, 1, -917510, 1, -917509, 2, -983028, 13, -983025, 6, -983024, 7, -983023, 7, -983022, 16, -983020, 13, -983019, 36, -983018, 34, -983016, 32, -983010, 13, -983009, 13, -983008, 13, -983007, 13, -983006, 13, -983001, 13, -852006, 0, -852005, 15, -852001, 6, -852000, 7, -851999, 7, -851998, 7, -851997, 7, -851996, 10, -851995, 12, -851994, 15, -851985, 13, -851984, 13, -851983, 13, -851977, 3, -851976, 11, -851975, 7, -851974, 10, -851973, 5, -917482, 33, -917480, 31, -917478, 32, -917465, 13, -917457, 13, -786470, 6, -786469, 12, -786468, 15, -786460, 17, -786459, 10, -786458, 12, -786457, 15, -786441, 6, -786440, 16, -786438, 17, -786437, 8, -851958, 13, -851946, 30, -851944, 30, -851942, 30, -851940, 29, -851931, 14, -851930, 2, -851926, 0, -851925, 2, -851919, 13, -720933, 6, -720932, 12, -720931, 15, -720923, 17, -720922, 10, -720921, 12, -720920, 15, -786431, 13, -786428, 13, -786411, 0, -786410, 2, -786408, 0, -786407, 1, -786406, 1, -786405, 1, -786404, 2, -786396, 14, -786395, 9, -786394, 5, -786390, 17, -786389, 16, -655396, 6, -655395, 16, -655386, 17, -655385, 10, -655384, 12, -655383, 1, -655382, 1, -655381, 1, -655380, 1, -655379, 15, -720888, 13, -720881, 13, -720880, 13, -720879, 13, -720875, 6, -720874, 8, -720872, 6, -720871, 7, -720870, 7, -720869, 7, -720868, 8, -720861, 14, -720860, 9, -720859, 11, -720858, 8, -720849, 13, -589859, 13, -589858, 13, -589849, 17, -589848, 7, -589847, 7, -589846, 7, -589845, 7, -589844, 10, -589843, 12, -589842, 15, -589841, 18, -589837, 13, -589829, 29, -589826, 14, -589825, 15, -655342, 13, -655326, 14, -655325, 9, -655324, 12, -655323, 8, -524320, 13, -524308, 3, -524307, 4, -524306, 12, -524305, 1, -524304, 1, -524303, 1, -524302, 1, -524301, 1, -524300, 1, -524299, 1, -524298, 1, -524297, 1, -524296, 2, -524293, 0, -524292, 1, -524291, 1, -524290, 9, -524289, 12, -589824, 1, -589823, 1, -589822, 15, -589816, 18, -589791, 14, -589790, 9, -589789, 11, -589788, 8, -589775, 13, -458781, 13, -458773, 14, -458772, 9, -458771, 7, -458770, 7, -458769, 7, -458768, 7, -458767, 7, -458766, 7, -458765, 7, -458764, 7, -458763, 7, -458762, 7, -458761, 7, -458760, 8, -458757, 6, -458756, 7, -458755, 7, -458754, 7, -458753, 7, -524288, 7, -524287, 10, -524286, 12, -524285, 1, -524284, 1, -524283, 1, -524282, 1, -524281, 1, -524280, 1, -524279, 1, -524278, 1, -524277, 1, -524276, 15, -524269, 13, -524262, 18, -524260, 27, -524258, 27, -524256, 14, -524255, 9, -524254, 11, -524253, 8, -393238, 14, -393237, 9, -393236, 16, -393222, 13, -458751, 6, -458750, 7, -458749, 7, -458748, 7, -458747, 7, -458746, 7, -458745, 7, -458744, 7, -458743, 7, -458742, 7, -458741, 10, -458740, 12, -458739, 1, -458738, 1, -458737, 1, -458736, 1, -458735, 1, -458734, 1, -458733, 1, -458732, 1, -458731, 1, -458730, 1, -458729, 1, -458728, 1, -458727, 1, -458726, 1, -458725, 1, -458724, 1, -458723, 1, -458722, 1, -458721, 1, -458720, 9, -458719, 10, -458718, 8, -458716, 13, -458704, 13, -327706, 13, -327703, 13, -327702, 17, -327701, 16, -393205, 6, -393204, 7, -393203, 7, -393202, 7, -393201, 7, -393200, 7, -393199, 7, -393198, 7, -393197, 7, -393196, 7, -393195, 7, -393194, 7, -393193, 7, -393192, 7, -393191, 7, -393190, 7, -393189, 7, -393188, 7, -393187, 7, -393186, 7, -393185, 7, -393184, 7, -393183, 8, -393179, 0, -393178, 1, -393177, 1, -393176, 1, -393175, 1, -393174, 1, -393173, 1, -393172, 1, -393171, 1, -393170, 1, -393169, 2, -262151, 13, -327643, 17, -327642, 7, -327641, 7, -327640, 7, -327639, 7, -327638, 7, -327637, 7, -327636, 7, -327635, 7, -327634, 7, -327633, 16, -196633, 0, -196632, 1, -196631, 1, -196630, 1, -196629, 1, -196628, 1, -196627, 1, -196626, 1, -196625, 1, -196624, 1, -196623, 1, -196622, 2, -196620, 13, -196618, 0, -196617, 1, -196616, 1, -196615, 1, -196614, 1, -196613, 1, -196612, 1, -196611, 1, -196610, 1, -196609, 1, -262144, 1, -262143, 1, -262142, 2, -131097, 6, -131096, 7, -131095, 7, -131094, 7, -131093, 7, -131092, 7, -131091, 7, -131090, 7, -131089, 7, -131088, 7, -131087, 7, -131086, 8, -131082, 6, -131081, 7, -131080, 7, -131079, 7, -131078, 7, -131077, 7, -131076, 7, -131075, 7, -131074, 7, -131073, 7, -196608, 7, -196607, 7, -196606, 8 ) __meta__ = { "_edit_group_": true, "_edit_lock_": true @@ -234,8 +234,8 @@ region_rect = Rect2( -1000, 0, 2048, 128 ) [node name="enemies" type="Node2D" parent="."] editor/display_folded = true -transform/pos = Vector2( 2496, -1120 ) -transform/scale = Vector2( 2, 2 ) +transform/pos = Vector2( 2320, -1110 ) +transform/scale = Vector2( 1.7, 1.7 ) [node name="Enemy3" parent="enemies" instance=ExtResource( 7 )] @@ -472,6 +472,8 @@ transform/pos = Vector2( -832, -1600 ) [node name="cowbells" type="Node2D" parent="."] +editor/display_folded = true + [node name="Cowbell" parent="cowbells" instance=ExtResource( 10 )] transform/pos = Vector2( -131, -1363 ) diff --git a/Scenes/Menu/HUD.tscn b/Scenes/Menu/HUD.tscn index 360c08c..b30ddd3 100644 --- a/Scenes/Menu/HUD.tscn +++ b/Scenes/Menu/HUD.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=18 format=1] +[gd_scene load_steps=20 format=1] [ext_resource path="res://Scenes/Maps/map_1.tscn" type="PackedScene" id=1] [ext_resource path="res://Scenes/Menu/life_hud.gd" type="Script" id=2] @@ -14,6 +14,8 @@ [ext_resource path="res://Scenes/Menu/cowbells_hud.gd" type="Script" id=12] [ext_resource path="res://Fonts/Cave-Story.fnt" type="BitmapFont" id=13] [ext_resource path="res://Sprites/Charasets/cowbell.png" type="Texture" id=14] +[ext_resource path="res://Scenes/Events/cowbell_animation_one_shot.tres" type="Animation" id=15] +[ext_resource path="res://Scenes/Events/cowbell_animations.tres" type="Animation" id=16] [sub_resource type="Environment" id=1] @@ -115,7 +117,6 @@ initial_heart_pos = Vector2( 32, 0 ) ]] editor/display_folded = true -visibility/visible = false script/script = ExtResource( 3 ) [node name="Bttn_U" type="TouchScreenButton" parent="Control/Buttons"] @@ -293,6 +294,20 @@ bbcode/bbcode = "0" visible_characters = -1 percent_visible = 1.0 +[node name="next_cowbell_timer" type="Timer" parent="Control/Cowbells"] + +process_mode = 1 +wait_time = 0.6 +one_shot = true +autostart = false + +[node name="cold_down_timer" type="Timer" parent="Control/Cowbells"] + +process_mode = 1 +wait_time = 0.005 +one_shot = false +autostart = false + [node name="Sprite" type="Sprite" parent="Control/Cowbells"] material/material = SubResource( 3 ) @@ -301,6 +316,18 @@ transform/scale = Vector2( 3, 3 ) texture = ExtResource( 14 ) hframes = 3 +[node name="Animation" type="AnimationPlayer" parent="Control/Cowbells/Sprite"] + +playback/process_mode = 0 +playback/default_blend_time = 0.0 +root/root = NodePath("..") +anims/cowbell_animation_one_shot = ExtResource( 15 ) +anims/cowbell_animations = ExtResource( 16 ) +playback/active = false +playback/speed = 2.0 +blend_times = [ ] +autoplay = "" + [connection signal="pressed" from="Control/Buttons/Bttn_U" to="Control/Buttons" method="_on_Bttn_U_pressed"] [connection signal="released" from="Control/Buttons/Bttn_U" to="Control/Buttons" method="_on_Bttn_U_released"] @@ -337,4 +364,8 @@ hframes = 3 [connection signal="released" from="Control/Buttons/Bttn_L" to="Control/Buttons" method="_on_Bttn_L_released"] +[connection signal="timeout" from="Control/Cowbells/next_cowbell_timer" to="Control/Cowbells" method="_on_next_cowbell_timer_timeout"] + +[connection signal="timeout" from="Control/Cowbells/cold_down_timer" to="Control/Cowbells" method="_on_cold_down_timer_timeout"] + diff --git a/Scenes/Menu/cowbells_hud.gd b/Scenes/Menu/cowbells_hud.gd index dc016e2..7d6f577 100644 --- a/Scenes/Menu/cowbells_hud.gd +++ b/Scenes/Menu/cowbells_hud.gd @@ -5,6 +5,35 @@ extends Node2D # var b = "textvar" onready var label = get_node("Counter") +onready var animation = get_node("Sprite/Animation") +onready var next_cowbell_timer = get_node("next_cowbell_timer") +onready var cold_down_timer = get_node("cold_down_timer") +onready var sprite = get_node("Sprite") +onready var base_modulation = Color(1,1,1) -func set_counter (var quantity): - label.set_bbcode(" " + String(quantity)) \ No newline at end of file +var frame_number + +func _ready(): + animation.play("cowbell_animations") + var anim = animation.get_animation("cowbell_animations") + next_cowbell_timer.set_wait_time(anim.get_length() / animation.get_speed() ) + animation.set_active(false) + +func set_counter (var quantity, var acumulated): + sprite.set_modulate(Color (1,1 - acumulated * 2,1 - acumulated * 2)) + label.set_bbcode(" " + String(quantity)) + animation.set_active(true) + next_cowbell_timer.start() + cold_down_timer.start() + +func _on_next_cowbell_timer_timeout(): + sprite.set_frame(0) + animation.set_active(false) + +func _on_cold_down_timer_timeout(): + var current_modulation = sprite.get_modulate() + if (current_modulation.g >= base_modulation.g && current_modulation.b >= base_modulation.b): + sprite.set_modulate(base_modulation) + cold_down_timer.stop() + else: + sprite.set_modulate(Color (1,current_modulation.g + 0.02 ,current_modulation.b + 0.02)) diff --git a/Sprites/Background/night_outside_a.png b/Sprites/Background/night_outside_a.png index cee62e1..29bfc07 100644 Binary files a/Sprites/Background/night_outside_a.png and b/Sprites/Background/night_outside_a.png differ diff --git a/Sprites/Background/night_outside_b.png b/Sprites/Background/night_outside_b.png index f033917..f2364f9 100644 Binary files a/Sprites/Background/night_outside_b.png and b/Sprites/Background/night_outside_b.png differ diff --git a/Sprites/Background/night_outside_c.png b/Sprites/Background/night_outside_c.png index fa07055..eb949e4 100644 Binary files a/Sprites/Background/night_outside_c.png and b/Sprites/Background/night_outside_c.png differ diff --git a/engine.cfg b/engine.cfg index 51d379b..e16d5da 100644 --- a/engine.cfg +++ b/engine.cfg @@ -15,10 +15,10 @@ print_fps=true [display] +use_2d_pixel_snap=true stretch_mode="viewport" width=1280 height=720 -use_2d_pixel_snap=false emulate_touchscreen=true driver="GLES2" stretch_aspect="keep"