Fireball (initial implementation)
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
[gd_scene load_steps=13 format=3 uid="uid://bcsgd8vxy43g2"]
|
||||
[gd_scene load_steps=16 format=3 uid="uid://bcsgd8vxy43g2"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/Player.cs" id="1_8dc05"]
|
||||
[ext_resource type="PackedScene" uid="uid://d20uxkpid4ynd" path="res://Models/vivi1.gltf" id="1_mqt2m"]
|
||||
[ext_resource type="Script" path="res://Scripts/CameraSystem.cs" id="3_5ecw2"]
|
||||
[ext_resource type="PackedScene" uid="uid://c13g5orvyhy1p" path="res://Models/moogle.gltf" id="4_dckjs"]
|
||||
[ext_resource type="Script" path="res://Scripts/NPCFollow.cs" id="4_o5mpp"]
|
||||
[ext_resource type="Texture2D" uid="uid://bwku8f676eq6j" path="res://Materials/Textures/caaf021ecac0f417e167b9184d45ae8e.png" id="6_7wayf"]
|
||||
[ext_resource type="Script" path="res://Scripts/Fireball.cs" id="7_mkgs3"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_8verc"]
|
||||
size = Vector3(100, 2, 100)
|
||||
@@ -29,6 +31,17 @@ albedo_color = Color(0.509804, 0.584314, 1, 1)
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ultw4"]
|
||||
albedo_color = Color(1, 1, 0, 1)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_njysa"]
|
||||
cull_mode = 1
|
||||
shading_mode = 0
|
||||
specular_mode = 1
|
||||
vertex_color_use_as_albedo = true
|
||||
albedo_texture = ExtResource("6_7wayf")
|
||||
billboard_mode = 3
|
||||
particles_anim_h_frames = 1
|
||||
particles_anim_v_frames = 1
|
||||
particles_anim_loop = false
|
||||
|
||||
[node name="Main" type="Node"]
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="."]
|
||||
@@ -38,6 +51,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.06471, 0)
|
||||
shape = SubResource("BoxShape3D_8verc")
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="StaticBody3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0055759, 0.075381, -0.0165453)
|
||||
mesh = SubResource("BoxMesh_0jrjy")
|
||||
|
||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||||
@@ -105,3 +119,13 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.54678, 0.383205, 4.07192)
|
||||
material_override = SubResource("StandardMaterial3D_ultw4")
|
||||
use_collision = true
|
||||
size = Vector3(15.0266, 4.74018, 1)
|
||||
|
||||
[node name="Particles" type="Node3D" parent="."]
|
||||
visible = false
|
||||
|
||||
[node name="Fireball" type="CSGSphere3D" parent="Particles"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.07254, -1.49094)
|
||||
radial_segments = 5
|
||||
rings = 20
|
||||
material = SubResource("StandardMaterial3D_njysa")
|
||||
script = ExtResource("7_mkgs3")
|
||||
|
||||
Reference in New Issue
Block a user