work on meat creek

This commit is contained in:
Spencer Killen 2022-12-17 11:21:28 -07:00
parent d9e466b9ac
commit fd50b67fa8
Signed by: sjkillen
GPG Key ID: F307025B65C860BA
18 changed files with 1177 additions and 9 deletions

BIN
blends/levels/creek_platform.blend (Stored with Git LFS) Normal file

Binary file not shown.

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

Binary file not shown.

View File

@ -0,0 +1,3 @@
source_md5="dc558dbf7581e287a28daca6be3a1cca"
dest_md5="c542e847721acd50c307244492ab8175"

View File

@ -0,0 +1,3 @@
source_md5="be51fcce7a3ef669d2aa284c90a55742"
dest_md5="7e26941b33accdc9b296e0c13c968d27"

View File

@ -0,0 +1,4 @@
extends Spatial
func _ready():
rotate_y(rand_range(0, 2 * PI))

BIN
godot/assets/meat_creek/creek_platform.glb (Stored with Git LFS) Normal file

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

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

Binary file not shown.

View File

@ -2,12 +2,12 @@
importer="scene" importer="scene"
type="PackedScene" type="PackedScene"
path="res://.import/side_tunnel_1.glb-7c8d7e403c2cf7000741816b1fb6a685.scn" path="res://.import/side_tunnel_1.glb-eb4d08fda762bfcbbbc4470dc5b21adb.scn"
[deps] [deps]
source_file="res://assets/temp/side_tunnel_1.glb" source_file="res://assets/meat_creek/side_tunnel_1.glb"
dest_files=[ "res://.import/side_tunnel_1.glb-7c8d7e403c2cf7000741816b1fb6a685.scn" ] dest_files=[ "res://.import/side_tunnel_1.glb-eb4d08fda762bfcbbbc4470dc5b21adb.scn" ]
[params] [params]

File diff suppressed because one or more lines are too long

View File

@ -118,6 +118,5 @@ func decrease_velocity_factor(by: Vector3):
func _physics_process(delta): func _physics_process(delta):
process_velocity(delta) process_velocity(delta)
velocity = move_and_slide(velocity, Vector3.UP) velocity = move_and_slide(velocity, Vector3.UP, true, 4, 0.785398)
process_falling() process_falling()

View File

@ -2,7 +2,7 @@ extends Node
onready var global_event_bus = get_node("/root/GlobalEventBus") onready var global_event_bus = get_node("/root/GlobalEventBus")
var sink_counter = 0 var sink_counter = 0
export var SINK_BLOCK_SLOWDOWN_AMOUNT = Vector3(0.7, 0.01, 0.7) export var SINK_BLOCK_SLOWDOWN_AMOUNT = Vector3(0.7, 0.1, 0.7)
func _ready(): func _ready():
global_event_bus.connect("player_entered_meat_sink", self, "on_player_enter_meat_sink") global_event_bus.connect("player_entered_meat_sink", self, "on_player_enter_meat_sink")