Skip to content

Commit

Permalink
Add Darkness game files
Browse files Browse the repository at this point in the history
  • Loading branch information
CraigChilds94 committed Jun 22, 2020
0 parents commit a2c0fa2
Show file tree
Hide file tree
Showing 96 changed files with 1,617 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
!.keep
builds/
3 changes: 3 additions & 0 deletions .import/background.png-0cfaafa94fbfb5267bc500b34e5eeb6d.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="1b6d799a560ab997dbf2184704191f94"
dest_md5="c9bab11adcc7589f5961d003ebf0836f"

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="7aa35366fcf35d403db67bf870a5d252"
dest_md5="407c4889726c28192d81f6129ccaa7a9"

Binary file not shown.
3 changes: 3 additions & 0 deletions .import/game_over.wav-93bb809a2bb5c7d8aee9c599f7f43ae9.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="e6e8e28d0c8becd72e63e6c0f18c86e3"
dest_md5="a897a125268f30a51aae918e61dfeb3b"

Binary file not shown.
3 changes: 3 additions & 0 deletions .import/icon.png-487276ed1e3a0c39cad0279d744ee560.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="47313fa4c47a9963fddd764e1ec6e4a8"
dest_md5="2ded9e7f9060e2b530aab678b135fc5b"

Binary file not shown.
3 changes: 3 additions & 0 deletions .import/icon.png-82ea131e750a89467e27b5ff9b11ce77.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="47313fa4c47a9963fddd764e1ec6e4a8"
dest_md5="2ded9e7f9060e2b530aab678b135fc5b"

Binary file not shown.
3 changes: 3 additions & 0 deletions .import/light.png-191c2812e8968dabd6c4fd26c78b4e95.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="4ce3697971b0ad06505ff02e5841977a"
dest_md5="6b84ff661c34206eb345b7eec9147d32"

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="a30f334d8149c49c442c1dfabf37c56b"
dest_md5="dd258210a105ab437479b8576f323062"

Binary file not shown.
3 changes: 3 additions & 0 deletions .import/mask.jpeg-ffc43a45384cc31666764b691126afac.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="cfca064d51aa65d08f0db0889d9d974f"
dest_md5="3e0a8b328beea7ae49b771cb3bbf928a"

Binary file not shown.
3 changes: 3 additions & 0 deletions .import/mask.png-5403fce0f0c69d7184a2784f953221c8.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="428e69ab8d0f9d5aec91bc0d1438b824"
dest_md5="82d15a53f9b41b7cfcc55c38f31012a3"

Binary file not shown.
3 changes: 3 additions & 0 deletions .import/mask_2.png-8775e7647591bcc3e95ad770c2cc19ee.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="3a2a03dbcc5d40013251d080abce094f"
dest_md5="748c69a2a2cd03ae9b70133e0d1eddfe"

Binary file not shown.
3 changes: 3 additions & 0 deletions .import/mask_3.png-d271110f934ff9f60b01a309578f63c6.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="a2fef59f711f5a5a73942fa794758a57"
dest_md5="d1d9d73c9b742796a7bc9d479aa0b549"

Binary file not shown.
3 changes: 3 additions & 0 deletions .import/menu_button.png-168e6d244a08f7c63cc4bc7813479e7b.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="bcaa448f52d599f72cd9214234d62965"
dest_md5="0c4043bd16b58b1c71721666715a832f"

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="d031aea32dbe27609bc3649ae2360db4"
dest_md5="d08cc762c7bd2981f56289daba6e11eb"

Binary file not shown.
3 changes: 3 additions & 0 deletions .import/menu_music.wav-7250ec670734649256eaeda32cc24bdf.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="f4d093214d6e60cf5c3a3e7c82270a63"
dest_md5="bd6d7c44a463130cdbf13ad459c67ca3"

Binary file not shown.
3 changes: 3 additions & 0 deletions .import/new_level.wav-d9e100c0268851fd8d918a0090861929.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="2ee9bec9772121a4f202989581a2e1f5"
dest_md5="4168d68d03c1ca0bba2fe0407a52910b"

Binary file not shown.
3 changes: 3 additions & 0 deletions .import/play_button.png-5a8f3e80906deb5da0a797de7a02c9ef.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="19ce384f046a0ea12795bd364333fe70"
dest_md5="744e964bb1fd7bb0b4bc75aee3e584f8"

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="fb3e4f0f5043a3744c2f55e19aeec97f"
dest_md5="31df72f525d015cb0df599bedf5efd68"

Binary file not shown.
3 changes: 3 additions & 0 deletions .import/player.png-f534b8a02ffb80eefc72936296201445.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="251f392b9f5ee0cdd4b7865acdc0ee60"
dest_md5="d5e457787cdb34d2b78af84ca5204bc6"

