mirror of
https://github.com/HarmonyHoney/tiny_crate.git
synced 2026-01-23 02:34:53 +00:00
Player pickup animation! holding arms up while carrying box (= "backspace" : "back" swap on Key.gd
Shared.palette dark gray has more contrast (:
This commit is contained in:
parent
9faaaab55c
commit
982b1d9c57
17 changed files with 182 additions and 110 deletions
Binary file not shown.
|
Before Width: | Height: | Size: 492 B After Width: | Height: | Size: 652 B |
|
|
@ -202,6 +202,7 @@ func box_release(sx := 0.0, sy := 0.0):
|
|||
pickup_box.is_moving = true
|
||||
pickup_box.shake_dist = 2
|
||||
pickup_box.position = pickup_box.position.round()
|
||||
anim_frame()
|
||||
|
||||
func box_pickup(dx := 0, dy := 0):
|
||||
if !is_area_solid():
|
||||
|
|
@ -220,6 +221,8 @@ func box_pickup(dx := 0, dy := 0):
|
|||
pickup_box = a
|
||||
move_box()
|
||||
|
||||
anim_frame()
|
||||
|
||||
node_audio_pickup.pitch_scale = 1 + rand_range(-0.2, 0.2)
|
||||
node_audio_pickup.play()
|
||||
|
||||
|
|
@ -285,3 +288,9 @@ func try_anim(arg : String):
|
|||
node_anim.play(arg)
|
||||
# update the animationPlayer immediately
|
||||
node_anim.advance(0)
|
||||
|
||||
func anim_frame():
|
||||
var f = node_sprite.frame_coords.y + (1 if is_pickup else -1)
|
||||
|
||||
if f == clamp(f, 0, node_sprite.vframes - 1):
|
||||
node_sprite.frame_coords.y = f
|
||||
|
|
|
|||
|
|
@ -52,6 +52,23 @@ tracks/0/keys = {
|
|||
"update": 1,
|
||||
"values": [ 0, 1 ]
|
||||
}
|
||||
tracks/1/type = "method"
|
||||
tracks/1/path = NodePath(".")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/keys = {
|
||||
"times": PoolRealArray( 0, 0.4 ),
|
||||
"transitions": PoolRealArray( 1, 1 ),
|
||||
"values": [ {
|
||||
"args": [ ],
|
||||
"method": "anim_frame"
|
||||
}, {
|
||||
"args": [ ],
|
||||
"method": "anim_frame"
|
||||
} ]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id=5]
|
||||
length = 0.1
|
||||
|
|
@ -67,6 +84,20 @@ tracks/0/keys = {
|
|||
"update": 1,
|
||||
"values": [ 6 ]
|
||||
}
|
||||
tracks/1/type = "method"
|
||||
tracks/1/path = NodePath(".")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/keys = {
|
||||
"times": PoolRealArray( 0 ),
|
||||
"transitions": PoolRealArray( 1 ),
|
||||
"values": [ {
|
||||
"args": [ ],
|
||||
"method": "anim_frame"
|
||||
} ]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id=6]
|
||||
length = 0.6
|
||||
|
|
@ -83,6 +114,29 @@ tracks/0/keys = {
|
|||
"update": 1,
|
||||
"values": [ 2, 0, 4, 0 ]
|
||||
}
|
||||
tracks/1/type = "method"
|
||||
tracks/1/path = NodePath(".")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/keys = {
|
||||
"times": PoolRealArray( 0, 0.2, 0.3, 0.5 ),
|
||||
"transitions": PoolRealArray( 1, 1, 1, 1 ),
|
||||
"values": [ {
|
||||
"args": [ ],
|
||||
"method": "anim_frame"
|
||||
}, {
|
||||
"args": [ ],
|
||||
"method": "anim_frame"
|
||||
}, {
|
||||
"args": [ ],
|
||||
"method": "anim_frame"
|
||||
}, {
|
||||
"args": [ ],
|
||||
"method": "anim_frame"
|
||||
} ]
|
||||
}
|
||||
|
||||
[node name="Player" type="Node2D"]
|
||||
z_index = 15
|
||||
|
|
@ -102,6 +156,7 @@ material = SubResource( 9 )
|
|||
position = Vector2( 4, 0 )
|
||||
texture = ExtResource( 3 )
|
||||
hframes = 7
|
||||
vframes = 2
|
||||
region_rect = Rect2( 40, 0, 8, 24 )
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
|
|
|
|||
|
|
@ -50,8 +50,8 @@ func _input(event):
|
|||
elif event.is_action_pressed("jump"):
|
||||
select()
|
||||
else:
|
||||
var up = event.is_action_pressed("up") or event.is_action_pressed("left")
|
||||
var down = event.is_action_pressed("down") or event.is_action_pressed("right")
|
||||
var up = event.is_action_pressed("up")# or event.is_action_pressed("left")
|
||||
var down = event.is_action_pressed("down")# or event.is_action_pressed("right")
|
||||
if up or down:
|
||||
set_cursor(cursor + (-1 if up else 1))
|
||||
Audio.play("menu_scroll", 0.8, 1.2)
|
||||
|
|
@ -59,7 +59,7 @@ func _input(event):
|
|||
func toggle_pause():
|
||||
is_paused = !is_paused
|
||||
node_parent.visible = is_paused
|
||||
UI.keys(is_paused, is_paused, true, is_paused)
|
||||
UI.keys(true, is_paused, is_paused, is_paused, is_paused)
|
||||
UI.stats.visible = is_paused
|
||||
TouchScreen.turn_arrows(is_paused)
|
||||
clock = timer
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ var is_in_game := false
|
|||
|
||||
var map_dir := "res://src/map/"
|
||||
var main_menu_path := "res://src/menu/StartMenu.tscn"
|
||||
var options_menu_path := "res://src/menu/options/OptionsMenu.tscn"
|
||||
var level_select_path := "res://src/menu/select.tscn"
|
||||
var win_screen_path := "res://src/menu/WinScreen.tscn"
|
||||
var credits_path := "res://src/menu/credits.tscn"
|
||||
|
|
@ -214,7 +213,7 @@ func change_map():
|
|||
elif is_level_select:
|
||||
is_replay = false
|
||||
is_replay_note = false
|
||||
UI.keys(true, true, true, true)
|
||||
UI.keys()
|
||||
TouchScreen.turn_arrows(false)
|
||||
TouchScreen.show_keys(true, true, true, true)
|
||||
|
||||
|
|
@ -226,18 +225,14 @@ func change_map():
|
|||
UI.gems_label.text = str(count_gems)
|
||||
|
||||
elif scene_path == main_menu_path:
|
||||
UI.keys(true, true, false)
|
||||
UI.keys(false, false)
|
||||
TouchScreen.turn_arrows(true)
|
||||
TouchScreen.show_keys(true, false, true)
|
||||
elif scene_path == options_menu_path:
|
||||
UI.keys()
|
||||
TouchScreen.turn_arrows(true)
|
||||
TouchScreen.show_keys()
|
||||
elif scene_path == credits_path:
|
||||
UI.keys(false, true)
|
||||
UI.keys(true, false, false, false)
|
||||
TouchScreen.show_keys(false, true, false)
|
||||
elif scene_path == creator_path:
|
||||
UI.keys(true, true, false)
|
||||
UI.keys(false, false, true, true, true, true)
|
||||
|
||||
func time_to_string(arg := 0.0):
|
||||
var time = arg * (1.0/60.0)
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ shader_param/shoe_swap = Color( 0.658824, 0.658824, 0.658824, 1 )
|
|||
|
||||
[node name="Shared" type="Node"]
|
||||
script = ExtResource( 1 )
|
||||
palette = [ Color( 0.670588, 0.321569, 0.211765, 1 ), Color( 0.494118, 0.145098, 0.32549, 1 ), Color( 0.372549, 0.341176, 0.309804, 1 ), Color( 0.513726, 0.462745, 0.611765, 1 ), Color( 0.760784, 0.764706, 0.780392, 1 ), Color( 1, 1, 1, 1 ), Color( 1, 0, 0.301961, 1 ), Color( 1, 0.639216, 0, 1 ), Color( 1, 0.92549, 0.152941, 1 ), Color( 0, 0.894118, 0.211765, 1 ), Color( 0, 0.709804, 0.262745, 1 ), Color( 0.160784, 0.678431, 1, 1 ), Color( 1, 0.466667, 0.658824, 1 ), Color( 1, 0.8, 0.666667, 1 ) ]
|
||||
palette = [ Color( 0.670588, 0.321569, 0.211765, 1 ), Color( 0.494118, 0.145098, 0.32549, 1 ), Color( 0.419608, 0.447059, 0.509804, 1 ), Color( 0.513726, 0.462745, 0.611765, 1 ), Color( 0.760784, 0.764706, 0.780392, 1 ), Color( 1, 1, 1, 1 ), Color( 1, 0, 0.301961, 1 ), Color( 1, 0.639216, 0, 1 ), Color( 1, 0.92549, 0.152941, 1 ), Color( 0, 0.894118, 0.211765, 1 ), Color( 0, 0.709804, 0.262745, 1 ), Color( 0.160784, 0.678431, 1, 1 ), Color( 1, 0.466667, 0.658824, 1 ), Color( 1, 0.8, 0.666667, 1 ) ]
|
||||
|
||||
[node name="Ghost" type="Sprite" parent="."]
|
||||
modulate = Color( 1, 1, 1, 0.501961 )
|
||||
|
|
@ -27,6 +27,7 @@ material = SubResource( 1 )
|
|||
texture = ExtResource( 2 )
|
||||
offset = Vector2( 4, 0 )
|
||||
hframes = 7
|
||||
vframes = 2
|
||||
region_rect = Rect2( 0, 0, 8, 24 )
|
||||
|
||||
[node name="Ghosts" type="Node2D" parent="."]
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
extends CanvasLayer
|
||||
|
||||
onready var bottom := $Center/Control/Bottom
|
||||
onready var x := $Center/Control/Bottom/Keys/X
|
||||
onready var x_label := $Center/Control/Bottom/Keys/X/Desc
|
||||
onready var c := $Center/Control/Bottom/Keys/C
|
||||
|
|
@ -28,16 +29,17 @@ export var pos_left := 0
|
|||
export var pos_right := 0
|
||||
|
||||
func _ready():
|
||||
keys(false, false)
|
||||
keys(false, false, false, false, false)
|
||||
map.visible = false
|
||||
stats.visible = false
|
||||
|
||||
func keys(left := true, right := true, is_expand := true, _top := false, _arrows := true):
|
||||
func keys(is_expand := true, _top := false, _arrows := true, left := true, right := true, _stack := false):
|
||||
spacer.size_flags_horizontal = spacer.SIZE_EXPAND_FILL if is_expand else spacer.SIZE_FILL
|
||||
top.visible = _top
|
||||
arrows.visible = _arrows
|
||||
x.visible = left
|
||||
c.visible = right
|
||||
top.visible = _top
|
||||
spacer.size_flags_horizontal = spacer.SIZE_EXPAND_FILL if is_expand else spacer.SIZE_FILL
|
||||
arrows.visible = _arrows
|
||||
bottom.columns = 2 if _stack or !_arrows else 3
|
||||
|
||||
func labels(_x := "pick", _c := "back", _pause := "pause"):
|
||||
x_label.text = _x
|
||||
|
|
|
|||
|
|
@ -74,18 +74,19 @@ margin_right = 228.0
|
|||
margin_bottom = 128.0
|
||||
rect_min_size = Vector2( 228, 128 )
|
||||
|
||||
[node name="Bottom" type="HBoxContainer" parent="Center/Control"]
|
||||
[node name="Bottom" type="GridContainer" parent="Center/Control"]
|
||||
margin_left = 5.0
|
||||
margin_top = 81.0
|
||||
margin_top = 83.0
|
||||
margin_right = 223.0
|
||||
margin_bottom = 121.0
|
||||
custom_constants/separation = 4
|
||||
columns = 2
|
||||
|
||||
[node name="Arrows" type="HBoxContainer" parent="Center/Control/Bottom"]
|
||||
margin_top = 33.0
|
||||
visible = false
|
||||
margin_top = 10.0
|
||||
margin_right = 50.0
|
||||
margin_bottom = 40.0
|
||||
size_flags_vertical = 8
|
||||
margin_bottom = 17.0
|
||||
size_flags_vertical = 10
|
||||
custom_constants/separation = 3
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="Center/Control/Bottom/Arrows"]
|
||||
|
|
@ -95,7 +96,6 @@ custom_constants/separation = 1
|
|||
|
||||
[node name="Key" parent="Center/Control/Bottom/Arrows/HBoxContainer" instance=ExtResource( 7 )]
|
||||
action = "left"
|
||||
text = "left"
|
||||
|
||||
[node name="Key4" parent="Center/Control/Bottom/Arrows/HBoxContainer" instance=ExtResource( 7 )]
|
||||
margin_left = 8.0
|
||||
|
|
@ -107,7 +107,6 @@ text = "down"
|
|||
margin_top = -8.0
|
||||
margin_bottom = -1.0
|
||||
action = "up"
|
||||
text = "up"
|
||||
|
||||
[node name="Key2" parent="Center/Control/Bottom/Arrows/HBoxContainer" instance=ExtResource( 7 )]
|
||||
margin_left = 16.0
|
||||
|
|
@ -124,16 +123,17 @@ custom_fonts/font = SubResource( 3 )
|
|||
text = "move"
|
||||
|
||||
[node name="Spacer" type="Control" parent="Center/Control/Bottom"]
|
||||
margin_left = 54.0
|
||||
margin_right = 54.0
|
||||
margin_bottom = 40.0
|
||||
margin_right = 174.0
|
||||
margin_bottom = 38.0
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="Keys" type="VBoxContainer" parent="Center/Control/Bottom"]
|
||||
margin_left = 58.0
|
||||
margin_top = 23.0
|
||||
margin_right = 98.0
|
||||
margin_bottom = 40.0
|
||||
size_flags_vertical = 8
|
||||
margin_left = 178.0
|
||||
margin_top = 21.0
|
||||
margin_right = 218.0
|
||||
margin_bottom = 38.0
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 10
|
||||
custom_constants/separation = 3
|
||||
alignment = 2
|
||||
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@
|
|||
1/shapes = [ ]
|
||||
1/z_index = 0
|
||||
|
||||
[sub_resource type="TileSet" id=2]
|
||||
[sub_resource type="TileSet" id=5]
|
||||
4/name = "bricks.png 4"
|
||||
4/texture = ExtResource( 16 )
|
||||
4/tex_offset = Vector2( 0, 0 )
|
||||
|
|
@ -112,7 +112,7 @@
|
|||
6/shapes = [ ]
|
||||
6/z_index = 0
|
||||
|
||||
[sub_resource type="TileSet" id=3]
|
||||
[sub_resource type="TileSet" id=6]
|
||||
0/name = "8pixel.png 0"
|
||||
0/texture = ExtResource( 14 )
|
||||
0/tex_offset = Vector2( 0, 0 )
|
||||
|
|
@ -169,11 +169,11 @@ tile_data = PoolIntArray( -524303, 1, 0, -524302, 1, 0, -524301, 1, 0, -524300,
|
|||
|
||||
[node name="DetailTileMap" parent="." instance=ExtResource( 4 )]
|
||||
z_index = -11
|
||||
tile_set = SubResource( 2 )
|
||||
tile_set = SubResource( 5 )
|
||||
tile_data = PoolIntArray( -393212, 5, 2, -393211, 536870917, 0, -393210, -1610612731, 2, -327676, -1073741819, 2, -327675, 536870917, 0, -327674, 1610612741, 2, -262139, 536870918, 0, -262136, 536870916, 3, -262135, 536870916, 0, -262134, 4, 3, -131080, 536870916, 3, -131079, 536870916, 0, -131078, 4, 3, -196603, 536870918, 0, -196601, 536870916, 3, -196600, 536870916, 0, -196599, 4, 1, -196598, 536870916, 2, -131063, 4, 0, -131062, 536870916, 2, -10, 536870917, 0, -9, -536870906, 0, -7, 536870916, 0, -6, 4, 1, -5, 536870916, 0, -4, 4, 3, -2, 536870916, 3, -1, 536870916, 2, -65532, 4, 2, -65531, 536870916, 1, -65530, 536870916, 0, -65529, 536870916, 1, -65527, 4, 1, -65526, 536870916, 2, 65529, 4, 1, 65530, 4, 3, 65531, 4, 2, 65532, 536870916, 2, 0, 536870917, 0, 4, 536870916, 3, 5, 536870916, 2, 6, 4, 2, 7, 536870916, 0, 9, 536870916, 2, 131063, 536870916, 3, 131065, 4, 1, 131066, 536870916, 0, 131067, 4, 1, 131068, 536870916, 0, 131069, 536870916, 2, 65536, 536870918, 0, 65537, 4, 2, 65538, 4, 3, 65540, 4, 2, 65541, 4, 3, 65542, 536870916, 3, 65543, 536870916, 0, 65545, -536870906, 0, 65546, 536870917, 0, 196598, 536870916, 3, 196599, 536870916, 0, 262134, 536870916, 3, 262135, 4, 1, 262136, 536870916, 0, 262137, 4, 1, 262138, 536870916, 0, 262139, 536870916, 2, 196613, 4, 2, 196614, 4, 0, 196615, 536870916, 2, 327669, 536870916, 3, 327670, 536870916, 0, 327671, 536870916, 2, 327672, 536870916, 3, 327673, 4, 0, 327674, 4, 3, 393206, 4, 2, 393207, 536870916, 0, 393208, 4, 1, 393209, 536870916, 2 )
|
||||
|
||||
[node name="ObscureMap" parent="." instance=ExtResource( 11 )]
|
||||
tile_set = SubResource( 3 )
|
||||
tile_set = SubResource( 6 )
|
||||
tile_data = PoolIntArray( -458766, 536870912, 0, -458765, 536870912, 0, -458764, 536870912, 0, -458763, 536870912, 0, -458762, 536870912, 0, -458761, 536870912, 0, -458760, 536870912, 0, -458759, 536870912, 0, -458758, 536870912, 0, -458757, 536870912, 0, -458756, 536870912, 0, -458755, 536870912, 0, -458754, 536870912, 0, -458753, 536870912, 0, -524288, 536870912, 0, -524287, 536870912, 0, -524286, 536870912, 0, -524285, 536870912, 0, -524284, 536870912, 0, -524283, 536870912, 0, -524282, 536870912, 0, -524281, 536870912, 0, -524280, 536870912, 0, -524279, 536870912, 0, -524278, 536870912, 0, -524277, 536870912, 0, -524276, 536870912, 0, -524275, 536870912, 0, -393230, 536870912, 0, -393229, 536870912, 0, -393228, 536870912, 0, -393227, 536870912, 0, -393226, 536870912, 0, -393225, 536870912, 0, -393224, 536870912, 0, -393223, 536870912, 0, -393222, 536870912, 0, -393221, 536870912, 0, -393220, 536870912, 0, -393219, 536870912, 0, -393218, 536870912, 0, -393217, 536870912, 0, -458752, 536870912, 0, -458751, 536870912, 0, -458750, 536870912, 0, -458749, 536870912, 0, -458748, 536870912, 0, -458747, 536870912, 0, -458746, 536870912, 0, -458745, 536870912, 0, -458744, 536870912, 0, -458743, 536870912, 0, -458742, 536870912, 0, -458741, 536870912, 0, -458740, 536870912, 0, -458739, 536870912, 0, -327694, 536870912, 0, -327693, 536870912, 0, -327692, 536870912, 0, -327691, 536870912, 0, -327690, 536870912, 0, -327689, 536870912, 0, -327688, 536870912, 0, -327687, 536870912, 0, -327686, 536870912, 0, -327685, 536870912, 0, -327684, 536870912, 0, -327683, 536870912, 0, -327682, 536870912, 0, -327681, 536870912, 0, -393216, 536870912, 0, -393215, 536870912, 0, -393214, 536870912, 0, -393213, 536870912, 0, -393212, 536870912, 0, -393211, 536870912, 0, -393210, 536870912, 0, -393209, 536870912, 0, -393208, 536870912, 0, -393207, 536870912, 0, -393206, 536870912, 0, -393205, 536870912, 0, -393204, 536870912, 0, -393203, 536870912, 0, -262158, 536870912, 0, -262157, 536870912, 0, -262156, 536870912, 0, -262155, 536870912, 0, -262154, 536870912, 0, -262153, 536870912, 0, -262152, 536870912, 0, -262151, 536870912, 0, -262150, 536870912, 0, -262149, 536870912, 0, -262148, 536870912, 0, -262147, 536870912, 0, -262146, 536870912, 0, -262145, 0, 0, -327680, 0, 0, -327679, 536870912, 0, -327678, 536870912, 0, -327677, 536870912, 0, -327676, 536870912, 0, -327675, 536870912, 0, -327674, 536870912, 0, -327673, 536870912, 0, -327672, 536870912, 0, -327671, 536870912, 0, -327670, 536870912, 0, -327669, 536870912, 0, -327668, 536870912, 0, -327667, 536870912, 0, -196622, 536870912, 0, -196621, 536870912, 0, -196620, 536870912, 0, -196619, 536870912, 0, -196618, 536870912, 0, -196617, 536870912, 0, -196616, 536870912, 0, -196615, 536870912, 0, -196614, 536870912, 0, -196613, 536870912, 0, -196612, 536870912, 0, -196611, 536870912, 0, -196610, 536870912, 0, -196609, 0, 0, -262144, 0, 0, -262143, 536870912, 0, -262142, 536870912, 0, -262141, 536870912, 0, -262140, 536870912, 0, -262139, 536870912, 0, -262138, 536870912, 0, -262137, 536870912, 0, -262136, 536870912, 0, -262135, 536870912, 0, -262134, 536870912, 0, -262133, 536870912, 0, -262132, 536870912, 0, -262131, 536870912, 0, -131086, 536870912, 0, -131085, 536870912, 0, -131084, 536870912, 0, -131083, 536870912, 0, -131082, 536870912, 0, -131081, 536870912, 0, -131080, 536870912, 0, -131079, 536870912, 0, -131078, 536870912, 0, -131077, 536870912, 0, -131076, 536870912, 0, -131075, 536870912, 0, -131074, 536870912, 0, -131073, 536870912, 0, -196608, 536870912, 0, -196607, 536870912, 0, -196606, 536870912, 0, -196605, 536870912, 0, -196604, 536870912, 0, -196603, 536870912, 0, -196602, 536870912, 0, -196601, 536870912, 0, -196600, 536870912, 0, -196599, 536870912, 0, -196598, 536870912, 0, -196597, 536870912, 0, -196596, 536870912, 0, -196595, 536870912, 0, -65550, 536870912, 0, -65549, 536870912, 0, -65548, 536870912, 0, -65547, 536870912, 0, -65546, 536870912, 0, -65545, 536870912, 0, -65544, 536870914, 2, -65543, 2, 3, -131063, 536870912, 0, -131062, 536870912, 0, -131061, 536870912, 0, -131060, 536870912, 0, -131059, 536870912, 0, -65527, 536870912, 0, -65526, 536870912, 0, -65525, 536870912, 0, -65524, 536870912, 0, -65523, 536870912, 0, 9, 536870912, 0, 10, 536870912, 0, 11, 536870912, 0, 12, 536870912, 0, 13, 536870912, 0 )
|
||||
|
||||
[node name="GameCamera" parent="." instance=ExtResource( 3 )]
|
||||
|
|
@ -189,55 +189,50 @@ position = Vector2( 45, 5 )
|
|||
[node name="Note" parent="Actors" instance=ExtResource( 12 )]
|
||||
position = Vector2( -5, -37 )
|
||||
|
||||
[node name="Node2D" type="Node2D" parent="."]
|
||||
position = Vector2( -13, 42 )
|
||||
[node name="Center" type="CenterContainer" parent="."]
|
||||
margin_top = 46.0
|
||||
margin_bottom = 46.0
|
||||
use_top_left = true
|
||||
script = ExtResource( 10 )
|
||||
|
||||
[node name="Arrows" type="HBoxContainer" parent="Node2D"]
|
||||
margin_left = -8.0
|
||||
margin_top = -5.0
|
||||
margin_right = 42.0
|
||||
margin_bottom = 7.0
|
||||
[node name="Arrows" type="HBoxContainer" parent="Center"]
|
||||
margin_left = -25.0
|
||||
margin_top = -4.0
|
||||
margin_right = 25.0
|
||||
margin_bottom = 3.0
|
||||
custom_constants/separation = 3
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="Node2D/Arrows"]
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="Center/Arrows"]
|
||||
margin_right = 23.0
|
||||
margin_bottom = 12.0
|
||||
margin_bottom = 7.0
|
||||
custom_constants/separation = 1
|
||||
|
||||
[node name="Key" parent="Node2D/Arrows/HBoxContainer" instance=ExtResource( 9 )]
|
||||
margin_top = 2.0
|
||||
margin_bottom = 9.0
|
||||
[node name="Key" parent="Center/Arrows/HBoxContainer" instance=ExtResource( 9 )]
|
||||
action = "left"
|
||||
text = "left"
|
||||
|
||||
[node name="Key4" parent="Node2D/Arrows/HBoxContainer" instance=ExtResource( 9 )]
|
||||
[node name="Key4" parent="Center/Arrows/HBoxContainer" instance=ExtResource( 9 )]
|
||||
margin_left = 8.0
|
||||
margin_top = 2.0
|
||||
margin_right = 15.0
|
||||
margin_bottom = 9.0
|
||||
action = "down"
|
||||
text = "down"
|
||||
|
||||
[node name="Key3" parent="Node2D/Arrows/HBoxContainer/Key4" instance=ExtResource( 9 )]
|
||||
[node name="Key3" parent="Center/Arrows/HBoxContainer/Key4" instance=ExtResource( 9 )]
|
||||
margin_top = -8.0
|
||||
margin_bottom = -1.0
|
||||
action = "up"
|
||||
text = "up"
|
||||
|
||||
[node name="Key2" parent="Node2D/Arrows/HBoxContainer" instance=ExtResource( 9 )]
|
||||
[node name="Key2" parent="Center/Arrows/HBoxContainer" instance=ExtResource( 9 )]
|
||||
margin_left = 16.0
|
||||
margin_top = 2.0
|
||||
margin_right = 23.0
|
||||
margin_bottom = 9.0
|
||||
action = "right"
|
||||
text = "right"
|
||||
|
||||
[node name="Desc" type="Label" parent="Node2D/Arrows"]
|
||||
[node name="Desc" type="Label" parent="Center/Arrows"]
|
||||
margin_left = 26.0
|
||||
margin_top = 3.0
|
||||
margin_top = 1.0
|
||||
margin_right = 50.0
|
||||
margin_bottom = 8.0
|
||||
margin_bottom = 6.0
|
||||
custom_fonts/font = SubResource( 4 )
|
||||
text = "move"
|
||||
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@
|
|||
1/shapes = [ ]
|
||||
1/z_index = 0
|
||||
|
||||
[sub_resource type="TileSet" id=6]
|
||||
[sub_resource type="TileSet" id=9]
|
||||
4/name = "bricks.png 4"
|
||||
4/texture = ExtResource( 16 )
|
||||
4/tex_offset = Vector2( 0, 0 )
|
||||
|
|
@ -112,7 +112,7 @@
|
|||
6/shapes = [ ]
|
||||
6/z_index = 0
|
||||
|
||||
[sub_resource type="TileSet" id=7]
|
||||
[sub_resource type="TileSet" id=10]
|
||||
0/name = "8pixel.png 0"
|
||||
0/texture = ExtResource( 14 )
|
||||
0/tex_offset = Vector2( 0, 0 )
|
||||
|
|
@ -169,11 +169,11 @@ tile_data = PoolIntArray( -589839, 536870913, 0, -589838, 536870913, 0, -589837,
|
|||
|
||||
[node name="DetailTileMap" parent="." instance=ExtResource( 4 )]
|
||||
z_index = -11
|
||||
tile_set = SubResource( 6 )
|
||||
tile_set = SubResource( 9 )
|
||||
tile_data = PoolIntArray( -458747, 2, 0, -458746, 0, 0, -458745, -1610612734, 0, -327687, 536870916, 3, -327686, 536870916, 0, -327685, 4, 3, -393211, -1073741822, 0, -393210, 0, 0, -393209, 1610612738, 0, -262151, 4, 2, -262150, 4, 1, -262149, 4, 0, -262148, 4, 3, -327674, 1, 0, -196614, 4, 2, -131078, 536870916, 3, -131076, 4, 1, -131075, 4, 3, -131074, 1073741829, 2, -131073, 5, 0, -196608, 1610612741, 2, -196606, 4, 2, -196605, 4, 0, -196604, 4, 3, -65548, 5, 2, -65547, -1610612731, 2, -65540, 536870916, 2, -131070, 4, 2, -131069, 4, 1, -131068, 4, 3, -12, -1073741819, 0, -11, -1073741819, 0, -10, -1610612730, 0, -9, -1610612730, 0, -6, 4, 2, -5, 4, 0, -4, 536870916, 2, 65524, -1073741819, 2, 65525, 1610612741, 2, 65529, -1610612731, 2, 65531, 0, 0, 7, 6, 0, 131061, 0, 0, 131062, -1073741823, 0, 131063, -1073741823, 0, 131065, -536870907, 2, 131071, 536870916, 3, 65536, 536870916, 0, 65537, 4, 3, 65538, 5, 2, 65540, 4, 3, 65542, 2, 0, 65543, 6, 0, 65544, -1610612734, 0, 196599, 536870916, 3, 196601, 536870916, 0, 196602, 4, 3, 196604, 5, 0, 131076, 536870916, 0, 131077, 4, 3, 131078, 5, 2, 131079, 5, 0, 131080, -1610612731, 2, 262135, 536870916, 3, 262137, 4, 1, 262138, 4, 3, 262140, 6, 0, 196608, 536870916, 1, 196609, 536870916, 0, 196610, 4, 1, 196611, 4, 0, 196612, 536870916, 2, 196614, 5, 0, 196615, 5, 0, 196616, 5, 0, 327670, 4, 2, 327671, 4, 1, 262150, -1073741819, 2, 262151, 5, 0, 262152, 1610612741, 2, 393206, 536870916, 3, 393207, 4, 0, 393208, 4, 1, 393209, 4, 0, 393210, 536870916, 2, 458742, 4, 2, 458743, 4, 0, 458744, 536870916, 2 )
|
||||
|
||||
[node name="ObscureMap" parent="." instance=ExtResource( 11 )]
|
||||
tile_set = SubResource( 7 )
|
||||
tile_set = SubResource( 10 )
|
||||
tile_data = PoolIntArray( -524302, 536870912, 0, -524301, 536870912, 0, -524300, 536870912, 0, -524299, 536870912, 0, -524298, 536870912, 0, -524297, 536870912, 0, -524296, 536870912, 0, -524295, 536870912, 0, -524294, 536870912, 0, -524293, 536870912, 0, -524292, 536870912, 0, -524291, 536870912, 0, -524290, 536870912, 0, -524289, 536870912, 0, -589824, 536870912, 0, -589823, 536870912, 0, -589822, 536870912, 0, -589821, 536870912, 0, -589820, 536870912, 0, -589819, 536870912, 0, -589818, 536870912, 0, -589817, 536870912, 0, -589816, 536870912, 0, -589815, 536870912, 0, -589814, 536870912, 0, -589813, 536870912, 0, -589812, 536870912, 0, -589811, 536870912, 0, -458766, 536870912, 0, -458765, 536870912, 0, -458764, 536870912, 0, -458763, 536870912, 0, -458762, 536870912, 0, -458761, 536870912, 0, -458760, 536870912, 0, -458759, 536870912, 0, -458758, 536870912, 0, -458757, 536870912, 0, -458756, 536870912, 0, -458755, 536870912, 0, -458754, 536870912, 0, -458753, 536870912, 0, -524288, 536870912, 0, -524287, 536870912, 0, -524286, 536870912, 0, -524285, 536870912, 0, -524284, 536870912, 0, -524283, 536870912, 0, -524282, 536870912, 0, -524281, 536870912, 0, -524280, 536870912, 0, -524279, 536870912, 0, -524278, 536870912, 0, -524277, 536870912, 0, -524276, 536870912, 0, -524275, 536870912, 0, -393230, 536870912, 0, -393229, 536870912, 0, -393228, 536870912, 0, -393227, 536870912, 0, -393226, 536870912, 0, -393225, 536870912, 0, -393224, 536870912, 0, -393223, 536870912, 0, -393222, 536870912, 0, -393221, 536870912, 0, -393220, 536870912, 0, -393219, 536870912, 0, -393218, 536870912, 0, -393217, 536870912, 0, -458752, 536870912, 0, -458751, 536870912, 0, -458750, 536870912, 0, -458749, 536870912, 0, -458748, 536870912, 0, -458747, 536870912, 0, -458746, 536870912, 0, -458745, 536870912, 0, -458744, 536870912, 0, -458743, 536870912, 0, -458742, 536870912, 0, -458741, 536870912, 0, -458740, 536870912, 0, -458739, 536870912, 0, -327694, 536870912, 0, -327693, 536870912, 0, -327692, 536870912, 0, -327691, 536870912, 0, -327690, 0, 0, -327689, 536870912, 0, -327688, 536870912, 0, -327687, 536870912, 0, -327686, 536870912, 0, -327685, 536870912, 0, -327684, 536870912, 0, -327683, 536870912, 0, -327682, 536870912, 0, -327681, 536870912, 0, -393216, 536870912, 0, -393215, 536870912, 0, -393214, 536870912, 0, -393213, 536870912, 0, -393212, 536870912, 0, -393211, 536870912, 0, -393210, 536870912, 0, -393209, 536870912, 0, -393208, 536870912, 0, -393207, 536870912, 0, -393206, 536870912, 0, -393205, 536870912, 0, -393204, 536870912, 0, -393203, 536870912, 0, -262158, 536870912, 0, -262157, 536870912, 0, -262156, 536870912, 0, -262155, 536870912, 0, -262154, 0, 0, -262153, 536870912, 0, -262152, 536870912, 0, -262151, 536870912, 0, -262150, 536870912, 0, -262149, 536870912, 0, -262148, 536870912, 0, -262147, 536870912, 0, -262146, 536870912, 0, -262145, 536870912, 0, -327680, 536870912, 0, -327679, 536870912, 0, -327678, 536870912, 0, -327677, 536870912, 0, -327676, 536870912, 0, -327675, 536870912, 0, -327674, 536870912, 0, -327673, 536870912, 0, -327672, 536870912, 0, -327671, 536870912, 0, -327670, 536870912, 0, -327669, 536870912, 0, -327668, 536870912, 0, -327667, 536870912, 0, -196622, 536870912, 0, -196621, 536870912, 0, -196620, 536870912, 0, -196619, 536870912, 0, -196618, 536870912, 0, -196617, 536870912, 0, -196616, 536870912, 0, -196615, 536870912, 0, -196614, 536870912, 0, -262144, 536870914, 3, -262143, 2, 2, -262142, 2, 1, -262136, 536870912, 0, -262135, 536870912, 0, -262134, 536870912, 0, -262133, 536870912, 0, -262132, 536870912, 0, -262131, 536870912, 0, -131086, 536870912, 0, -131085, 536870912, 0, -131084, 536870912, 0, -131083, 536870912, 0, -131082, 536870912, 0, -131081, 536870912, 0, -131080, 536870912, 0, -131079, 536870912, 0, -131078, 536870912, 0, -196600, 536870912, 0, -196599, 536870912, 0, -196598, 536870912, 0, -196597, 536870912, 0, -196596, 536870912, 0, -196595, 536870912, 0, -131064, 536870912, 0, -131063, 536870912, 0, -131062, 536870912, 0, -131061, 536870912, 0, -131060, 536870912, 0, -131059, 536870912, 0 )
|
||||
|
||||
[node name="GameCamera" parent="." instance=ExtResource( 3 )]
|
||||
|
|
@ -189,21 +189,25 @@ position = Vector2( 45, -19 )
|
|||
[node name="Note" parent="Actors" instance=ExtResource( 12 )]
|
||||
position = Vector2( -85, -45 )
|
||||
|
||||
[node name="Node2D" type="Node2D" parent="."]
|
||||
position = Vector2( 0, -47 )
|
||||
[node name="Center" type="CenterContainer" parent="."]
|
||||
margin_left = 8.0
|
||||
margin_top = -44.0
|
||||
margin_right = 8.0
|
||||
margin_bottom = -44.0
|
||||
use_top_left = true
|
||||
script = ExtResource( 10 )
|
||||
|
||||
[node name="X" type="HBoxContainer" parent="Node2D"]
|
||||
margin_left = -3.0
|
||||
[node name="X" type="HBoxContainer" parent="Center"]
|
||||
margin_left = -17.0
|
||||
margin_top = -4.0
|
||||
margin_right = 37.0
|
||||
margin_right = 17.0
|
||||
margin_bottom = 3.0
|
||||
custom_constants/separation = 3
|
||||
|
||||
[node name="Key" parent="Node2D/X" instance=ExtResource( 13 )]
|
||||
[node name="Key" parent="Center/X" instance=ExtResource( 13 )]
|
||||
text = "x"
|
||||
|
||||
[node name="Desc" type="Label" parent="Node2D/X"]
|
||||
[node name="Desc" type="Label" parent="Center/X"]
|
||||
margin_left = 10.0
|
||||
margin_top = 1.0
|
||||
margin_right = 34.0
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@
|
|||
1/shapes = [ ]
|
||||
1/z_index = 0
|
||||
|
||||
[sub_resource type="TileSet" id=6]
|
||||
[sub_resource type="TileSet" id=9]
|
||||
4/name = "bricks.png 4"
|
||||
4/texture = ExtResource( 17 )
|
||||
4/tex_offset = Vector2( 0, 0 )
|
||||
|
|
@ -113,7 +113,7 @@
|
|||
6/shapes = [ ]
|
||||
6/z_index = 0
|
||||
|
||||
[sub_resource type="TileSet" id=7]
|
||||
[sub_resource type="TileSet" id=10]
|
||||
0/name = "8pixel.png 0"
|
||||
0/texture = ExtResource( 15 )
|
||||
0/tex_offset = Vector2( 0, 0 )
|
||||
|
|
@ -170,11 +170,11 @@ tile_data = PoolIntArray( -589842, 536870913, 0, -589841, 536870913, 0, -589840,
|
|||
|
||||
[node name="DetailTileMap" parent="." instance=ExtResource( 5 )]
|
||||
z_index = -11
|
||||
tile_set = SubResource( 6 )
|
||||
tile_set = SubResource( 9 )
|
||||
tile_data = PoolIntArray( -524295, 536870916, 3, -524294, 536870916, 0, -524293, 536870916, 2, -589821, 536870916, 3, -589820, 536870916, 1, -589819, 536870916, 2, -458766, 5, 2, -458765, -1610612731, 2, -524283, 536870916, 1, -524282, 4, 3, -393230, -1073741819, 0, -393229, -1073741819, 0, -393228, -1610612730, 0, -393227, -1610612730, 0, -393223, 4, 2, -393222, 4, 1, -393221, 4, 3, -393218, 6, 0, -458749, 4, 2, -458747, 4, 0, -458746, 4, 3, -327694, -1073741819, 2, -327693, 1610612741, 2, -327687, 4, 2, -327686, 4, 0, -327685, 4, 3, -327682, 1610612741, 2, -393209, 4, 3, -327678, 5, 2, -327677, 5, 0, -327676, -1610612731, 2, -327675, 4, 2, -327673, 4, 0, -327672, 4, 3, -196614, 1073741829, 2, -196613, 1610612741, 2, -262142, 5, 0, -262141, 5, 0, -262140, 5, 0, -262137, 536870916, 2, -131076, 536870916, 3, -131075, 4, 0, -131074, 536870916, 2, -196606, -1073741819, 2, -196605, 5, 0, -196604, 1610612741, 2, -65540, 536870916, 3, -65539, 4, 1, -65538, 536870916, 2, -131072, 536870916, 3, -131071, 4, 0, -131070, 4, 3, -131069, 6, 0, -11, 1073741829, 2, -10, 5, 0, -9, 1610612741, 2, -65536, 4, 2, -65535, 536870916, 1, -65534, 4, 3, -65533, 6, 0, 131057, 536870916, 3, 131058, 536870916, 0, 131060, 4, 0, 131061, 4, 1, 131062, 4, 3, 131071, -1610612731, 2, 65536, 4, 2, 65537, 4, 0, 65538, 536870916, 2, 65541, 6, 0, 196593, 536870916, 3, 196594, 536870916, 1, 196596, 4, 1, 196597, 4, 0, 196598, 4, 3, 196607, -1610612731, 0, 131077, 6, 0, 262129, 4, 2, 262130, 536870916, 0, 262132, 4, 0, 262133, 4, 1, 262134, 536870916, 2, 262138, 5, 2, 262139, 5, 0, 262140, 5, 0, 262141, 536870917, 2, 262143, -536870907, 2, 196613, 5, 0, 327666, 4, 2 )
|
||||
|
||||
[node name="ObscureMap" parent="." instance=ExtResource( 13 )]
|
||||
tile_set = SubResource( 7 )
|
||||
tile_set = SubResource( 10 )
|
||||
tile_data = PoolIntArray( -524305, 536870912, 0, -524304, 536870912, 0, -524303, 536870912, 0, -524302, 536870912, 0, -524301, 536870912, 0, -524300, 536870912, 0, -524299, 536870912, 0, -458769, 536870912, 0, -458768, 536870912, 0, -458767, 536870912, 0, -458766, 536870912, 0, -458765, 536870912, 0, -458764, 536870912, 0, -458763, 536870912, 0, -393233, 536870912, 0, -393232, 536870912, 0, -393231, 536870912, 0, -393230, 536870912, 0, -393229, 536870912, 0, -393228, 536870912, 0, -393227, 536870912, 0, -327697, 536870912, 0, -327696, 536870912, 0, -327695, 536870912, 0, -327694, 536870912, 0, -327693, 536870912, 0, -327692, 536870912, 0, -327691, 536870912, 0, -262161, 536870912, 0, -262160, 0, 0, -262159, 0, 0, -262158, 536870912, 0, -262157, 536870912, 0, -262156, 536870912, 0, -262155, 536870912, 0, -196625, 536870912, 0, -196624, 0, 0, -196623, 0, 0, -196622, 536870912, 0, -196621, 536870912, 0, -196620, 536870912, 0, -196619, 536870912, 0, -196618, 536870912, 0, -196617, 536870912, 0, -196616, 536870914, 2, -131089, 536870912, 0, -131088, 536870912, 0, -131087, 536870912, 0, -131086, 536870912, 0, -131085, 536870912, 0, -131084, 536870912, 0, -131083, 536870912, 0, -131082, 536870912, 0, -131081, 536870912, 0, -131080, 536870914, 3 )
|
||||
|
||||
[node name="GameCamera" parent="." instance=ExtResource( 4 )]
|
||||
|
|
@ -200,24 +200,28 @@ position = Vector2( 11, -16 )
|
|||
[node name="Note" parent="Actors" instance=ExtResource( 12 )]
|
||||
position = Vector2( -125, -37 )
|
||||
|
||||
[node name="Node2D" type="Node2D" parent="."]
|
||||
position = Vector2( 15, 36 )
|
||||
[node name="Center" type="CenterContainer" parent="."]
|
||||
margin_left = 43.0
|
||||
margin_top = 37.0
|
||||
margin_right = 43.0
|
||||
margin_bottom = 37.0
|
||||
use_top_left = true
|
||||
script = ExtResource( 11 )
|
||||
|
||||
[node name="X" type="HBoxContainer" parent="Node2D"]
|
||||
margin_left = -13.0
|
||||
margin_top = -3.0
|
||||
margin_right = 51.0
|
||||
margin_bottom = 4.0
|
||||
[node name="X" type="HBoxContainer" parent="Center"]
|
||||
margin_left = -32.0
|
||||
margin_top = -4.0
|
||||
margin_right = 32.0
|
||||
margin_bottom = 3.0
|
||||
custom_constants/separation = 3
|
||||
|
||||
[node name="Key" parent="Node2D/X" instance=ExtResource( 10 )]
|
||||
[node name="Key" parent="Center/X" instance=ExtResource( 10 )]
|
||||
margin_right = 31.0
|
||||
rect_min_size = Vector2( 31, 7 )
|
||||
action = "pause"
|
||||
text = "enter"
|
||||
|
||||
[node name="Desc" type="Label" parent="Node2D/X"]
|
||||
[node name="Desc" type="Label" parent="Center/X"]
|
||||
margin_left = 34.0
|
||||
margin_top = 1.0
|
||||
margin_right = 64.0
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@
|
|||
1/shapes = [ ]
|
||||
1/z_index = 0
|
||||
|
||||
[sub_resource type="TileSet" id=6]
|
||||
[sub_resource type="TileSet" id=9]
|
||||
4/name = "bricks.png 4"
|
||||
4/texture = ExtResource( 17 )
|
||||
4/tex_offset = Vector2( 0, 0 )
|
||||
|
|
@ -113,7 +113,7 @@
|
|||
6/shapes = [ ]
|
||||
6/z_index = 0
|
||||
|
||||
[sub_resource type="TileSet" id=7]
|
||||
[sub_resource type="TileSet" id=10]
|
||||
0/name = "8pixel.png 0"
|
||||
0/texture = ExtResource( 15 )
|
||||
0/tex_offset = Vector2( 0, 0 )
|
||||
|
|
@ -170,11 +170,11 @@ tile_data = PoolIntArray( -720909, 1, 0, -720908, 1, 0, -720907, 1, 0, -720906,
|
|||
|
||||
[node name="DetailTileMap" parent="." instance=ExtResource( 5 )]
|
||||
z_index = -11
|
||||
tile_set = SubResource( 6 )
|
||||
tile_set = SubResource( 9 )
|
||||
tile_data = PoolIntArray( -393211, 536870916, 3, -393210, 4, 0, -393209, 4, 3, -262147, 1073741829, 2, -262146, 5, 0, -262145, 5, 0, -327680, 1610612741, 2, -327676, 536870916, 3, -327675, 4, 0, -327674, 536870916, 1, -327673, 4, 3, -196612, 536870916, 3, -196611, 4, 1, -196610, 4, 3, -262138, 536870916, 0, -262137, 536870916, 1, -262136, 4, 3, -131076, 4, 2, -131075, 4, 0, -131074, 4, 3, -196604, 536870916, 0, -196602, 536870916, 1, -196601, 536870916, 0, -196600, 536870916, 2, -65545, 536870916, 3, -65540, 4, 0, -131072, 5, 2, -131071, 5, 0, -131070, -1610612731, 2, -131068, 4, 2, -131066, 4, 1, -131065, 536870916, 2, -9, 536870916, 3, -8, 4, 0, -7, 4, 1, -6, 4, 0, -4, 4, 0, -3, 4, 1, -2, 536870916, 2, -65536, 5, 0, -65535, 5, 0, -65534, 5, 0, 65527, 4, 2, 65528, 4, 1, 65529, 4, 0, 65530, 4, 1, 65532, 4, 1, 65533, 536870916, 0, 65534, 4, 3, 0, -1073741819, 2, 1, 5, 0, 2, 1610612741, 2, 6, 1073741829, 2, 7, 5, 0, 8, 5, 0, 9, 1610612741, 2, 131064, 4, 2, 131065, 4, 1, 131066, 4, 0, 65537, 6, 0, 65546, 4, 2, 65548, 4, 0, 65549, 4, 3, 196604, 5, 0, 196605, 5, 0, 196606, 536870917, 2, 131073, 6, 0, 131076, 4, 2, 131077, 4, 3, 131082, 536870916, 3, 131084, 4, 1, 131085, 4, 3, 196612, 4, 2, 196613, 4, 0, 196614, 4, 3, 196618, 4, 2, 196620, 536870916, 0, 196621, 4, 3, 327677, 6, 0, 262148, 4, 2, 262149, 4, 1, 262150, 4, 3, 262156, 4, 1, 262157, 4, 3, 393213, 1610612741, 2, 327690, 4, 2, 327691, 4, 1, 327692, 536870916, 0, 327693, 536870916, 2, 393220, 4, 2, 393221, 4, 0, 393222, 4, 3 )
|
||||
|
||||
[node name="ObscureMap" parent="." instance=ExtResource( 12 )]
|
||||
tile_set = SubResource( 7 )
|
||||
tile_set = SubResource( 10 )
|
||||
tile_data = PoolIntArray( -655372, 536870912, 0, -655371, 536870912, 0, -655370, 536870912, 0, -655369, 536870912, 0, -655368, 536870912, 0, -655367, 536870912, 0, -655366, 536870912, 0, -655365, 536870912, 0, -655364, 536870912, 0, -655363, 536870912, 0, -655362, 536870912, 0, -655361, 536870912, 0, -720896, 536870912, 0, -720895, 536870912, 0, -720894, 536870912, 0, -720893, 536870912, 0, -720892, 536870912, 0, -720891, 536870912, 0, -720890, 536870912, 0, -720889, 536870912, 0, -720888, 536870912, 0, -720887, 536870912, 0, -720886, 536870912, 0, -720885, 536870912, 0, -720884, 536870912, 0, -720883, 536870912, 0, -720882, 536870912, 0, -720881, 536870912, 0, -589836, 536870912, 0, -589835, 536870912, 0, -589834, 536870912, 0, -589833, 536870912, 0, -589832, 536870912, 0, -589831, 536870912, 0, -589830, 536870912, 0, -589829, 536870912, 0, -589828, 536870912, 0, -589827, 536870912, 0, -589826, 536870912, 0, -589825, 536870912, 0, -655360, 536870912, 0, -655359, 536870912, 0, -655358, 536870912, 0, -655357, 536870912, 0, -655356, 536870912, 0, -655355, 536870912, 0, -655354, 536870912, 0, -655353, 536870912, 0, -655352, 536870912, 0, -655351, 536870912, 0, -655350, 536870912, 0, -655349, 536870912, 0, -655348, 536870912, 0, -655347, 536870912, 0, -655346, 536870912, 0, -655345, 536870912, 0, -524300, 536870912, 0, -524299, 536870912, 0, -524298, 536870912, 0, -524297, 536870912, 0, -524296, 536870912, 0, -524295, 536870912, 0, -524294, 536870912, 0, -524293, 536870912, 0, -524292, 536870912, 0, -524291, 536870912, 0, -524290, 536870912, 0, -524289, 536870912, 0, -589824, 536870912, 0, -589823, 536870912, 0, -589822, 536870912, 0, -589821, 536870912, 0, -589820, 536870912, 0, -589819, 536870912, 0, -589818, 536870912, 0, -589817, 536870912, 0, -589816, 536870912, 0, -589815, 536870912, 0, -589814, 536870912, 0, -589813, 536870912, 0, -589812, 536870912, 0, -589811, 536870912, 0, -589810, 536870912, 0, -589809, 536870912, 0, -458764, 536870912, 0, -458763, 536870912, 0, -458762, 536870912, 0, -458761, 536870912, 0, -458760, 536870912, 0, -458759, 536870912, 0, -458758, 536870912, 0, -458757, 536870912, 0, -458756, 536870912, 0, -458755, 536870912, 0, -458754, 536870912, 0, -458753, 536870912, 0, -524288, 536870912, 0, -524287, 536870912, 0, -524286, 536870912, 0, -524285, 536870912, 0, -524284, 536870912, 0, -524283, 536870912, 0, -524282, 536870912, 0, -524281, 536870912, 0, -524280, 536870912, 0, -524279, 536870912, 0, -524278, 536870912, 0, -524277, 536870912, 0, -524276, 536870912, 0, -524275, 536870912, 0, -524274, 536870912, 0, -524273, 536870912, 0, -393228, 536870912, 0, -393227, 536870912, 0, -393226, 536870912, 0, -393225, 536870912, 0, -393224, 536870912, 0, -393223, 536870912, 0, -393222, 536870912, 0, -393221, 536870912, 0, -393220, 536870912, 0, -393219, 536870912, 0, -393218, 536870912, 0, -393217, 536870912, 0, -458752, 536870912, 0, -458751, 536870912, 0, -458750, 536870912, 0, -458749, 536870912, 0, -458748, 536870912, 0, -458747, 536870912, 0, -458746, 536870912, 0, -458745, 536870912, 0, -458744, 536870912, 0, -458743, 536870912, 0, -458742, 536870912, 0, -458741, 536870912, 0, -458740, 536870912, 0, -458739, 536870912, 0, -458738, 536870912, 0, -458737, 536870912, 0, -327692, 536870912, 0, -327691, 536870912, 0, -327690, 536870912, 0, -327689, 536870912, 0, -327688, 536870912, 0, -327687, 536870912, 0, -327686, 536870912, 0, -393216, 536870914, 3, -393215, 2, 2, -393213, 536870912, 0, -393212, 536870912, 0, -393211, 536870912, 0, -393210, 536870912, 0, -393209, 536870912, 0, -393208, 536870912, 0, -393207, 536870912, 0, -393206, 536870912, 0, -393205, 0, 0, -393204, 0, 0, -393203, 536870912, 0, -393202, 536870912, 0, -393201, 536870912, 0, -262156, 536870912, 0, -262155, 536870912, 0, -262154, 536870912, 0, -262153, 536870912, 0, -327677, 536870912, 0, -327676, 536870912, 0, -327675, 536870912, 0, -327674, 536870912, 0, -327673, 536870912, 0, -327672, 536870912, 0, -327671, 536870912, 0, -327670, 536870912, 0, -327669, 0, 0, -327668, 0, 0, -327667, 536870912, 0, -327666, 536870912, 0, -327665, 536870912, 0, -196620, 536870912, 0, -196619, 536870912, 0, -196618, 536870912, 0, -196617, 536870912, 0, -262138, 536870912, 0, -262137, 536870912, 0, -262136, 536870912, 0, -262135, 536870912, 0, -262134, 536870912, 0, -262133, 536870912, 0, -262132, 536870912, 0, -262131, 536870912, 0, -262130, 536870912, 0, -262129, 536870912, 0, -131084, 536870912, 0, -131083, 536870912, 0, -131082, 536870912, 0, -131081, 536870912, 0, -196602, 536870912, 0, -196601, 536870912, 0, -196600, 536870912, 0, -196599, 536870912, 0, -196598, 536870912, 0, -196597, 536870912, 0, -196596, 536870912, 0, -196595, 536870912, 0, -196594, 536870912, 0, -196593, 536870912, 0, -131066, 536870912, 0, -131065, 536870912, 0, -131064, 536870912, 0, -131063, 536870912, 0, -131062, 536870912, 0, -131061, 536870912, 0, -131060, 536870912, 0, -131059, 536870912, 0, -131058, 536870912, 0, -131057, 536870912, 0 )
|
||||
|
||||
[node name="GameCamera" parent="." instance=ExtResource( 4 )]
|
||||
|
|
@ -197,22 +197,26 @@ position = Vector2( 75, 16 )
|
|||
[node name="Note" parent="Actors" instance=ExtResource( 13 )]
|
||||
position = Vector2( 91, -45 )
|
||||
|
||||
[node name="Node2D" type="Node2D" parent="."]
|
||||
position = Vector2( -76, 42 )
|
||||
[node name="Center" type="CenterContainer" parent="."]
|
||||
margin_left = -64.0
|
||||
margin_top = 45.0
|
||||
margin_right = -64.0
|
||||
margin_bottom = 45.0
|
||||
use_top_left = true
|
||||
script = ExtResource( 11 )
|
||||
|
||||
[node name="X" type="HBoxContainer" parent="Node2D"]
|
||||
margin_left = -3.0
|
||||
margin_top = -3.0
|
||||
margin_right = 37.0
|
||||
margin_bottom = 4.0
|
||||
[node name="X" type="HBoxContainer" parent="Center"]
|
||||
margin_left = -17.0
|
||||
margin_top = -4.0
|
||||
margin_right = 17.0
|
||||
margin_bottom = 3.0
|
||||
custom_constants/separation = 3
|
||||
|
||||
[node name="Key" parent="Node2D/X" instance=ExtResource( 10 )]
|
||||
[node name="Key" parent="Center/X" instance=ExtResource( 10 )]
|
||||
action = "action"
|
||||
text = "c"
|
||||
|
||||
[node name="Desc" type="Label" parent="Node2D/X"]
|
||||
[node name="Desc" type="Label" parent="Center/X"]
|
||||
margin_left = 10.0
|
||||
margin_top = 1.0
|
||||
margin_right = 34.0
|
||||
|
|
|
|||
|
|
@ -261,6 +261,7 @@ material = SubResource( 17 )
|
|||
position = Vector2( 4, 0 )
|
||||
texture = ExtResource( 2 )
|
||||
hframes = 7
|
||||
vframes = 2
|
||||
region_rect = Rect2( 40, 0, 8, 24 )
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="Player"]
|
||||
|
|
|
|||
|
|
@ -450,6 +450,7 @@ material = SubResource( 12 )
|
|||
position = Vector2( 4, 2 )
|
||||
texture = ExtResource( 19 )
|
||||
hframes = 7
|
||||
vframes = 2
|
||||
region_rect = Rect2( 40, 0, 8, 24 )
|
||||
|
||||
[node name="Image0" type="Control" parent="Control/Slot/0"]
|
||||
|
|
@ -514,6 +515,7 @@ material = SubResource( 11 )
|
|||
position = Vector2( 4, 2 )
|
||||
texture = ExtResource( 19 )
|
||||
hframes = 7
|
||||
vframes = 2
|
||||
region_rect = Rect2( 40, 0, 8, 24 )
|
||||
|
||||
[node name="Image0" type="Control" parent="Control/Slot/1"]
|
||||
|
|
@ -587,6 +589,7 @@ material = SubResource( 10 )
|
|||
position = Vector2( 4, 2 )
|
||||
texture = ExtResource( 19 )
|
||||
hframes = 7
|
||||
vframes = 2
|
||||
region_rect = Rect2( 40, 0, 8, 24 )
|
||||
|
||||
[node name="Image0" type="Control" parent="Control/Slot/2"]
|
||||
|
|
@ -694,6 +697,7 @@ material = SubResource( 15 )
|
|||
position = Vector2( 4, 2 )
|
||||
texture = ExtResource( 19 )
|
||||
hframes = 7
|
||||
vframes = 2
|
||||
region_rect = Rect2( 40, 0, 8, 24 )
|
||||
|
||||
[node name="Image" type="Control" parent="Control/Open/1"]
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
extends Node2D
|
||||
extends CanvasItem
|
||||
|
||||
func _ready():
|
||||
if Shared.is_level_select or TouchScreen.visible:
|
||||
if Shared.is_level_select:
|
||||
visible = false
|
||||
|
||||
Pause.connect("pause", self, "pause")
|
||||
|
|
@ -11,5 +11,4 @@ func pause():
|
|||
visible = false
|
||||
|
||||
func unpause():
|
||||
if !TouchScreen.visible:
|
||||
visible = true
|
||||
visible = true
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ var swap := {"control" : "ctrl",
|
|||
"pageup" : "pgup",
|
||||
"pagedown" : "pgdn",
|
||||
"scrolllock" : "scrlk",
|
||||
"backspace" : "back",
|
||||
}
|
||||
|
||||
var images := {"up" : 0,
|
||||
|
|
|
|||
|
|
@ -18,14 +18,14 @@ rect_min_size = Vector2( 7, 7 )
|
|||
size_flags_vertical = 4
|
||||
script = ExtResource( 2 )
|
||||
action = "jump"
|
||||
text = "f"
|
||||
text = "left"
|
||||
|
||||
[node name="Black" type="ColorRect" parent="."]
|
||||
modulate = Color( 0, 0, 0, 1 )
|
||||
margin_left = -1.0
|
||||
margin_top = -1.0
|
||||
margin_right = 6.0
|
||||
margin_bottom = 6.0
|
||||
margin_right = 8.0
|
||||
margin_bottom = 8.0
|
||||
|
||||
[node name="White" type="ColorRect" parent="."]
|
||||
margin_right = 7.0
|
||||
|
|
@ -35,16 +35,14 @@ margin_bottom = 7.0
|
|||
modulate = Color( 0, 0, 0, 1 )
|
||||
margin_left = 1.0
|
||||
margin_top = 1.0
|
||||
margin_right = 2.0
|
||||
margin_right = 19.0
|
||||
margin_bottom = 6.0
|
||||
custom_fonts/font = SubResource( 1 )
|
||||
text = "f"
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
visible = false
|
||||
modulate = Color( 0, 0, 0, 1 )
|
||||
position = Vector2( 4, 4 )
|
||||
texture = ExtResource( 3 )
|
||||
centered = false
|
||||
hframes = 4
|
||||
vframes = 4
|
||||
frame = 4
|
||||
frame = 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue