Import megami
This commit is contained in:
1682
Models/Characters/megami.gltf
Normal file
1682
Models/Characters/megami.gltf
Normal file
File diff suppressed because one or more lines are too long
32
Models/Characters/megami.gltf.import
Normal file
32
Models/Characters/megami.gltf.import
Normal file
@@ -0,0 +1,32 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://dbggqsb82lg4l"
|
||||
path="res://.godot/imported/megami.gltf-d1e329a63fa8943328cb0727355899b0.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Models/Characters/megami.gltf"
|
||||
dest_files=["res://.godot/imported/megami.gltf-d1e329a63fa8943328cb0727355899b0.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type="CharacterBody3D"
|
||||
nodes/root_name="Scene Root"
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
import_script/path=""
|
||||
_subresources={}
|
||||
gltf/embedded_image_handling=1
|
||||
629
Scenes/Characters/Megami.tscn
Normal file
629
Scenes/Characters/Megami.tscn
Normal file
File diff suppressed because one or more lines are too long
@@ -1,15 +1,16 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://cxj6yeddshy16"]
|
||||
[gd_scene load_steps=7 format=3 uid="uid://cxj6yeddshy16"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/GameManager.cs" id="1_ya2kt"]
|
||||
[ext_resource type="PackedScene" uid="uid://b38hcomu4tpm5" path="res://Scenes/Characters/PiscesWitch.tscn" id="2_am26u"]
|
||||
[ext_resource type="PackedScene" uid="uid://iempdafdn6ct" path="res://Scenes/Characters/PlayerScorpio.tscn" id="3_e5mhu"]
|
||||
[ext_resource type="PackedScene" uid="uid://bgkqfamdiwrrw" path="res://Scenes/Characters/Megami.tscn" id="4_1hwqs"]
|
||||
[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="Node3D"]
|
||||
script = ExtResource("1_ya2kt")
|
||||
_p1Characters = [ExtResource("2_am26u"), ExtResource("3_e5mhu")]
|
||||
_p2Characters = [ExtResource("2_am26u"), ExtResource("3_e5mhu")]
|
||||
_p1Characters = [ExtResource("2_am26u"), ExtResource("3_e5mhu"), ExtResource("4_1hwqs")]
|
||||
_p2Characters = [ExtResource("2_am26u"), ExtResource("3_e5mhu"), ExtResource("4_1hwqs")]
|
||||
|
||||
[node name="Camera3D" type="Camera3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 0.5, 0.866025, 0, -0.866025, 0.5, -0.527878, 10.966, 6.61121)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=10 format=3 uid="uid://0hdnmilwrsq6"]
|
||||
[gd_scene load_steps=9 format=3 uid="uid://0hdnmilwrsq6"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/FinalLevel.cs" id="1_sy7dk"]
|
||||
[ext_resource type="Script" path="res://Scripts/HealthbarProgress.cs" id="2_53ar2"]
|
||||
@@ -8,9 +8,6 @@
|
||||
[ext_resource type="PackedScene" uid="uid://b0chkusc2bo2v" path="res://Levels/Final Levels/Stage9/AnimatedFinal.tscn" id="6_8beqh"]
|
||||
[ext_resource type="PackedScene" uid="uid://b1j0g6ikmnibm" path="res://Scenes/HPComponent.tscn" id="7_nvq88"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_slhvd"]
|
||||
size = Vector3(2.65272, 5.04315, 1.02395)
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_cs88m"]
|
||||
font_color = Color(0, 0, 0, 1)
|
||||
|
||||
@@ -25,21 +22,6 @@ script = ExtResource("3_xr71f")
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.29148, 0.123258, 5.44653)
|
||||
script = ExtResource("3_xr71f")
|
||||
|
||||
[node name="God Circuit" parent="." instance=ExtResource("4_vmhpd")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.54956, 1.08022, -0.0539055)
|
||||
|
||||
[node name="Area3D" type="Area3D" parent="God Circuit"]
|
||||
collision_layer = 0
|
||||
collision_mask = 2
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="God Circuit/Area3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.89871, 1.49756, -2.3792)
|
||||
shape = SubResource("BoxShape3D_slhvd")
|
||||
|
||||
[node name="HP Component" parent="God Circuit" node_paths=PackedStringArray("_healthBar") instance=ExtResource("7_nvq88")]
|
||||
MaximumHP = 100000000
|
||||
_healthBar = NodePath("../../FinalBossGUI/TextureProgressBar")
|
||||
|
||||
[node name="FINAL STAGE" parent="." instance=ExtResource("6_8beqh")]
|
||||
|
||||
[node name="FinalBossGUI" type="Control" parent="." groups=["BossGUI"]]
|
||||
@@ -62,8 +44,8 @@ offset_top = 44.0
|
||||
offset_right = -491.0
|
||||
offset_bottom = 73.0
|
||||
grow_horizontal = 2
|
||||
max_value = 1e+08
|
||||
value = 1e+08
|
||||
max_value = 1e+07
|
||||
value = 1e+07
|
||||
nine_patch_stretch = true
|
||||
texture_progress = ExtResource("5_jjg8p")
|
||||
script = ExtResource("2_53ar2")
|
||||
@@ -82,4 +64,8 @@ text = "God Circuit
|
||||
"
|
||||
label_settings = SubResource("LabelSettings_cs88m")
|
||||
|
||||
[connection signal="body_entered" from="God Circuit/Area3D" to="God Circuit" method="OnHit"]
|
||||
[node name="God Circuit" parent="." instance=ExtResource("4_vmhpd")]
|
||||
|
||||
[node name="HP Component" parent="God Circuit" node_paths=PackedStringArray("_healthBar") instance=ExtResource("7_nvq88")]
|
||||
MaximumHP = 10000000
|
||||
_healthBar = NodePath("../../FinalBossGUI/TextureProgressBar")
|
||||
|
||||
@@ -1,9 +1,27 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://brbshysbgd47q"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://brbshysbgd47q"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/GodCircuit.cs" id="1_gyfww"]
|
||||
[ext_resource type="PackedScene" uid="uid://cigdj84f0m3jd" path="res://Levels/Final Levels/Stage9/god circuit stage 1.glb" id="1_w12q0"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_l1qm4"]
|
||||
size = Vector3(2.64724, 5.07315, 0.653787)
|
||||
|
||||
[node name="God Circuit" type="Node3D"]
|
||||
script = ExtResource("1_gyfww")
|
||||
|
||||
[node name="god circuit stage 1" parent="." instance=ExtResource("1_w12q0")]
|
||||
|
||||
[node name="RigidBody3D" type="RigidBody3D" parent="god circuit stage 1"]
|
||||
collision_layer = 4096
|
||||
collision_mask = 2
|
||||
gravity_scale = 0.0
|
||||
continuous_cd = true
|
||||
max_contacts_reported = 1000
|
||||
contact_monitor = true
|
||||
can_sleep = false
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="god circuit stage 1/RigidBody3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.93109, 1.49955, -2.35288)
|
||||
shape = SubResource("BoxShape3D_l1qm4")
|
||||
|
||||
[connection signal="body_entered" from="god circuit stage 1/RigidBody3D" to="." method="OnHit"]
|
||||
|
||||
@@ -8,5 +8,7 @@ public partial class GodCircuit : Node3D
|
||||
var hpComponent = GetNode<HealthPoints>("HP Component");
|
||||
hpComponent.TakeDamage(800000);
|
||||
hpComponent.UpdateHealthbar();
|
||||
if (hpComponent.CurrentHP <= 0)
|
||||
QueueFree();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user