Beeg checkin

This commit is contained in:
2023-09-06 03:49:16 -07:00
parent f180d4cacd
commit f8cca640a6
320 changed files with 2751 additions and 26682 deletions

View File

@@ -0,0 +1,27 @@
using Godot;
public partial class CutterShot : Projectile
{
[Export]
private PathFollow3D _pathFollow;
[Export]
private Sprite3D _sprite;
public override void _Ready()
{
base._Ready();
_pathFollow = GetNode<PathFollow3D>("Path3D/PathFollow3D");
}
public override void _PhysicsProcess(double delta)
{
_pathFollow.Progress += 10f * (float)delta;
if (Mathf.IsEqualApprox(_pathFollow.ProgressRatio, 1.0f))
QueueFree();
}
public override void _Process(double delta)
{
_sprite.RotateY(25);
}
}

View File

@@ -0,0 +1,59 @@
[gd_scene load_steps=6 format=3 uid="uid://cxnek5wgpxbft"]
[ext_resource type="Script" path="res://Player/Scorpio/Attacks/CutterShot.cs" id="1_inha4"]
[ext_resource type="Texture2D" uid="uid://cdryxdasvun4r" path="res://Textures/Projectiles/Projectile_Scorpio.png" id="2_tqxh6"]
[ext_resource type="AudioStream" uid="uid://ce40y3hln3twm" path="res://Audio/SFX/grass cutter.wav" id="2_u4aoe"]
[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
[node name="CutterShot" type="Node3D" node_paths=PackedStringArray("_pathFollow", "_sprite")]
script = ExtResource("1_inha4")
_pathFollow = NodePath("Path3D/PathFollow3D")
_sprite = NodePath("Path3D/PathFollow3D/RigidBody3D/Sprite3D")
Cooldown = 0.3
_soundEffect = ExtResource("2_u4aoe")
_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="RigidBody3D" type="RigidBody3D" parent="Path3D/PathFollow3D"]
collision_layer = 2
collision_mask = 0
gravity_scale = 0.0
continuous_cd = true
max_contacts_reported = 100
contact_monitor = true
can_sleep = false
[node name="CollisionShape3D" type="CollisionShape3D" parent="Path3D/PathFollow3D/RigidBody3D"]
transform = Transform3D(0.999999, 0, 1.19209e-07, 0, 1, 0, -1.19209e-07, 0, 0.999999, 0, 0, 0)
shape = SubResource("CylinderShape3D_mgm2i")
[node name="Sprite3D" type="Sprite3D" parent="Path3D/PathFollow3D/RigidBody3D"]
transform = Transform3D(0.156513, 0, 0.124514, 0, 0.2, 0, -0.124514, 0, 0.156513, 0, 0, 0)
pixel_size = 0.03
axis = 1
double_sided = false
texture = ExtResource("2_tqxh6")
[node name="TTL" type="Timer" parent="."]
process_callback = 0
wait_time = 0.8
autostart = true
[connection signal="timeout" from="TTL" to="." method="OnTimeToLiveTimeout"]

View File

