CUTTTTTAAAAA

This commit is contained in:
2023-09-03 23:10:58 -07:00
parent 1ae76971f7
commit 6ff28bce60
16 changed files with 123 additions and 49 deletions

View File

@@ -1,15 +1,18 @@
[gd_scene load_steps=5 format=3 uid="uid://iempdafdn6ct"]
[gd_scene load_steps=6 format=3 uid="uid://iempdafdn6ct"]
[ext_resource type="Script" path="res://Scripts/Player1.cs" id="1_mn5ui"]
[ext_resource type="PackedScene" uid="uid://dyhimd6qec8fu" path="res://Scenes/Characters/ScorpioAnimated.tscn" id="2_pahgr"]
[ext_resource type="PackedScene" uid="uid://cxnek5wgpxbft" path="res://Scenes/Weapons/CutterShot.tscn" id="2_uayjr"]
[ext_resource type="PackedScene" uid="uid://cwt4rum7tvyvb" path="res://Scenes/Weapons/CutterShotAltFire.tscn" id="3_tw078"]
[sub_resource type="BoxShape3D" id="BoxShape3D_f8aaj"]
size = Vector3(0.822782, 0.527059, 0.80108)
[node name="PlayerScorpio" type="CharacterBody3D" groups=["Player"]]
script = ExtResource("1_mn5ui")
_speed = 3.0
_fireProjectile = ExtResource("2_uayjr")
_altFireProjectile = ExtResource("3_tw078")
[node name="Pivot" type="Node3D" parent="."]

View File

@@ -6,7 +6,7 @@
[ext_resource type="PackedScene" uid="uid://dq1gtd55p04do" path="res://Scenes/StageGUI.tscn" id="5_gsh7q"]
[ext_resource type="Script" path="res://Scripts/SpawnPoint.cs" id="7_4n1rc"]
[node name="GameManager" type="Node"]
[node name="GameManager" type="Node3D"]
script = ExtResource("1_ya2kt")
_p1Characters = [ExtResource("2_am26u"), ExtResource("3_e5mhu")]
_p2Characters = [ExtResource("2_am26u"), ExtResource("3_e5mhu")]

View File

@@ -2,5 +2,6 @@
[ext_resource type="Script" path="res://Scripts/HealthPoints.cs" id="1_ocdf1"]
[node name="HP Component" type="Node"]
[node name="HP Component" type="Node2D"]
script = ExtResource("1_ocdf1")
MaximumHP = null

View File

@@ -13,7 +13,7 @@
[ext_resource type="PackedScene" uid="uid://0hdnmilwrsq6" path="res://Scenes/Levels/Level9.tscn" id="10_imcyj"]
[ext_resource type="PackedScene" uid="uid://cxj6yeddshy16" path="res://Scenes/GameManager.tscn" id="11_wiyvp"]
[node name="Main" type="Node"]
[node name="Main" type="Node3D"]
script = ExtResource("1_g4hua")
Levels = Array[PackedScene]([ExtResource("2_cqnvi"), ExtResource("3_2qwg5"), ExtResource("4_8bgmu"), ExtResource("5_6rnhl"), ExtResource("6_krvi4"), ExtResource("7_or04k"), ExtResource("8_407wt"), ExtResource("9_q0hjs"), ExtResource("10_imcyj")])
GameManager = ExtResource("11_wiyvp")

View File

@@ -15,6 +15,7 @@ size = Vector3(0.470892, 0.604331, 0.423598)
collision_layer = 0
collision_mask = 0
script = ExtResource("1_50och")
_speed = 3.0
[node name="CollisionShape3D" type="CollisionShape3D" parent="CharacterBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0840461, 0.475385, 0.143401)
@@ -23,7 +24,7 @@ shape = SubResource("BoxShape3D_1nq5h")
[node name="meleeenemy - Updated" parent="CharacterBody3D" instance=ExtResource("1_0pxgq")]
[node name="Area3D" type="Area3D" parent="CharacterBody3D"]
collision_layer = 0
collision_layer = 4096
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="CharacterBody3D/Area3D"]

View File

