This commit is contained in:
incredibleLeitman 2020-01-26 22:31:56 +01:00
commit 8b4f5684b4
16 changed files with 4122 additions and 2 deletions

View File

@ -1,9 +1,10 @@
[gd_scene load_steps=8 format=2] [gd_scene load_steps=9 format=2]
[ext_resource path="res://Level/Interactables/Key/Key.gd" type="Script" id=1] [ext_resource path="res://Level/Interactables/Key/Key.gd" type="Script" id=1]
[ext_resource path="res://Resources/Models/key/Material.material" type="Material" id=2] [ext_resource path="res://Resources/Models/key/Material.material" type="Material" id=2]
[ext_resource path="res://Materials/Glow.tres" type="Material" id=3] [ext_resource path="res://Materials/Glow.tres" type="Material" id=3]
[ext_resource path="res://Resources/Models/key/key.dae" type="PackedScene" id=4] [ext_resource path="res://Resources/Models/key/key.dae" type="PackedScene" id=4]
[ext_resource path="res://Particles/Sparkle.tscn" type="PackedScene" id=5]
[sub_resource type="ArrayMesh" id=1] [sub_resource type="ArrayMesh" id=1]
resource_name = "Cube.001" resource_name = "Cube.001"
@ -60,3 +61,5 @@ visible = false
[node name="CollisionShape" type="CollisionShape" parent="."] [node name="CollisionShape" type="CollisionShape" parent="."]
transform = Transform( 0.02, 0, 0, 0, 0.12, 0, 0, 0, 0.05, 0, 0, 0 ) transform = Transform( 0.02, 0, 0, 0, 0.12, 0, 0, 0, 0.05, 0, 0, 0 )
shape = SubResource( 3 ) shape = SubResource( 3 )
[node name="Sparkle" parent="." instance=ExtResource( 5 )]

View File

@ -1,10 +1,11 @@
[gd_scene load_steps=9 format=2] [gd_scene load_steps=10 format=2]
[ext_resource path="res://Level/Interactables/Keycard/Keycard.gd" type="Script" id=1] [ext_resource path="res://Level/Interactables/Keycard/Keycard.gd" type="Script" id=1]
[ext_resource path="res://Resources/Models/keycard/Material_002.material" type="Material" id=2] [ext_resource path="res://Resources/Models/keycard/Material_002.material" type="Material" id=2]
[ext_resource path="res://Resources/Models/keycard/Material.material" type="Material" id=3] [ext_resource path="res://Resources/Models/keycard/Material.material" type="Material" id=3]
[ext_resource path="res://Materials/Glow.tres" type="Material" id=4] [ext_resource path="res://Materials/Glow.tres" type="Material" id=4]
[ext_resource path="res://Resources/Models/keycard/keycard.dae" type="PackedScene" id=5] [ext_resource path="res://Resources/Models/keycard/keycard.dae" type="PackedScene" id=5]
[ext_resource path="res://Particles/Sparkle.tscn" type="PackedScene" id=6]
[sub_resource type="ArrayMesh" id=1] [sub_resource type="ArrayMesh" id=1]
resource_name = "Cube" resource_name = "Cube"
@ -75,3 +76,5 @@ visible = false
[node name="CollisionShape" type="CollisionShape" parent="."] [node name="CollisionShape" type="CollisionShape" parent="."]
transform = Transform( 0.02, 0, 0, 0, 0.08, 0, 0, 0, 0.12, 0, 0, 0 ) transform = Transform( 0.02, 0, 0, 0, 0.08, 0, 0, 0, 0.12, 0, 0, 0 )
shape = SubResource( 3 ) shape = SubResource( 3 )
[node name="Sparkle" parent="." instance=ExtResource( 6 )]

61
Particles/Sparkle.tscn Normal file
View File

@ -0,0 +1,61 @@
[gd_scene load_steps=8 format=2]
[ext_resource path="res://Resources/Textures/sparkle.png" type="Texture" id=1]
[sub_resource type="SpatialMaterial" id=1]
flags_transparent = true
flags_unshaded = true
vertex_color_use_as_albedo = true
params_blend_mode = 1
params_billboard_mode = 3
particles_anim_h_frames = 1
particles_anim_v_frames = 1
particles_anim_loop = false
albedo_texture = ExtResource( 1 )
[sub_resource type="Curve" id=2]
_data = [ Vector2( 0, 0.2745 ), 0.0, 0.0, 0, 0, Vector2( 0.487893, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 0.0897 ), 0.0, 0.0, 0, 0 ]
[sub_resource type="CurveTexture" id=3]
curve = SubResource( 2 )
[sub_resource type="ParticlesMaterial" id=4]
emission_shape = 1
emission_sphere_radius = 0.16
spread = 0.0
gravity = Vector3( 0, 5, 0 )
angular_velocity = 40.0
angular_velocity_random = 1.0
linear_accel = -3.0
scale = 0.05
scale_random = 0.01
scale_curve = SubResource( 3 )
[sub_resource type="QuadMesh" id=5]
[sub_resource type="ParticlesMaterial" id=6]
emission_shape = 1
emission_sphere_radius = 0.16
spread = 0.0
gravity = Vector3( 0, 5, 0 )
angular_velocity = 40.0
angular_velocity_random = 1.0
linear_accel = -3.0
scale = 0.05
scale_random = 0.01
scale_curve = SubResource( 3 )
color = Color( 0.992157, 1, 0, 1 )
[node name="Sparkle" type="Spatial"]
[node name="White" type="Particles" parent="."]
layers = 3
material_override = SubResource( 1 )
process_material = SubResource( 4 )
draw_pass_1 = SubResource( 5 )
[node name="Yellow" type="Particles" parent="."]
layers = 3
material_override = SubResource( 1 )
process_material = SubResource( 6 )
draw_pass_1 = SubResource( 5 )

Binary file not shown.

Binary file not shown.

Binary file not shown.

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.

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

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.

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

View File

@ -0,0 +1,36 @@
[remap]
importer="texture"
type="StreamTexture"
path.s3tc="res://.import/sparkle.png-cd980144f9f0a21866fe5ba0957c2b83.s3tc.stex"
path.etc2="res://.import/sparkle.png-cd980144f9f0a21866fe5ba0957c2b83.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
source_file="res://Resources/Textures/sparkle.png"
dest_files=[ "res://.import/sparkle.png-cd980144f9f0a21866fe5ba0957c2b83.s3tc.stex", "res://.import/sparkle.png-cd980144f9f0a21866fe5ba0957c2b83.etc2.stex" ]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=false
flags/srgb=1
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0