@@ -0,0 +1,59 @@
[gd_scene load_steps=6 format=3 uid="uid://cwt4rum7tvyvb"]
[ext_resource type="Script" path="res://Player/Scorpio/Attacks/CutterShot.cs" id="1_7xtlh"]
[ext_resource type="Texture2D" uid="uid://cdryxdasvun4r" path="res://Textures/Projectiles/Projectile_Scorpio.png" id="2_6mabu"]
[ext_resource type="AudioStream" uid="uid://ce40y3hln3twm" path="res://Audio/SFX/grass cutter.wav" id="2_qmvk7"]
[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
[node name="CutterShot" type="Node3D" node_paths=PackedStringArray("_pathFollow", "_sprite")]
script = ExtResource("1_7xtlh")
_pathFollow = NodePath("Path3D/PathFollow3D")
_sprite = NodePath("Path3D/PathFollow3D/RigidBody3D/CollisionShape3D/Sprite3D")
Cooldown = 0.3
_soundEffect = ExtResource("2_qmvk7")
_projectileSpeed = 3.0
[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="RigidBody3D" type="RigidBody3D" parent="Path3D/PathFollow3D"]
collision_layer = 2
collision_mask = 0
gravity_scale = 0.0
continuous_cd = true
max_contacts_reported = 100
contact_monitor = true
can_sleep = false
[node name="CollisionShape3D" type="CollisionShape3D" parent="Path3D/PathFollow3D/RigidBody3D"]
transform = Transform3D(0.999999, 0, 5.96046e-08, 0, 1, 0, -5.96046e-08, 0, 0.999999, 0, 0, 0)
shape = SubResource("CylinderShape3D_mgm2i")
[node name="Sprite3D" type="Sprite3D" parent="Path3D/PathFollow3D/RigidBody3D/CollisionShape3D"]
transform = Transform3D(0.156513, 0, 0.124514, 0, 0.2, 0, -0.124514, 0, 0.156513, 0, 0, 0)
pixel_size = 0.03
axis = 1
double_sided = false
texture = ExtResource("2_6mabu")
[node name="TTL" type="Timer" parent="."]
process_callback = 0
wait_time = 0.8
autostart = true
[connection signal="timeout" from="TTL" to="." method="OnTimeToLiveTimeout"]

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB

View File

@@ -0,0 +1,36 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ctdyuer3eshms"
path.s3tc="res://.godot/imported/scoprion_GameJam_Scorpion_texture.png-452a26e1c315e42f7ba0b80d28287654.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
generator_parameters={}
[deps]
source_file="res://Player/Scorpio/Models/scoprion_GameJam_Scorpion_texture.png"
dest_files=["res://.godot/imported/scoprion_GameJam_Scorpion_texture.png-452a26e1c315e42f7ba0b80d28287654.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -0,0 +1,38 @@
[gd_scene load_steps=7 format=3 uid="uid://iempdafdn6ct"]
[ext_resource type="Script" path="res://Player/Base/P1Controls.cs" id="1_o7l70"]
[ext_resource type="PackedScene" uid="uid://dyhimd6qec8fu" path="res://Player/Scorpio/ScorpioAnimated.tscn" id="2_pahgr"]
[ext_resource type="PackedScene" uid="uid://cxnek5wgpxbft" path="res://Player/Scorpio/Attacks/CutterShot.tscn" id="2_uayjr"]
[ext_resource type="PackedScene" uid="uid://cwt4rum7tvyvb" path="res://Player/Scorpio/Attacks/CutterShotAltFire.tscn" id="3_tw078"]
[sub_resource type="BoxShape3D" id="BoxShape3D_wqp0e"]
size = Vector3(0.822782, 0.881451, 0.80108)
[sub_resource type="BoxShape3D" id="BoxShape3D_f8aaj"]
size = Vector3(0.822782, 0.853857, 0.80108)
[node name="ScorpioP1" type="CharacterBody3D" groups=["Player"]]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.55696, 0)
motion_mode = 1
slide_on_ceiling = false
script = ExtResource("1_o7l70")
_fireProjectile = ExtResource("2_uayjr")
_altFireProjectile = ExtResource("3_tw078")
[node name="Pivot" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.496155, 0)
[node name="scoprion" parent="Pivot" instance=ExtResource("2_pahgr")]
[node name="Area3D" type="Area3D" parent="Pivot"]
collision_layer = 16
collision_mask = 4100
[node name="CollisionShape3D" type="CollisionShape3D" parent="Pivot/Area3D"]
shape = SubResource("BoxShape3D_wqp0e")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.315199, 0)
shape = SubResource("BoxShape3D_f8aaj")
[connection signal="body_entered" from="Pivot/Area3D" to="." method="OnHit"]

View File

@@ -0,0 +1,37 @@
[gd_scene load_steps=7 format=3 uid="uid://cg6hdoeq70ke8"]
[ext_resource type="Script" path="res://Player/Base/P2Controls.cs" id="1_auboe"]
[ext_resource type="PackedScene" uid="uid://cxnek5wgpxbft" path="res://Player/Scorpio/Attacks/CutterShot.tscn" id="2_iw8b0"]
[ext_resource type="PackedScene" uid="uid://cwt4rum7tvyvb" path="res://Player/Scorpio/Attacks/CutterShotAltFire.tscn" id="3_61xde"]
[ext_resource type="PackedScene" uid="uid://dyhimd6qec8fu" path="res://Player/Scorpio/ScorpioAnimated.tscn" id="4_c22td"]
[sub_resource type="BoxShape3D" id="BoxShape3D_wqp0e"]
size = Vector3(0.822782, 0.527059, 0.80108)
[sub_resource type="BoxShape3D" id="BoxShape3D_f8aaj"]
size = Vector3(0.822782, 0.527059, 0.80108)
[node name="ScorpioP2" type="CharacterBody3D" groups=["Player"]]
motion_mode = 1
script = ExtResource("1_auboe")
_fireProjectile = ExtResource("2_iw8b0")
_altFireProjectile = ExtResource("3_61xde")
[node name="Pivot" type="Node3D" parent="."]
[node name="scoprion" parent="Pivot" instance=ExtResource("4_c22td")]
[node name="Area3D" type="Area3D" parent="Pivot"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.75657e-15, 0, 0)
collision_layer = 16
collision_mask = 4100
[node name="CollisionShape3D" type="CollisionShape3D" parent="Pivot/Area3D"]
transform = Transform3D(0.999665, -0.0258978, -7.10543e-15, 0.0258978, 0.999665, 0, 0, 0, 1, 0, 0, 0)
shape = SubResource("BoxShape3D_wqp0e")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0761452, 0)
shape = SubResource("BoxShape3D_f8aaj")
[connection signal="body_entered" from="Pivot/Area3D" to="." method="OnHit"]

File diff suppressed because one or more lines are too long