Beeg checkin
This commit is contained in:
54
Player/Capricorn/Attacks/CapricornLaser.tscn
Normal file
54
Player/Capricorn/Attacks/CapricornLaser.tscn
Normal file
@@ -0,0 +1,54 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://5ce7ky4o0q2e"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dha44dnvwhajo" path="res://Textures/Projectiles/Projectile_Capricorn.png" id="1_bvyt4"]
|
||||
[ext_resource type="Script" path="res://Player/Capricorn/Attacks/CapricornLaserShot.cs" id="1_nkyy8"]
|
||||
[ext_resource type="AudioStream" uid="uid://bykwwct1not4e" path="res://Audio/SFX/capricorn laeser.wav" id="2_lofnw"]
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_bnunv"]
|
||||
height = 7.40727
|
||||
radius = 0.419241
|
||||
|
||||
[node name="CapricornLaser" type="Node3D"]
|
||||
script = ExtResource("1_nkyy8")
|
||||
_soundEffect = ExtResource("2_lofnw")
|
||||
_projectileSpeed = 3.0
|
||||
|
||||
[node name="Forward Shot" type="RigidBody3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.5)
|
||||
collision_layer = 0
|
||||
collision_mask = 34
|
||||
gravity_scale = 0.0
|
||||
continuous_cd = true
|
||||
max_contacts_reported = 1
|
||||
contact_monitor = true
|
||||
can_sleep = false
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Forward Shot"]
|
||||
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
|
||||
shape = SubResource("CylinderShape3D_bnunv")
|
||||
|
||||
[node name="Sprite3D2" type="Sprite3D" parent="Forward Shot"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.33, 0, 0.5)
|
||||
centered = false
|
||||
axis = 1
|
||||
texture = ExtResource("1_bvyt4")
|
||||
|
||||
[node name="BackwardShot" type="RigidBody3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0.5)
|
||||
collision_layer = 0
|
||||
collision_mask = 34
|
||||
gravity_scale = 0.0
|
||||
continuous_cd = true
|
||||
max_contacts_reported = 1
|
||||
contact_monitor = true
|
||||
can_sleep = false
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="BackwardShot"]
|
||||
transform = Transform3D(-0.5, 0, -4.37114e-08, 0, 0.5, 0, 4.37114e-08, 0, -0.5, 0, -0.5, 0.5)
|
||||
shape = SubResource("CylinderShape3D_bnunv")
|
||||
|
||||
[node name="Sprite3D2" type="Sprite3D" parent="BackwardShot/CollisionShape3D"]
|
||||
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, -0.66, 0, 0.965768)
|
||||
centered = false
|
||||
axis = 1
|
||||
texture = ExtResource("1_bvyt4")
|
||||
55
Player/Capricorn/Attacks/CapricornLaserAltFire.tscn
Normal file
55
Player/Capricorn/Attacks/CapricornLaserAltFire.tscn
Normal file
@@ -0,0 +1,55 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://cdsc35cj566q1"]
|
||||
|
||||
[ext_resource type="Script" path="res://Player/Capricorn/Attacks/CapricornLaserShot.cs" id="1_8lywi"]
|
||||
[ext_resource type="Texture2D" uid="uid://dha44dnvwhajo" path="res://Textures/Projectiles/Projectile_Capricorn.png" id="2_8osg4"]
|
||||
[ext_resource type="AudioStream" uid="uid://bykwwct1not4e" path="res://Audio/SFX/capricorn laeser.wav" id="2_jeoco"]
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_bnunv"]
|
||||
height = 8.32444
|
||||
radius = 0.419241
|
||||
|
||||
[node name="CapricornLaser" type="Node3D"]
|
||||
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -0.242816, 0, 0)
|
||||
script = ExtResource("1_8lywi")
|
||||
_soundEffect = ExtResource("2_jeoco")
|
||||
_projectileSpeed = 3.0
|
||||
|
||||
[node name="Forward Shot" type="RigidBody3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.5)
|
||||
collision_layer = 34
|
||||
collision_mask = 34
|
||||
gravity_scale = 0.0
|
||||
continuous_cd = true
|
||||
max_contacts_reported = 1
|
||||
contact_monitor = true
|
||||
can_sleep = false
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Forward Shot"]
|
||||
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
|
||||
shape = SubResource("CylinderShape3D_bnunv")
|
||||
|
||||
[node name="Sprite3D2" type="Sprite3D" parent="Forward Shot"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.33, 0, 0.5)
|
||||
centered = false
|
||||
axis = 1
|
||||
texture = ExtResource("2_8osg4")
|
||||
|
||||
[node name="BackwardShot" type="RigidBody3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0.5)
|
||||
collision_layer = 34
|
||||
collision_mask = 34
|
||||
gravity_scale = 0.0
|
||||
continuous_cd = true
|
||||
max_contacts_reported = 1
|
||||
contact_monitor = true
|
||||
can_sleep = false
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="BackwardShot"]
|
||||
transform = Transform3D(-0.5, 0, -4.37114e-08, 0, 0.5, 0, 4.37114e-08, 0, -0.5, 0, -0.5, 0.5)
|
||||
shape = SubResource("CylinderShape3D_bnunv")
|
||||
|
||||
[node name="Sprite3D2" type="Sprite3D" parent="BackwardShot/CollisionShape3D"]
|
||||
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, -0.66, 0, 0.965768)
|
||||
centered = false
|
||||
axis = 1
|
||||
texture = ExtResource("2_8osg4")
|
||||
12
Player/Capricorn/Attacks/CapricornLaserShot.cs
Normal file
12
Player/Capricorn/Attacks/CapricornLaserShot.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using Godot;
|
||||
using System.Linq;
|
||||
|
||||
public partial class CapricornLaserShot : Projectile
|
||||
{
|
||||
public override void _PhysicsProcess(double delta)
|
||||
{
|
||||
var shots = GetChildren().OfType<RigidBody3D>();
|
||||
shots.ElementAt(0).Translate(new Vector3(0, 0, Speed * -(float)delta));
|
||||
shots.ElementAt(1).Translate(new Vector3(0, 0, Speed * (float)delta));
|
||||
}
|
||||
}
|
||||
248
Player/Capricorn/CapricornP1.tscn
Normal file
248
Player/Capricorn/CapricornP1.tscn
Normal file
@@ -0,0 +1,248 @@
|
||||
[gd_scene load_steps=36 format=3 uid="uid://crkon4c8ah1a2"]
|
||||
|
||||
[ext_resource type="Script" path="res://Player/Capricorn/CapricornP1Controls.cs" id="1_02lam"]
|
||||
[ext_resource type="PackedScene" uid="uid://5ce7ky4o0q2e" path="res://Player/Capricorn/Attacks/CapricornLaser.tscn" id="2_5fur4"]
|
||||
[ext_resource type="Texture2D" uid="uid://s0j0kj4ila8s" path="res://Player/Capricorn/Sprites/GameJam_DevilCapricorn_AttackForward.png" id="2_ebqay"]
|
||||
[ext_resource type="PackedScene" uid="uid://cdsc35cj566q1" path="res://Player/Capricorn/Attacks/CapricornLaserAltFire.tscn" id="3_7c7sn"]
|
||||
[ext_resource type="Texture2D" uid="uid://dchysrwcxhfvx" path="res://Player/Capricorn/Sprites/GameJam_DevilCapricorn_AttackBehind.png" id="3_c6jic"]
|
||||
[ext_resource type="Texture2D" uid="uid://cju5ycxiuwy25" path="res://Player/Capricorn/Sprites/GameJam_DevilCapricorn_AttackSide.png" id="4_ivql6"]
|
||||
[ext_resource type="Texture2D" uid="uid://utm2g5q7m2b3" path="res://Player/Capricorn/Sprites/GameJam_DevilCapricorn_WalkForward.png" id="5_7h4md"]
|
||||
[ext_resource type="Texture2D" uid="uid://w444vcu8rvae" path="res://Player/Capricorn/Sprites/GameJam_DevilCapricorn_WalkBehind.png" id="6_go5g3"]
|
||||
[ext_resource type="Texture2D" uid="uid://c5t256wcykb47" path="res://Player/Capricorn/Sprites/GameJam_DevilCapricorn_WalkSide.png" id="7_3c18n"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_njxhk"]
|
||||
atlas = ExtResource("2_ebqay")
|
||||
region = Rect2(0, 0, 120, 140)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_bmuvx"]
|
||||
atlas = ExtResource("2_ebqay")
|
||||
region = Rect2(120, 0, 120, 140)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_14ft5"]
|
||||
atlas = ExtResource("2_ebqay")
|
||||
region = Rect2(240, 0, 120, 140)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_olmdj"]
|
||||
atlas = ExtResource("2_ebqay")
|
||||
region = Rect2(360, 0, 120, 140)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_qaudm"]
|
||||
atlas = ExtResource("3_c6jic")
|
||||
region = Rect2(0, 0, 120, 144)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_a52sr"]
|
||||
atlas = ExtResource("3_c6jic")
|
||||
region = Rect2(120, 0, 120, 144)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_qkrgl"]
|
||||
atlas = ExtResource("3_c6jic")
|
||||
region = Rect2(240, 0, 120, 144)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_k5oj5"]
|
||||
atlas = ExtResource("3_c6jic")
|
||||
region = Rect2(360, 0, 120, 144)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_6iqcx"]
|
||||
atlas = ExtResource("4_ivql6")
|
||||
region = Rect2(0, 0, 113, 142)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_kiiv3"]
|
||||
atlas = ExtResource("4_ivql6")
|
||||
region = Rect2(113, 0, 113, 142)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_up4ur"]
|
||||
atlas = ExtResource("4_ivql6")
|
||||
region = Rect2(226, 0, 113, 142)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_hvxie"]
|
||||
atlas = ExtResource("4_ivql6")
|
||||
region = Rect2(339, 0, 113, 142)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_vc5hj"]
|
||||
atlas = ExtResource("5_7h4md")
|
||||
region = Rect2(0, 0, 120, 128)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_672u0"]
|
||||
atlas = ExtResource("5_7h4md")
|
||||
region = Rect2(120, 0, 120, 128)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_po3o8"]
|
||||
atlas = ExtResource("5_7h4md")
|
||||
region = Rect2(240, 0, 120, 128)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_v0my0"]
|
||||
atlas = ExtResource("5_7h4md")
|
||||
region = Rect2(360, 0, 120, 128)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_fge82"]
|
||||
atlas = ExtResource("6_go5g3")
|
||||
region = Rect2(0, 0, 120, 132)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_v2d05"]
|
||||
atlas = ExtResource("6_go5g3")
|
||||
region = Rect2(120, 0, 120, 132)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_mkdc6"]
|
||||
atlas = ExtResource("6_go5g3")
|
||||
region = Rect2(240, 0, 120, 132)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_0nnnw"]
|
||||
atlas = ExtResource("6_go5g3")
|
||||
region = Rect2(360, 0, 120, 132)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_sjqet"]
|
||||
atlas = ExtResource("7_3c18n")
|
||||
region = Rect2(0, 0, 113, 130)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_l8c3l"]
|
||||
atlas = ExtResource("7_3c18n")
|
||||
region = Rect2(113, 0, 113, 130)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_a72tn"]
|
||||
atlas = ExtResource("7_3c18n")
|
||||
region = Rect2(226, 0, 113, 130)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_s2v14"]
|
||||
atlas = ExtResource("7_3c18n")
|
||||
region = Rect2(339, 0, 113, 130)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_h2iud"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_njxhk")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_bmuvx")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_14ft5")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_olmdj")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"AttackBack",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_qaudm")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_a52sr")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_qkrgl")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_k5oj5")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"AttackForward",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_6iqcx")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_kiiv3")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_up4ur")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_hvxie")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"AttackSide",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_vc5hj")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_672u0")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_po3o8")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_v0my0")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"WalkBack",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_fge82")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_v2d05")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_mkdc6")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_0nnnw")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"WalkForward",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_sjqet")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_l8c3l")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_a72tn")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_s2v14")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"WalkSide",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_r4spg"]
|
||||
size = Vector3(0.856928, 1.65704, 0.82877)
|
||||
|
||||
[node name="CapricornP1" type="CharacterBody3D" groups=["Player"]]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.408962, 0)
|
||||
motion_mode = 1
|
||||
script = ExtResource("1_02lam")
|
||||
_fireProjectile = ExtResource("2_5fur4")
|
||||
_altFireProjectile = ExtResource("3_7c7sn")
|
||||
_fireProjectile = ExtResource("2_5fur4")
|
||||
_altFireProjectile = ExtResource("3_7c7sn")
|
||||
|
||||
[node name="Pivot" type="Node3D" parent="."]
|
||||
|
||||
[node name="Sprite" type="AnimatedSprite3D" parent="Pivot"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.51107, 0)
|
||||
billboard = 1
|
||||
sprite_frames = SubResource("SpriteFrames_h2iud")
|
||||
animation = &"WalkSide"
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.41651, 0)
|
||||
shape = SubResource("BoxShape3D_r4spg")
|
||||
|
||||
[node name="Area3D" type="Area3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.75657e-15, 1.43031, 0)
|
||||
disable_mode = 2
|
||||
collision_layer = 16
|
||||
collision_mask = 4100
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
|
||||
transform = Transform3D(0.999665, -0.0258978, -7.10543e-15, 0.0258978, 0.999665, 0, 0, 0, 1, 0, 0, 0)
|
||||
shape = SubResource("BoxShape3D_r4spg")
|
||||
|
||||
[connection signal="body_entered" from="Area3D" to="." method="OnHit" flags=18]
|
||||
148
Player/Capricorn/CapricornP1Controls.cs
Normal file
148
Player/Capricorn/CapricornP1Controls.cs
Normal file
@@ -0,0 +1,148 @@
|
||||
using Godot;
|
||||
|
||||
public partial class CapricornP1Controls : P1Controls
|
||||
{
|
||||
private AnimatedSprite3D _sprite;
|
||||
|
||||
public override void _Ready()
|
||||
{
|
||||
_sprite = GetNode<AnimatedSprite3D>("Pivot/Sprite");
|
||||
CanShoot = true;
|
||||
_gameManager = GetTree().Root.GetNode<GameManager>("Main/GameManager");
|
||||
}
|
||||
|
||||
[Export]
|
||||
private PackedScene _fireProjectile;
|
||||
[Export]
|
||||
private PackedScene _altFireProjectile;
|
||||
|
||||
[Export]
|
||||
private float _speed = 3.0f;
|
||||
|
||||
public bool IsShooting = false;
|
||||
|
||||
private GameManager _gameManager;
|
||||
|
||||
public override void _PhysicsProcess(double delta)
|
||||
{
|
||||
Velocity = CalculateCharacterMovement(delta);
|
||||
MoveAndSlide();
|
||||
}
|
||||
|
||||
public override void _UnhandledInput(InputEvent @event)
|
||||
{
|
||||
if (Input.IsActionJustPressed("exit"))
|
||||
GetTree().Quit();
|
||||
|
||||
if (Input.IsActionJustPressed($"p1_fire") && CanShoot)
|
||||
Fire();
|
||||
if (Input.IsActionJustPressed($"p1_altfire") && CanShoot)
|
||||
AltFire();
|
||||
}
|
||||
|
||||
private Vector3 CalculateCharacterMovement(double delta)
|
||||
{
|
||||
var velocity = Velocity;
|
||||
|
||||
var inputDir = Input.GetVector($"p1_left", $"p1_right", $"p1_up", $"p1_down");
|
||||
var direction = (Transform.Basis * new Vector3(inputDir.X, 0, inputDir.Y)).Normalized();
|
||||
if (direction != Vector3.Zero)
|
||||
{
|
||||
velocity.X = direction.X * _speed;
|
||||
velocity.Z = direction.Z * _speed;
|
||||
}
|
||||
else
|
||||
{
|
||||
velocity.X = Mathf.MoveToward(Velocity.X, 0, _speed);
|
||||
velocity.Z = Mathf.MoveToward(Velocity.Z, 0, _speed);
|
||||
}
|
||||
|
||||
if (IsShooting)
|
||||
AttackSprite(direction);
|
||||
else
|
||||
WalkSprite(direction);
|
||||
|
||||
if (!IsShooting && direction.IsEqualApprox(Vector3.Zero))
|
||||
{
|
||||
_sprite.Play("WalkForward");
|
||||
_sprite.Stop();
|
||||
}
|
||||
|
||||
return velocity;
|
||||
}
|
||||
|
||||
private void WalkSprite(Vector3 direction)
|
||||
{
|
||||
var roundedDirection = direction.Round();
|
||||
|
||||
if (roundedDirection == Vector3.Right)
|
||||
{
|
||||
_sprite.Play("WalkSide");
|
||||
_sprite.FlipH = false;
|
||||
}
|
||||
if (roundedDirection == Vector3.Left)
|
||||
{
|
||||
_sprite.Play("WalkSide");
|
||||
_sprite.FlipH = true;
|
||||
}
|
||||
if (roundedDirection == Vector3.Forward)
|
||||
_sprite.Play("WalkForward");
|
||||
if (roundedDirection == Vector3.Back)
|
||||
_sprite.Play("WalkBack");
|
||||
}
|
||||
|
||||
private async void Fire()
|
||||
{
|
||||
IsShooting = true;
|
||||
CanShoot = false;
|
||||
await ToSignal(GetTree().CreateTimer(0.8f), "timeout");
|
||||
var projectile = _fireProjectile.Instantiate<Projectile>();
|
||||
projectile.Position = Position + new Vector3(0f, 1f, 0f);
|
||||
projectile.ParentCharacter = this;
|
||||
GetParent().AddChild(projectile);
|
||||
CanShoot = true;
|
||||
IsShooting = false;
|
||||
}
|
||||
|
||||
private async void AltFire()
|
||||
{
|
||||
IsShooting = true;
|
||||
CanShoot = false;
|
||||
await ToSignal(GetTree().CreateTimer(0.8f), "timeout");
|
||||
var projectile = _altFireProjectile.Instantiate<Projectile>();
|
||||
projectile.Position = Position + new Vector3(0f, 1f, 0f);
|
||||
projectile.ParentCharacter = this;
|
||||
GetParent().AddChild(projectile);
|
||||
CanShoot = true;
|
||||
IsShooting = false;
|
||||
}
|
||||
|
||||
private void AttackSprite(Vector3 direction)
|
||||
{
|
||||
var roundedDirection = direction.Round();
|
||||
|
||||
if (roundedDirection == Vector3.Right)
|
||||
{
|
||||
_sprite.Play("AttackSide");
|
||||
_sprite.FlipH = false;
|
||||
}
|
||||
if (roundedDirection == Vector3.Left)
|
||||
{
|
||||
_sprite.Play("AttackSide");
|
||||
_sprite.FlipH = true;
|
||||
}
|
||||
if (roundedDirection == Vector3.Forward)
|
||||
_sprite.Play("AttackForward");
|
||||
if (roundedDirection == Vector3.Back)
|
||||
_sprite.Play("AttackBack");
|
||||
|
||||
if (direction.IsEqualApprox(Vector3.Zero))
|
||||
_sprite.Play("AttackForward");
|
||||
}
|
||||
|
||||
public new void OnHit(Node3D node)
|
||||
{
|
||||
if (this != null)
|
||||
_gameManager.CallDeferred(GameManager.MethodName.RemoveCharacter, this);
|
||||
}
|
||||
}
|
||||
248
Player/Capricorn/CapricornP2.tscn
Normal file
248
Player/Capricorn/CapricornP2.tscn
Normal file
@@ -0,0 +1,248 @@
|
||||
[gd_scene load_steps=36 format=3 uid="uid://db6xew8wvbcl8"]
|
||||
|
||||
[ext_resource type="Script" path="res://Player/Capricorn/CapricornP2Controls.cs" id="1_5dwa3"]
|
||||
[ext_resource type="Texture2D" uid="uid://s0j0kj4ila8s" path="res://Player/Capricorn/Sprites/GameJam_DevilCapricorn_AttackForward.png" id="2_8qhd4"]
|
||||
[ext_resource type="PackedScene" uid="uid://5ce7ky4o0q2e" path="res://Player/Capricorn/Attacks/CapricornLaser.tscn" id="2_241c5"]
|
||||
[ext_resource type="PackedScene" uid="uid://cdsc35cj566q1" path="res://Player/Capricorn/Attacks/CapricornLaserAltFire.tscn" id="3_4gj1h"]
|
||||
[ext_resource type="Texture2D" uid="uid://dchysrwcxhfvx" path="res://Player/Capricorn/Sprites/GameJam_DevilCapricorn_AttackBehind.png" id="3_qftyj"]
|
||||
[ext_resource type="Texture2D" uid="uid://cju5ycxiuwy25" path="res://Player/Capricorn/Sprites/GameJam_DevilCapricorn_AttackSide.png" id="4_pwka2"]
|
||||
[ext_resource type="Texture2D" uid="uid://utm2g5q7m2b3" path="res://Player/Capricorn/Sprites/GameJam_DevilCapricorn_WalkForward.png" id="5_4q5hl"]
|
||||
[ext_resource type="Texture2D" uid="uid://w444vcu8rvae" path="res://Player/Capricorn/Sprites/GameJam_DevilCapricorn_WalkBehind.png" id="6_x36jg"]
|
||||
[ext_resource type="Texture2D" uid="uid://c5t256wcykb47" path="res://Player/Capricorn/Sprites/GameJam_DevilCapricorn_WalkSide.png" id="7_03beh"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_njxhk"]
|
||||
atlas = ExtResource("2_8qhd4")
|
||||
region = Rect2(0, 0, 120, 140)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_bmuvx"]
|
||||
atlas = ExtResource("2_8qhd4")
|
||||
region = Rect2(120, 0, 120, 140)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_14ft5"]
|
||||
atlas = ExtResource("2_8qhd4")
|
||||
region = Rect2(240, 0, 120, 140)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_olmdj"]
|
||||
atlas = ExtResource("2_8qhd4")
|
||||
region = Rect2(360, 0, 120, 140)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_qaudm"]
|
||||
atlas = ExtResource("3_qftyj")
|
||||
region = Rect2(0, 0, 120, 144)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_a52sr"]
|
||||
atlas = ExtResource("3_qftyj")
|
||||
region = Rect2(120, 0, 120, 144)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_qkrgl"]
|
||||
atlas = ExtResource("3_qftyj")
|
||||
region = Rect2(240, 0, 120, 144)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_k5oj5"]
|
||||
atlas = ExtResource("3_qftyj")
|
||||
region = Rect2(360, 0, 120, 144)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_6iqcx"]
|
||||
atlas = ExtResource("4_pwka2")
|
||||
region = Rect2(0, 0, 113, 142)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_kiiv3"]
|
||||
atlas = ExtResource("4_pwka2")
|
||||
region = Rect2(113, 0, 113, 142)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_up4ur"]
|
||||
atlas = ExtResource("4_pwka2")
|
||||
region = Rect2(226, 0, 113, 142)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_hvxie"]
|
||||
atlas = ExtResource("4_pwka2")
|
||||
region = Rect2(339, 0, 113, 142)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_vc5hj"]
|
||||
atlas = ExtResource("5_4q5hl")
|
||||
region = Rect2(0, 0, 120, 128)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_672u0"]
|
||||
atlas = ExtResource("5_4q5hl")
|
||||
region = Rect2(120, 0, 120, 128)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_po3o8"]
|
||||
atlas = ExtResource("5_4q5hl")
|
||||
region = Rect2(240, 0, 120, 128)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_v0my0"]
|
||||
atlas = ExtResource("5_4q5hl")
|
||||
region = Rect2(360, 0, 120, 128)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_fge82"]
|
||||
atlas = ExtResource("6_x36jg")
|
||||
region = Rect2(0, 0, 120, 132)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_v2d05"]
|
||||
atlas = ExtResource("6_x36jg")
|
||||
region = Rect2(120, 0, 120, 132)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_mkdc6"]
|
||||
atlas = ExtResource("6_x36jg")
|
||||
region = Rect2(240, 0, 120, 132)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_0nnnw"]
|
||||
atlas = ExtResource("6_x36jg")
|
||||
region = Rect2(360, 0, 120, 132)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_sjqet"]
|
||||
atlas = ExtResource("7_03beh")
|
||||
region = Rect2(0, 0, 113, 130)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_l8c3l"]
|
||||
atlas = ExtResource("7_03beh")
|
||||
region = Rect2(113, 0, 113, 130)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_a72tn"]
|
||||
atlas = ExtResource("7_03beh")
|
||||
region = Rect2(226, 0, 113, 130)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_s2v14"]
|
||||
atlas = ExtResource("7_03beh")
|
||||
region = Rect2(339, 0, 113, 130)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_h2iud"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_njxhk")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_bmuvx")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_14ft5")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_olmdj")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"AttackBack",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_qaudm")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_a52sr")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_qkrgl")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_k5oj5")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"AttackForward",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_6iqcx")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_kiiv3")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_up4ur")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_hvxie")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"AttackSide",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_vc5hj")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_672u0")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_po3o8")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_v0my0")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"WalkBack",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_fge82")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_v2d05")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_mkdc6")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_0nnnw")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"WalkForward",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_sjqet")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_l8c3l")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_a72tn")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_s2v14")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"WalkSide",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_r4spg"]
|
||||
size = Vector3(0.856928, 1.65704, 0.82877)
|
||||
|
||||
[node name="CapricornP2" type="CharacterBody3D" groups=["Player"]]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.704732, 0)
|
||||
motion_mode = 1
|
||||
script = ExtResource("1_5dwa3")
|
||||
_fireProjectile = ExtResource("2_241c5")
|
||||
_altFireProjectile = ExtResource("3_4gj1h")
|
||||
_fireProjectile = ExtResource("2_241c5")
|
||||
_altFireProjectile = ExtResource("3_4gj1h")
|
||||
|
||||
[node name="Pivot" type="Node3D" parent="."]
|
||||
|
||||
[node name="Sprite" type="AnimatedSprite3D" parent="Pivot"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.51107, 0)
|
||||
billboard = 1
|
||||
sprite_frames = SubResource("SpriteFrames_h2iud")
|
||||
animation = &"WalkSide"
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.41651, 0)
|
||||
shape = SubResource("BoxShape3D_r4spg")
|
||||
|
||||
[node name="Area3D" type="Area3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.75657e-15, 1.43031, 0)
|
||||
disable_mode = 2
|
||||
collision_layer = 16
|
||||
collision_mask = 4100
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
|
||||
transform = Transform3D(0.999665, -0.0258978, -7.10543e-15, 0.0258978, 0.999665, 0, 0, 0, 1, 0, 0, 0)
|
||||
shape = SubResource("BoxShape3D_r4spg")
|
||||
|
||||
[connection signal="body_entered" from="Area3D" to="." method="OnHit" flags=18]
|
||||
148
Player/Capricorn/CapricornP2Controls.cs
Normal file
148
Player/Capricorn/CapricornP2Controls.cs
Normal file
@@ -0,0 +1,148 @@
|
||||
using Godot;
|
||||
|
||||
public partial class CapricornP2Controls : P2Controls
|
||||
{
|
||||
private AnimatedSprite3D _sprite;
|
||||
|
||||
public override void _Ready()
|
||||
{
|
||||
_sprite = GetNode<AnimatedSprite3D>("Pivot/Sprite");
|
||||
CanShoot = true;
|
||||
_gameManager = GetTree().Root.GetNode<GameManager>("Main/GameManager");
|
||||
}
|
||||
|
||||
[Export]
|
||||
private PackedScene _fireProjectile;
|
||||
[Export]
|
||||
private PackedScene _altFireProjectile;
|
||||
|
||||
[Export]
|
||||
private float _speed = 3.0f;
|
||||
|
||||
public bool IsShooting = false;
|
||||
|
||||
private GameManager _gameManager;
|
||||
|
||||
public override void _PhysicsProcess(double delta)
|
||||
{
|
||||
Velocity = CalculateCharacterMovement(delta);
|
||||
MoveAndSlide();
|
||||
}
|
||||
|
||||
public override void _UnhandledInput(InputEvent @event)
|
||||
{
|
||||
if (Input.IsActionJustPressed("exit"))
|
||||
GetTree().Quit();
|
||||
|
||||
if (Input.IsActionJustPressed($"p2_fire") && CanShoot)
|
||||
Fire();
|
||||
if (Input.IsActionJustPressed($"p2_altfire") && CanShoot)
|
||||
AltFire();
|
||||
}
|
||||
|
||||
private Vector3 CalculateCharacterMovement(double delta)
|
||||
{
|
||||
var velocity = Velocity;
|
||||
|
||||
var inputDir = Input.GetVector($"p2_left", $"p2_right", $"p2_up", $"p2_down");
|
||||
var direction = (Transform.Basis * new Vector3(inputDir.X, 0, inputDir.Y)).Normalized();
|
||||
if (direction != Vector3.Zero)
|
||||
{
|
||||
velocity.X = direction.X * _speed;
|
||||
velocity.Z = direction.Z * _speed;
|
||||
}
|
||||
else
|
||||
{
|
||||
velocity.X = Mathf.MoveToward(Velocity.X, 0, _speed);
|
||||
velocity.Z = Mathf.MoveToward(Velocity.Z, 0, _speed);
|
||||
}
|
||||
|
||||
if (IsShooting)
|
||||
AttackSprite(direction);
|
||||
else
|
||||
WalkSprite(direction);
|
||||
|
||||
if (!IsShooting && direction.IsEqualApprox(Vector3.Zero))
|
||||
{
|
||||
_sprite.Play("WalkForward");
|
||||
_sprite.Stop();
|
||||
}
|
||||
|
||||
return velocity;
|
||||
}
|
||||
|
||||
private void WalkSprite(Vector3 direction)
|
||||
{
|
||||
var roundedDirection = direction.Round();
|
||||
|
||||
if (roundedDirection == Vector3.Right)
|
||||
{
|
||||
_sprite.Play("WalkSide");
|
||||
_sprite.FlipH = false;
|
||||
}
|
||||
if (roundedDirection == Vector3.Left)
|
||||
{
|
||||
_sprite.Play("WalkSide");
|
||||
_sprite.FlipH = true;
|
||||
}
|
||||
if (roundedDirection == Vector3.Forward)
|
||||
_sprite.Play("WalkForward");
|
||||
if (roundedDirection == Vector3.Back)
|
||||
_sprite.Play("WalkBack");
|
||||
}
|
||||
|
||||
private async void Fire()
|
||||
{
|
||||
IsShooting = true;
|
||||
var projectile = _fireProjectile.Instantiate<Projectile>();
|
||||
projectile.Position = Position + new Vector3(0f, 1f, 0f);
|
||||
projectile.ParentCharacter = this;
|
||||
GetParent().AddChild(projectile);
|
||||
CanShoot = false;
|
||||
await ToSignal(GetTree().CreateTimer(2.0f), "timeout");
|
||||
CanShoot = true;
|
||||
IsShooting = false;
|
||||
}
|
||||
|
||||
private async void AltFire()
|
||||
{
|
||||
IsShooting = true;
|
||||
var projectile = _altFireProjectile.Instantiate<Projectile>();
|
||||
projectile.Position = Position + new Vector3(0f, 1f, 0f);
|
||||
projectile.ParentCharacter = this;
|
||||
GetParent().AddChild(projectile);
|
||||
CanShoot = false;
|
||||
await ToSignal(GetTree().CreateTimer(2.0f), "timeout");
|
||||
CanShoot = true;
|
||||
IsShooting = false;
|
||||
}
|
||||
|
||||
private void AttackSprite(Vector3 direction)
|
||||
{
|
||||
var roundedDirection = direction.Round();
|
||||
|
||||
if (roundedDirection == Vector3.Right)
|
||||
{
|
||||
_sprite.Play("AttackSide");
|
||||
_sprite.FlipH = false;
|
||||
}
|
||||
if (roundedDirection == Vector3.Left)
|
||||
{
|
||||
_sprite.Play("AttackSide");
|
||||
_sprite.FlipH = true;
|
||||
}
|
||||
if (roundedDirection == Vector3.Forward)
|
||||
_sprite.Play("AttackForward");
|
||||
if (roundedDirection == Vector3.Back)
|
||||
_sprite.Play("AttackBack");
|
||||
|
||||
if (direction.IsEqualApprox(Vector3.Zero))
|
||||
_sprite.Play("AttackForward");
|
||||
}
|
||||
|
||||
public new void OnHit(Node3D node)
|
||||
{
|
||||
if (this != null)
|
||||
_gameManager.CallDeferred(GameManager.MethodName.RemoveCharacter, this);
|
||||
}
|
||||
}
|
||||
BIN
Player/Capricorn/Sprites/GameJam_DevilCapricorn_AttackBehind.png
Normal file
BIN
Player/Capricorn/Sprites/GameJam_DevilCapricorn_AttackBehind.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.1 KiB |
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dchysrwcxhfvx"
|
||||
path.s3tc="res://.godot/imported/GameJam_DevilCapricorn_AttackBehind.png-70d5e224e56cf0623c14f18dad3da5b9.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Player/Capricorn/Sprites/GameJam_DevilCapricorn_AttackBehind.png"
|
||||
dest_files=["res://.godot/imported/GameJam_DevilCapricorn_AttackBehind.png-70d5e224e56cf0623c14f18dad3da5b9.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
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 7.7 KiB |
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://s0j0kj4ila8s"
|
||||
path.s3tc="res://.godot/imported/GameJam_DevilCapricorn_AttackForward.png-7b2178774de221fdd99bf3e1ea5b5bb9.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Player/Capricorn/Sprites/GameJam_DevilCapricorn_AttackForward.png"
|
||||
dest_files=["res://.godot/imported/GameJam_DevilCapricorn_AttackForward.png-7b2178774de221fdd99bf3e1ea5b5bb9.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
|
||||
BIN
Player/Capricorn/Sprites/GameJam_DevilCapricorn_AttackSide.png
Normal file
BIN
Player/Capricorn/Sprites/GameJam_DevilCapricorn_AttackSide.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.0 KiB |
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cju5ycxiuwy25"
|
||||
path.s3tc="res://.godot/imported/GameJam_DevilCapricorn_AttackSide.png-de42fd763e9dd0247dbfe7b955f9ae96.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Player/Capricorn/Sprites/GameJam_DevilCapricorn_AttackSide.png"
|
||||
dest_files=["res://.godot/imported/GameJam_DevilCapricorn_AttackSide.png-de42fd763e9dd0247dbfe7b955f9ae96.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
|
||||
BIN
Player/Capricorn/Sprites/GameJam_DevilCapricorn_WalkBehind.png
Normal file
BIN
Player/Capricorn/Sprites/GameJam_DevilCapricorn_WalkBehind.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.1 KiB |
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://w444vcu8rvae"
|
||||
path.s3tc="res://.godot/imported/GameJam_DevilCapricorn_WalkBehind.png-a91aa867c827c8f06842955fcd6dcbfb.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Player/Capricorn/Sprites/GameJam_DevilCapricorn_WalkBehind.png"
|
||||
dest_files=["res://.godot/imported/GameJam_DevilCapricorn_WalkBehind.png-a91aa867c827c8f06842955fcd6dcbfb.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
|
||||
BIN
Player/Capricorn/Sprites/GameJam_DevilCapricorn_WalkForward.png
Normal file
BIN
Player/Capricorn/Sprites/GameJam_DevilCapricorn_WalkForward.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.8 KiB |
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://utm2g5q7m2b3"
|
||||
path.s3tc="res://.godot/imported/GameJam_DevilCapricorn_WalkForward.png-380df37963b3599a157785ded9d14c3e.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Player/Capricorn/Sprites/GameJam_DevilCapricorn_WalkForward.png"
|
||||
dest_files=["res://.godot/imported/GameJam_DevilCapricorn_WalkForward.png-380df37963b3599a157785ded9d14c3e.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
|
||||
BIN
Player/Capricorn/Sprites/GameJam_DevilCapricorn_WalkSide.png
Normal file
BIN
Player/Capricorn/Sprites/GameJam_DevilCapricorn_WalkSide.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.1 KiB |
@@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c5t256wcykb47"
|
||||
path.s3tc="res://.godot/imported/GameJam_DevilCapricorn_WalkSide.png-f2e7ef40da5b75a50fd28ce03c31a82c.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Player/Capricorn/Sprites/GameJam_DevilCapricorn_WalkSide.png"
|
||||
dest_files=["res://.godot/imported/GameJam_DevilCapricorn_WalkSide.png-f2e7ef40da5b75a50fd28ce03c31a82c.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
|
||||
Reference in New Issue
Block a user