more tweaks to leaderboard, also changed how gun points during sway

This commit is contained in:
derek
2025-04-09 15:38:14 -05:00
parent 2403fe0f33
commit 92437ea398
11 changed files with 64 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=29 format=3 uid="uid://otkecr0hcyon"]
[gd_scene load_steps=31 format=3 uid="uid://otkecr0hcyon"]
[ext_resource type="PackedScene" uid="uid://bj1y0fbjtul4a" path="res://post_processing.tscn" id="1_48lr2"]
[ext_resource type="PackedScene" uid="uid://drwae3loscbw7" path="res://assets/player.tscn" id="1_ibypk"]
@@ -20,6 +20,8 @@
[ext_resource type="Terrain3DAssets" uid="uid://dal3jhw6241qg" path="res://demo/data/assets.tres" id="19_wqead"]
[ext_resource type="PackedScene" uid="uid://b6d8oy7iuad4a" path="res://cloud1.tscn" id="20_wqead"]
[ext_resource type="Script" uid="uid://1q8lyvac5gft" path="res://scripts/cloudSpawner.gd" id="21_mlcq0"]
[ext_resource type="PackedScene" uid="uid://bvjrsc86n2ak0" path="res://assets/deposit_money.tscn" id="21_v6g1i"]
[ext_resource type="PackedScene" uid="uid://bessq6hl7qsh8" path="res://assets/stats.tscn" id="22_v6g1i"]
[sub_resource type="Gradient" id="Gradient_vr1m7"]
offsets = PackedFloat32Array(0.2, 1)
@@ -426,3 +428,9 @@ light_color = Color(1, 0.885, 0.77, 1)
light_energy = 15.0
shadow_enabled = true
spot_angle = 50.83
[node name="DEPOSIT MONEY" parent="." instance=ExtResource("21_v6g1i")]
transform = Transform3D(-0.993502, 0, -0.11381, 0, 1, 0, 0.11381, 0, -0.993502, 22.3872, 2.28075, -1.67325)
[node name="Stats" parent="." instance=ExtResource("22_v6g1i")]
transform = Transform3D(-0.992703, 0, -0.120587, 0, 1, 0, 0.120587, 0, -0.992703, 18.3029, 3.10808, -2.49889)

View File

@@ -1,4 +1,4 @@
[gd_resource type="VisualShader" load_steps=31 format=3 uid="uid://dtleyj0ot0g1n"]
[gd_resource type="VisualShader" load_steps=31 format=3 uid="uid://moixdam5rxx7"]
[sub_resource type="VisualShaderNodeFresnel" id="VisualShaderNodeFresnel_jqdis"]
default_input_values = [2, false, 3, 1.5]

View File

@@ -222,6 +222,9 @@ target_position = Vector3(0, 0, -200)
collision_mask = 105
collide_with_areas = true
[node name="GunLookTarget" type="Marker3D" parent="Head/Recoil/Camera3D/BulletRay"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.265447, 0, -4.48192)
[node name="InteractRay" type="RayCast3D" parent="Head/Recoil/Camera3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.00322104, -0.0232438)
target_position = Vector3(0, 0, -2.5)

View File

@@ -12,8 +12,8 @@ gradient = SubResource("Gradient_idjmm")
width = 24
[sub_resource type="Curve" id="Curve_idjmm"]
_limits = [0.0, 2.0, 0.0, 24.0]
_data = [Vector2(5, 0), 0.0, 0.66, 0, 0, Vector2(12, 2), 0.0, 0.0, 0, 0, Vector2(20, 0), -0.66, 0.0, 0, 0]
_limits = [0.0, 1.0, 0.0, 24.0]
_data = [Vector2(5, 0), 0.0, 0.44, 0, 0, Vector2(12, 1), 0.0, 0.0, 0, 0, Vector2(20, 0), -0.37, 0.0, 0, 0]
point_count = 3
[sub_resource type="PhysicalSkyMaterial" id="PhysicalSkyMaterial_xp6wm"]