v1.2, added decorations to lvl 1, edited the credits, added a secret place counter, and a message telling you to find the key
This commit is contained in:
parent
9d4a3883cf
commit
84d02364b4
Binary file not shown.
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.6 KiB |
@ -28,6 +28,7 @@ process/fix_alpha_border=true
|
|||||||
process/premult_alpha=false
|
process/premult_alpha=false
|
||||||
process/HDR_as_SRGB=false
|
process/HDR_as_SRGB=false
|
||||||
process/invert_color=false
|
process/invert_color=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
stream=false
|
stream=false
|
||||||
size_limit=0
|
size_limit=0
|
||||||
detect_3d=false
|
detect_3d=false
|
||||||
|
@ -147,3 +147,31 @@ points = PoolVector2Array( 0, 32, 0, 0, 32, 0 )
|
|||||||
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||||
} ]
|
} ]
|
||||||
5/z_index = 0
|
5/z_index = 0
|
||||||
|
6/name = "viga"
|
||||||
|
6/texture = ExtResource( 1 )
|
||||||
|
6/tex_offset = Vector2( 0, 0 )
|
||||||
|
6/modulate = Color( 1, 1, 1, 1 )
|
||||||
|
6/region = Rect2( 0, 32, 32, 32 )
|
||||||
|
6/tile_mode = 0
|
||||||
|
6/occluder_offset = Vector2( 0, 0 )
|
||||||
|
6/navigation_offset = Vector2( 0, 0 )
|
||||||
|
6/shape_offset = Vector2( 0, 0 )
|
||||||
|
6/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||||
|
6/shape_one_way = false
|
||||||
|
6/shape_one_way_margin = 0.0
|
||||||
|
6/shapes = [ ]
|
||||||
|
6/z_index = 0
|
||||||
|
7/name = "viga2"
|
||||||
|
7/texture = ExtResource( 1 )
|
||||||
|
7/tex_offset = Vector2( 0, 0 )
|
||||||
|
7/modulate = Color( 1, 1, 1, 1 )
|
||||||
|
7/region = Rect2( 32, 32, 32, 32 )
|
||||||
|
7/tile_mode = 0
|
||||||
|
7/occluder_offset = Vector2( 0, 0 )
|
||||||
|
7/navigation_offset = Vector2( 0, 0 )
|
||||||
|
7/shape_offset = Vector2( 0, 0 )
|
||||||
|
7/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||||
|
7/shape_one_way = false
|
||||||
|
7/shape_one_way_margin = 0.0
|
||||||
|
7/shapes = [ ]
|
||||||
|
7/z_index = 0
|
||||||
|
@ -101,52 +101,52 @@ texture={
|
|||||||
|
|
||||||
ui_cancel={
|
ui_cancel={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777217,"unicode":0,"echo":false,"script":null)
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777217,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":1,"pressure":0.0,"pressed":false,"script":null)
|
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":1,"pressure":0.0,"pressed":false,"script":null)
|
||||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":88,"unicode":0,"echo":false,"script":null)
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":88,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
jump={
|
jump={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777232,"unicode":0,"echo":false,"script":null)
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777232,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":0,"pressure":0.0,"pressed":false,"script":null)
|
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":0,"pressure":0.0,"pressed":false,"script":null)
|
||||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":87,"unicode":0,"echo":false,"script":null)
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":87,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":90,"unicode":0,"echo":false,"script":null)
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":90,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
move_left={
|
move_left={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777231,"unicode":0,"echo":false,"script":null)
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777231,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":14,"pressure":0.0,"pressed":false,"script":null)
|
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":14,"pressure":0.0,"pressed":false,"script":null)
|
||||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":65,"unicode":0,"echo":false,"script":null)
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":65,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":-1.0,"script":null)
|
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":-1.0,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
move_right={
|
move_right={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777233,"unicode":0,"echo":false,"script":null)
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777233,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":15,"pressure":0.0,"pressed":false,"script":null)
|
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":15,"pressure":0.0,"pressed":false,"script":null)
|
||||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":68,"unicode":0,"echo":false,"script":null)
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":68,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":1.0,"script":null)
|
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":1.0,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
shoot={
|
shoot={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":32,"unicode":0,"echo":false,"script":null)
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":32,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":2,"pressure":0.0,"pressed":false,"script":null)
|
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":2,"pressure":0.0,"pressed":false,"script":null)
|
||||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":90,"unicode":0,"echo":false,"script":null)
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":90,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
toggle_fullscreen={
|
toggle_fullscreen={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777254,"unicode":0,"echo":false,"script":null)
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777254,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
toggle_pause={
|
toggle_pause={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777217,"unicode":0,"echo":false,"script":null)
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777217,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":11,"pressure":0.0,"pressed":false,"script":null)
|
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":11,"pressure":0.0,"pressed":false,"script":null)
|
||||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777221,"unicode":0,"echo":false,"script":null)
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777221,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4,10 +4,12 @@ const LIMIT_LEFT = 0
|
|||||||
const LIMIT_TOP = -96
|
const LIMIT_TOP = -96
|
||||||
const LIMIT_RIGHT = 3328
|
const LIMIT_RIGHT = 3328
|
||||||
const LIMIT_BOTTOM = 1984
|
const LIMIT_BOTTOM = 1984
|
||||||
|
const SECRETS = 12
|
||||||
|
|
||||||
func _ready():
|
func _ready():
|
||||||
global.hud.run_clock()
|
global.hud.run_clock()
|
||||||
$Music.play()
|
$Music.play()
|
||||||
|
global.show_message("Find the key to exit the level...")
|
||||||
for child in get_children():
|
for child in get_children():
|
||||||
if child is Player:
|
if child is Player:
|
||||||
var camera = child.get_node("Camera")
|
var camera = child.get_node("Camera")
|
||||||
|
File diff suppressed because one or more lines are too long
@ -18,7 +18,7 @@ tracks/0/keys = {
|
|||||||
"times": PoolRealArray( 0, 15 ),
|
"times": PoolRealArray( 0, 15 ),
|
||||||
"transitions": PoolRealArray( 1, 1 ),
|
"transitions": PoolRealArray( 1, 1 ),
|
||||||
"update": 0,
|
"update": 0,
|
||||||
"values": [ Vector2( 322, 188 ), Vector2( -1464, 188 ) ]
|
"values": [ Vector2( 322, 190 ), Vector2( -1616, 190 ) ]
|
||||||
}
|
}
|
||||||
|
|
||||||
[node name="MainMenu" type="CanvasLayer"]
|
[node name="MainMenu" type="CanvasLayer"]
|
||||||
@ -38,9 +38,9 @@ anchor_top = 0.766667
|
|||||||
anchor_right = 0.296875
|
anchor_right = 0.296875
|
||||||
anchor_bottom = 0.766667
|
anchor_bottom = 0.766667
|
||||||
margin_left = -93.0
|
margin_left = -93.0
|
||||||
margin_top = 15.9999
|
margin_top = 23.9999
|
||||||
margin_right = 226.0
|
margin_right = 226.0
|
||||||
margin_bottom = 37.9999
|
margin_bottom = 45.9999
|
||||||
size_flags_horizontal = 4
|
size_flags_horizontal = 4
|
||||||
size_flags_vertical = 2
|
size_flags_vertical = 2
|
||||||
size_flags_stretch_ratio = 0.6
|
size_flags_stretch_ratio = 0.6
|
||||||
@ -78,15 +78,15 @@ __meta__ = {
|
|||||||
|
|
||||||
[node name="RichTextLabel" type="RichTextLabel" parent="."]
|
[node name="RichTextLabel" type="RichTextLabel" parent="."]
|
||||||
margin_left = 322.0
|
margin_left = 322.0
|
||||||
margin_top = 188.0
|
margin_top = 190.0
|
||||||
margin_right = 1826.0
|
margin_right = 2051.0
|
||||||
margin_bottom = 210.0
|
margin_bottom = 203.0
|
||||||
rect_clip_content = false
|
rect_clip_content = false
|
||||||
custom_fonts/normal_font = ExtResource( 4 )
|
custom_fonts/normal_font = ExtResource( 4 )
|
||||||
bbcode_enabled = true
|
bbcode_enabled = true
|
||||||
bbcode_text = "[wave amp=20 freq=5]Shirogami's Maze by Cidoku - Character and music by me - Game made in Godot using the 2D platformer demo by the Godot Engine team (I can't even code) - Tileset by rubberduck and bart[/wave]"
|
bbcode_text = "[wave amp=20 freq=5]Shirogami's Maze by Cidoku - Character (Shirogami) and music (Protector) by me - Game made in Godot using the 2D platformer demo by the Godot Engine team (MIT license) - Tileset by rubberduck and bart[/wave]"
|
||||||
meta_underlined = false
|
meta_underlined = false
|
||||||
text = "Shirogami's Maze by Cidoku - Character and music by me - Game made in Godot using the 2D platformer demo by the Godot Engine team (I can't even code) - Tileset by rubberduck and bart"
|
text = "Shirogami's Maze by Cidoku - Character (Shirogami) and music (Protector) by me - Game made in Godot using the 2D platformer demo by the Godot Engine team (MIT license) - Tileset by rubberduck and bart"
|
||||||
__meta__ = {
|
__meta__ = {
|
||||||
"_edit_use_anchors_": false
|
"_edit_use_anchors_": false
|
||||||
}
|
}
|
||||||
@ -102,7 +102,7 @@ margin_right = 320.0
|
|||||||
margin_bottom = 240.0
|
margin_bottom = 240.0
|
||||||
rect_pivot_offset = Vector2( 42, 4 )
|
rect_pivot_offset = Vector2( 42, 4 )
|
||||||
custom_fonts/font = ExtResource( 4 )
|
custom_fonts/font = ExtResource( 4 )
|
||||||
text = "V1.1-2020"
|
text = "V1.2"
|
||||||
align = 2
|
align = 2
|
||||||
uppercase = true
|
uppercase = true
|
||||||
__meta__ = {
|
__meta__ = {
|
||||||
|
@ -12,6 +12,6 @@ onready var animation_player = $AnimationPlayer
|
|||||||
# collisions and frees it from memory, saving us from writing more complex code.
|
# collisions and frees it from memory, saving us from writing more complex code.
|
||||||
# Click the AnimationPlayer node to see the animation timeline.
|
# Click the AnimationPlayer node to see the animation timeline.
|
||||||
func _on_body_entered(_body):
|
func _on_body_entered(_body):
|
||||||
global.show_message("You found a secret spot!")
|
|
||||||
global.secrets_found += 1
|
global.secrets_found += 1
|
||||||
|
global.show_message("You found a secret spot! (" + global.secrets_found as String + "/" + get_parent().get_parent().SECRETS as String + ")")
|
||||||
animation_player.play("picked")
|
animation_player.play("picked")
|
||||||
|
@ -54,9 +54,9 @@ tracks/0/keys = {
|
|||||||
radius = 9.41741
|
radius = 9.41741
|
||||||
|
|
||||||
[node name="Coin" type="Area2D"]
|
[node name="Coin" type="Area2D"]
|
||||||
|
collision_layer = 0
|
||||||
monitoring = false
|
monitoring = false
|
||||||
monitorable = false
|
monitorable = false
|
||||||
collision_layer = 0
|
|
||||||
script = ExtResource( 4 )
|
script = ExtResource( 4 )
|
||||||
|
|
||||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||||
@ -67,4 +67,5 @@ anims/spinning = SubResource( 2 )
|
|||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||||
shape = SubResource( 3 )
|
shape = SubResource( 3 )
|
||||||
|
|
||||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
||||||
|
@ -10,8 +10,10 @@ var score = 0
|
|||||||
var secrets_found = 0
|
var secrets_found = 0
|
||||||
|
|
||||||
var arcade_mode = false
|
var arcade_mode = false
|
||||||
var level_list = ["Googolplexian","Level"]
|
var level_list = ["Googolplexian"]
|
||||||
var level_names = ["Googolplexian","Test Level"]
|
var level_names = ["Googolplexian"]
|
||||||
|
#var level_list = ["Googolplexian","Level"]
|
||||||
|
#var level_names = ["Googolplexian","Test Level"]
|
||||||
var current_level = 0
|
var current_level = 0
|
||||||
|
|
||||||
onready var game_root = get_node("/root/Game")
|
onready var game_root = get_node("/root/Game")
|
||||||
|
Loading…
Reference in New Issue
Block a user