@@ -2,7 +2,7 @@
[ext_resource type="ArrayMesh" uid="uid://d3u564wle888o" path="res://Models/TestModels/Ness/nesspoly.obj" id="1_jhe4l"]
[ext_resource type="Script" path="res://Scripts/TestEnemy.cs" id="1_m03um"]
[ext_resource type="PackedScene" uid="uid://rlxnnw4yay7e" path="res://Scenes/EnemyBullet.tscn" id="2_h68e2"]
[ext_resource type="PackedScene" uid="uid://rlxnnw4yay7e" path="res://Scenes/Weapons/EnemyBullet.tscn" id="2_h68e2"]
[ext_resource type="Script" path="res://Scripts/FireAtPlayer.cs" id="3_dhmfs"]
[sub_resource type="Curve3D" id="Curve3D_dgatw"]

View File

@@ -1,11 +1,9 @@
[gd_scene load_steps=14 format=3 uid="uid://dy3d4e6qegyjg"]
[gd_scene load_steps=12 format=3 uid="uid://dy3d4e6qegyjg"]
[ext_resource type="Script" path="res://Scripts/TestLevel.cs" id="1_blhn0"]
[ext_resource type="PackedScene" uid="uid://b38hcomu4tpm5" path="res://Scenes/Characters/PiscesWitch.tscn" id="1_fwf6c"]
[ext_resource type="PackedScene" uid="uid://bckd04543occ5" path="res://Levels/levelTEST.gltf" id="2_afl3s"]
[ext_resource type="PackedScene" uid="uid://dkjdt7uq3a4j3" path="res://Scenes/TestEnemy.tscn" id="3_ds7vi"]
[ext_resource type="PackedScene" uid="uid://si4byubqnng4" path="res://Scenes/TestBullet.tscn" id="3_lmb02"]
[ext_resource type="PackedScene" uid="uid://bq40xbqibrk1y" path="res://Scenes/ShotgunBullet.tscn" id="4_t522c"]
[sub_resource type="BoxShape3D" id="BoxShape3D_iokol"]
size = Vector3(77.2254, 10, 63.5656)
@@ -44,11 +42,9 @@ size = 45.0
[node name="DebugCamera" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.821149, 0.570714, 0, -0.570714, 0.821149, -0.36148, 22.6449, 10.8421)
[node name="Fish Witch" parent="." groups=["Player"] instance=ExtResource("1_fwf6c")]
[node name="Fish Witch" parent="." instance=ExtResource("1_fwf6c")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 4.64605, -18.4987)
_speed = 10.0
_fireProjectile = ExtResource("3_lmb02")
_altFireProjectile = ExtResource("4_t522c")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.931845, -0.0850834, 0.35274, -0.0909281, 0.995857, -1.47234e-08, -0.351279, -0.032074, -0.935721, -3.58319, 8.01249, 0.163277)

View File

@@ -5,37 +5,41 @@
[sub_resource type="Curve3D" id="Curve3D_5hmi4"]
_data = {
"points": PackedVector3Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8.263, 0, -5.291, 0, 0, 0, 0, 0, 0, 12.9507, -0.0301971, -16.7842, 0, 0, 0, 0, 0, 0, 10.6218, 0.010376, -28.3706, 0, 0, 0, 0, 0, 0, -56.3763, 0.0437164, -72.8457),
"tilts": PackedFloat32Array(0, 0, 0, 0, 0)
"points": PackedVector3Array(0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 2.502, 1, -3.145, 0, 0, 0, 0, 0, 0, 2.033, 1, -6, 0, 0, 0, 0, 0, 0, -5, 1, -8),
"tilts": PackedFloat32Array(0, 0, 0, 0)
}
point_count = 5
point_count = 4
[sub_resource type="CylinderShape3D" id="CylinderShape3D_mgm2i"]
radius = 0.949669
height = 8.481
radius = 0.3
[node name="CutterShot" type="Node3D"]
[node name="CutterShot" type="Node3D" node_paths=PackedStringArray("_pathFollow", "_sprite")]
script = ExtResource("1_inha4")
_pathFollow = NodePath("Path3D/PathFollow3D")
_sprite = NodePath("Path3D/PathFollow3D/Area3D/Sprite3D")
Cooldown = 0.3
_projectileSpeed = 0.1
[node name="Path3D" type="Path3D" parent="."]
top_level = true
curve = SubResource("Curve3D_5hmi4")
[node name="PathFollow3D" type="PathFollow3D" parent="Path3D"]
transform = Transform3D(0.539247, 0, -0.842147, 0, 1, 0, 0.842147, 0, 0.539247, 0, 0, 0)
transform = Transform3D(0.782564, 0, -0.622568, 0, 1, 0, 0.622568, 0, 0.782564, 0, 1, 0)
loop = false
tilt_enabled = false
[node name="RigidBody3D" type="RigidBody3D" parent="Path3D/PathFollow3D"]
transform = Transform3D(0.539247, 0, 0.842147, 0, 1, 0, -0.842147, 0, 0.539247, 0, 0, 0)
collision_layer = 34
collision_mask = 34
gravity_scale = 0.0
continuous_cd = true
max_contacts_reported = 1000
contact_monitor = true
can_sleep = false
script = ExtResource("1_inha4")
[node name="Area3D" type="Area3D" parent="Path3D/PathFollow3D"]
collision_layer = 2
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Path3D/PathFollow3D/RigidBody3D"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Path3D/PathFollow3D/Area3D"]
transform = Transform3D(0.999999, 0, 8.9407e-08, 0, 1, 0, -8.9407e-08, 0, 0.999999, 0, 0, 0)
shape = SubResource("CylinderShape3D_mgm2i")
[node name="Sprite3D" type="Sprite3D" parent="Path3D/PathFollow3D/RigidBody3D"]
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
[node name="Sprite3D" type="Sprite3D" parent="Path3D/PathFollow3D/Area3D"]
transform = Transform3D(0.156513, 0, 0.124514, 0, 0.2, 0, -0.124514, 0, 0.156513, 0, 0, 0)
axis = 1
double_sided = false
texture = ExtResource("1_v8p6h")

