Merge pull request 'spencer' (#7) from spencer into master

Reviewed-on: #7
This commit is contained in:
Spencer Killen 2022-12-26 18:45:24 +00:00
commit dc5fbbcde0
11 changed files with 40 additions and 16 deletions

BIN
blends/levels/meat_creek_cage.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
blends/levels/side_tunnel_1.blend (Stored with Git LFS)

Binary file not shown.

View File

@ -1,3 +1,3 @@
source_md5="6929a25c3e27c26b9da92ac96646dd8d"
dest_md5="4e1398144e148a69735c5296354ea7f8"
source_md5="a4b045d4090a0a01a253a33da0505cb1"
dest_md5="aa0e8b90fb5b116e0726f81803c8a616"

Binary file not shown.

BIN
godot/assets/meat_creek/MeatCreekCage.material (Stored with Git LFS) Normal file

Binary file not shown.

BIN
godot/assets/meat_creek/creek_cage.glb (Stored with Git LFS)

Binary file not shown.

View File

@ -23,8 +23,8 @@ ambient_light_sky_contribution = 0.0
fog_enabled = true
fog_color = Color( 0.0117647, 0.0156863, 0.0156863, 1 )
fog_sun_color = Color( 0.639216, 0.541176, 0.345098, 1 )
fog_depth_begin = 15.0
fog_depth_end = 22.0
fog_depth_begin = 0.0
fog_depth_end = 73.5
fog_depth_curve = 0.933033
fog_transmit_enabled = true
fog_transmit_curve = 1.03526

BIN
godot/assets/models/Material_004.material (Stored with Git LFS)

Binary file not shown.

View File

@ -12,6 +12,7 @@ onready var player = util.player
func _ready():
is_screen_on = false
turn_screen_off()
fsm.start("WalkieTalkieStart")
func turn_screen_off():
var mat = $Animations/walkie_talkie/Body.get_active_material(1)

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=34 format=2]
[gd_scene load_steps=37 format=2]
[ext_resource path="res://assets/models/walkie_talkie/LCDScreen.material" type="Material" id=1]
[ext_resource path="res://assets/models/walkie_talkie/WalkieTalkieSpeaker.material" type="Material" id=2]
@ -46,6 +46,17 @@ tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = PoolRealArray( 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0.0416667, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0.125, 1, 0, 0.0313745, 0, 0, 0, 0, 1, 1, 1, 1, 0.166667, 1, 0, 0.0424367, 0, 0, 0, 0, 1, 1, 1, 1, 0.208333, 1, 0, 0.0498168, 0, 0, 0, 0, 1, 1, 1, 1, 0.25, 1, 0, 0.0529201, 0, 0, 0, 0, 1, 1, 1, 1, 0.291667, 1, 0, 0.0509806, 0, 0, 0, 0, 1, 1, 1, 1, 0.333333, 1, 0, 0.0429844, 0, 0, 0, 0, 1, 1, 1, 1, 0.375, 1, 0, 0.0275464, 0, 0, 0, 0, 1, 1, 1, 1, 0.416667, 1, 0, 0.00269568, 0, 0, 0, 0, 1, 1, 1, 1, 0.458333, 1, 0, -0.0345194, 0, 0, 0, 0, 1, 1, 1, 1, 0.5, 1, 0, -0.0888285, 0, 0, 0, 0, 1, 1, 1, 1, 0.541667, 1, 0, -0.168521, 0, 0, 0, 0, 1, 1, 1, 1, 0.583333, 1, 0, -0.289866, 0, 0, 0, 0, 1, 1, 1, 1, 0.625, 1, 0, -0.486, 0, 0, 0, 0, 1, 1, 1, 1, 0.666667, 1, 0, -0.754503, 0, 0, 0, 0, 1, 1, 1, 1, 0.708333, 1, 0, -0.921423, 0, 0, 0, 0, 1, 1, 1, 1, 0.75, 1, 0, -0.984901, 0, 0, 0, 0, 1, 1, 1, 1, 0.791667, 1, 0, -1, 0, 0, 0, 0, 1, 1, 1, 1 )
[sub_resource type="Animation" id=36]
resource_name = "WalkieTalkieStart"
length = 0.791667
tracks/0/type = "transform"
tracks/0/path = NodePath("Animations")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = PoolRealArray( 0, 1, 0, -1, 0, 0, 0, 0, 1, 1, 1, 1 )
[sub_resource type="Animation" id=4]
resource_name = "WalkieTalkieWalking"
length = 1.08333
@ -67,6 +78,9 @@ animation = "WalkieTalkieIdle"
[sub_resource type="AnimationNodeAnimation" id=26]
animation = "WalkieTalkieLeave"
[sub_resource type="AnimationNodeAnimation" id=37]
animation = "WalkieTalkieStart"
[sub_resource type="AnimationNodeAnimation" id=27]
animation = "WalkieTalkieWalking"
@ -92,6 +106,8 @@ xfade_time = 0.1
[sub_resource type="AnimationNodeStateMachineTransition" id=35]
xfade_time = 0.1
[sub_resource type="AnimationNodeStateMachineTransition" id=38]
[sub_resource type="AnimationNodeStateMachine" id=18]
states/WalkieTalkieEnter/node = SubResource( 24 )
states/WalkieTalkieEnter/position = Vector2( 184, 280 )
@ -99,9 +115,12 @@ states/WalkieTalkieIdle/node = SubResource( 25 )
states/WalkieTalkieIdle/position = Vector2( 380, 113 )
states/WalkieTalkieLeave/node = SubResource( 26 )
states/WalkieTalkieLeave/position = Vector2( 123, -28 )
states/WalkieTalkieStart/node = SubResource( 37 )
states/WalkieTalkieStart/position = Vector2( -74, 136.064 )
states/WalkieTalkieWalking/node = SubResource( 27 )
states/WalkieTalkieWalking/position = Vector2( 681, 113 )
transitions = [ "WalkieTalkieEnter", "WalkieTalkieIdle", SubResource( 28 ), "WalkieTalkieIdle", "WalkieTalkieWalking", SubResource( 29 ), "WalkieTalkieWalking", "WalkieTalkieIdle", SubResource( 30 ), "WalkieTalkieIdle", "WalkieTalkieLeave", SubResource( 32 ), "WalkieTalkieWalking", "WalkieTalkieLeave", SubResource( 33 ), "WalkieTalkieLeave", "WalkieTalkieEnter", SubResource( 34 ), "WalkieTalkieEnter", "WalkieTalkieLeave", SubResource( 35 ) ]
transitions = [ "WalkieTalkieEnter", "WalkieTalkieIdle", SubResource( 28 ), "WalkieTalkieIdle", "WalkieTalkieWalking", SubResource( 29 ), "WalkieTalkieWalking", "WalkieTalkieIdle", SubResource( 30 ), "WalkieTalkieIdle", "WalkieTalkieLeave", SubResource( 32 ), "WalkieTalkieWalking", "WalkieTalkieLeave", SubResource( 33 ), "WalkieTalkieLeave", "WalkieTalkieEnter", SubResource( 34 ), "WalkieTalkieEnter", "WalkieTalkieLeave", SubResource( 35 ), "WalkieTalkieStart", "WalkieTalkieEnter", SubResource( 38 ) ]
start_node = "WalkieTalkieStart"
graph_offset = Vector2( -167, -100.936 )
[sub_resource type="AnimationNodeStateMachinePlayback" id=19]
@ -205,13 +224,14 @@ surfaces/0 = {
script = ExtResource( 5 )
[node name="Animations" type="Spatial" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -7.3322e-05, 0 )
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="Animations"]
root_node = NodePath("../..")
anims/WalkieTalkieEnter = SubResource( 1 )
anims/WalkieTalkieIdle = SubResource( 2 )
anims/WalkieTalkieLeave = SubResource( 3 )
anims/WalkieTalkieStart = SubResource( 36 )
anims/WalkieTalkieWalking = SubResource( 4 )
[node name="AnimationTree" type="AnimationTree" parent="Animations"]