Technically a game

This commit is contained in:
2020-05-16 20:35:08 -04:00
parent bea02afbc5
commit 8b93f60aa0
30 changed files with 390 additions and 6 deletions

View File

@ -1,9 +1,12 @@
[gd_scene load_steps=25 format=2]
[gd_scene load_steps=28 format=2]
[ext_resource path="res://Assets/Materials/SmoothScaling.tres" type="Material" id=1]
[ext_resource path="res://Assets/Art/Characters/player_parts.png" type="Texture" id=2]
[ext_resource path="res://Assets/Art/basic_light.png" type="Texture" id=3]
[ext_resource path="res://Scripts/Entities/Player.gd" type="Script" id=4]
[ext_resource path="res://Assets/Art/flashlight_map.png" type="Texture" id=5]
[ext_resource path="res://Assets/Art/Objects/flashlight.png" type="Texture" id=6]
[ext_resource path="res://Scripts/Entities/Flashlight.gd" type="Script" id=7]
[sub_resource type="AtlasTexture" id=1]
flags = 8
@ -766,6 +769,31 @@ __meta__ = {
"_edit_bone_": true
}
[node name="flashlight" type="Node2D" parent="Torso/RightArm/RightForearm/LeftHand/Node2D"]
visible = false
rotation = -0.0242677
script = ExtResource( 7 )
__meta__ = {
"_edit_group_": true
}
[node name="flashlight" type="Sprite" parent="Torso/RightArm/RightForearm/LeftHand/Node2D/flashlight"]
z_index = 10
texture = ExtResource( 6 )
[node name="Light2D" type="Light2D" parent="Torso/RightArm/RightForearm/LeftHand/Node2D/flashlight"]
enabled = false
texture = ExtResource( 5 )
offset = Vector2( 46, 0 )
texture_scale = 0.35
shadow_enabled = true
shadow_gradient_length = 0.1
[node name="Glow" type="Light2D" parent="Torso/RightArm/RightForearm/LeftHand/Node2D/flashlight"]
enabled = false
texture = ExtResource( 3 )
energy = 0.5
[node name="Hips" type="Sprite" parent="Torso"]
material = ExtResource( 1 )
position = Vector2( 0, 2.75 )
@ -871,6 +899,7 @@ anims/RunLeft = SubResource( 18 )
anims/RunRight = SubResource( 19 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
visible = false
shape = SubResource( 20 )
[node name="Light2D" type="Light2D" parent="."]