View File

@@ -0,0 +1,45 @@
[gd_scene load_steps=5 format=3 uid="uid://cwt4rum7tvyvb"]
[ext_resource type="Script" path="res://Scripts/CutterShot.cs" id="1_7xtlh"]
[ext_resource type="Texture2D" uid="uid://brjwf2sf3s170" path="res://Textures/Projectiles/cutter.png" id="2_a0jul"]
[sub_resource type="Curve3D" id="Curve3D_5hmi4"]
_data = {
"points": PackedVector3Array(0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, -2.502, 1, -3.145, 0, 0, 0, 0, 0, 0, -2.033, 1, -6, 0, 0, 0, 0, 0, 0, 5, 1, -8),
"tilts": PackedFloat32Array(0, 0, 0, 0)
}
point_count = 4
[sub_resource type="CylinderShape3D" id="CylinderShape3D_mgm2i"]
height = 8.481
radius = 0.3
[node name="CutterShot" type="Node3D" node_paths=PackedStringArray("_pathFollow", "_sprite")]
script = ExtResource("1_7xtlh")
_pathFollow = NodePath("Path3D/PathFollow3D")
_sprite = NodePath("Path3D/PathFollow3D/Area3D/Sprite3D")
Cooldown = 0.3
_projectileSpeed = 0.1
[node name="Path3D" type="Path3D" parent="."]
top_level = true
curve = SubResource("Curve3D_5hmi4")
[node name="PathFollow3D" type="PathFollow3D" parent="Path3D"]
transform = Transform3D(0.782564, 0, 0.622568, 0, 1, 0, -0.622568, 0, 0.782564, 0, 1, 0)
loop = false
tilt_enabled = false
[node name="Area3D" type="Area3D" parent="Path3D/PathFollow3D"]
collision_layer = 2
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Path3D/PathFollow3D/Area3D"]
transform = Transform3D(0.999999, 0, 8.9407e-08, 0, 1, 0, -8.9407e-08, 0, 0.999999, 0, 0, 0)
shape = SubResource("CylinderShape3D_mgm2i")
[node name="Sprite3D" type="Sprite3D" parent="Path3D/PathFollow3D/Area3D"]
transform = Transform3D(0.2, 0, 0, 0, 0.2, 0, 0, 0, 0.2, 0, 0, 0)
axis = 1
double_sided = false
texture = ExtResource("2_a0jul")

View File

@@ -15,6 +15,7 @@ radius = 0.440093
[node name="TestBullet" type="Node3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.538645, 0)
script = ExtResource("1_rv13r")
Cooldown = null
_projectileSpeed = 20.0
[node name="RigidBody3D" type="RigidBody3D" parent="."]

View File

@@ -14,8 +14,6 @@ material = SubResource("StandardMaterial3D_phgri")
[node name="SingleShot" type="Node3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.538645, 0)
script = ExtResource("1_f6dfa")
Cooldown = 0.5
_projectileSpeed = 15.0
[node name="RigidBody3D" type="RigidBody3D" parent="."]
collision_layer = 34