Binary file not shown.
3 changes: 3 additions & 0 deletions .import/title.png-815acd504df53b4e1e2d1ca96e6e2235.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_md5="75bca90b3a09f6d277a3685e268cd254"
dest_md5="109164ae9e81cf5f436e3b2e88ba8179"

Binary file not shown.
131 changes: 131 additions & 0 deletions GameOver.tscn
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
[gd_scene load_steps=12 format=2]

[ext_resource path="res://sprites/background.png" type="Texture" id=1]
[ext_resource path="res://sprites/title.png" type="Texture" id=2]
[ext_resource path="res://fonts/vt323/VT323-Regular.ttf" type="DynamicFontData" id=3]
[ext_resource path="res://sprites/menu_button.png" type="Texture" id=4]
[ext_resource path="res://sprites/menu_button_active.png" type="Texture" id=5]
[ext_resource path="res://scripts/GameOver.gd" type="Script" id=6]
[ext_resource path="res://audio/game_over.wav" type="AudioStream" id=7]

[sub_resource type="CanvasItemMaterial" id=1]
blend_mode = 2

[sub_resource type="CanvasItemMaterial" id=2]
blend_mode = 1

[sub_resource type="Environment" id=3]
background_mode = 4
background_energy = 7.74
background_canvas_max_layer = 1
ambient_light_color = Color( 0.0666667, 0.0588235, 0.0588235, 1 )
ambient_light_energy = 9.67
ambient_light_sky_contribution = 0.0
fog_color = Color( 0.00784314, 0.00784314, 0.00784314, 1 )
fog_sun_color = Color( 0.301961, 0.0196078, 0.580392, 1 )
tonemap_mode = 2
dof_blur_near_distance = 0.1
dof_blur_near_transition = 0.11
dof_blur_near_amount = 0.09
glow_enabled = true
glow_intensity = 1.56
glow_strength = 0.76
glow_bloom = 0.52
glow_blend_mode = 1
glow_hdr_threshold = 0.5
glow_hdr_scale = 0.33
glow_bicubic_upscale = true

[sub_resource type="DynamicFont" id=4]
size = 36
extra_spacing_top = 4
extra_spacing_bottom = 1
extra_spacing_char = 2
extra_spacing_space = -2
font_data = ExtResource( 3 )

[node name="GameOver" type="Node2D"]
script = ExtResource( 6 )

[node name="Background" type="Sprite" parent="."]
material = SubResource( 1 )
position = Vector2( 493.48, 325.871 )
scale = Vector2( 133.304, 80.4257 )
texture = ExtResource( 1 )
__meta__ = {
"_edit_group_": true
}

[node name="Title" type="Sprite" parent="."]
material = SubResource( 2 )
position = Vector2( 512, 96 )
scale = Vector2( 0.127358, 0.127358 )
texture = ExtResource( 2 )

[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource( 3 )

[node name="Score" type="Label" parent="."]
margin_left = 284.0
margin_top = 252.0
margin_right = 741.0
margin_bottom = 324.0
rect_pivot_offset = Vector2( 300, 21 )
custom_fonts/font = SubResource( 4 )
text = "Score: 2350"
align = 1
uppercase = true
__meta__ = {
"_edit_use_anchors_": false
}

[node name="GameOver" type="Label" parent="."]
margin_left = 284.0
margin_top = 180.0
margin_right = 741.0
margin_bottom = 252.0
rect_pivot_offset = Vector2( 300, 21 )
custom_fonts/font = SubResource( 4 )
custom_colors/font_color = Color( 0.713726, 0.266667, 0.317647, 1 )
text = "Game Over"
align = 1
uppercase = true
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Level" type="Label" parent="."]
margin_left = 284.0
margin_top = 291.0
margin_right = 741.0
margin_bottom = 363.0
rect_pivot_offset = Vector2( 300, 21 )
custom_fonts/font = SubResource( 4 )
text = "Level: 2"
align = 1
uppercase = true
__meta__ = {
"_edit_use_anchors_": false
}

[node name="MenuButton" type="TextureButton" parent="."]
margin_left = 416.0
margin_top = 423.0
margin_right = 800.0
margin_bottom = 537.0
rect_scale = Vector2( 0.5, 0.5 )
action_mode = 0
texture_normal = ExtResource( 4 )
texture_pressed = ExtResource( 5 )
texture_hover = ExtResource( 5 )
texture_focused = ExtResource( 5 )
stretch_mode = 4
__meta__ = {
"_edit_use_anchors_": false
}

[node name="GameMusic" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource( 7 )
autoplay = true
[connection signal="pressed" from="MenuButton" to="." method="_on_MenuButton_pressed"]
[connection signal="finished" from="GameMusic" to="." method="_on_GameMusic_finished"]
Loading

0 comments on commit a2c0fa2

Please sign in to comment.