mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-12-21 13:16:49 +01:00
Added a new floating magic particle effect to the dungeon teleporters.
This commit is contained in:
parent
04ec4d2ad9
commit
e773393ce9
14
game/particles/magic/particle_magic_float.tres
Normal file
14
game/particles/magic/particle_magic_float.tres
Normal file
@ -0,0 +1,14 @@
|
||||
[gd_resource type="SpatialMaterial" load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://textures/particle/magic_particle_1.png" type="Texture" id=1]
|
||||
|
||||
[resource]
|
||||
flags_transparent = true
|
||||
flags_unshaded = true
|
||||
flags_do_not_receive_shadows = true
|
||||
flags_disable_ambient_light = true
|
||||
vertex_color_use_as_albedo = true
|
||||
params_specular_mode = 4
|
||||
params_blend_mode = 1
|
||||
params_billboard_mode = 2
|
||||
albedo_texture = ExtResource( 1 )
|
22
game/particles/magic/particle_magic_float.tscn
Normal file
22
game/particles/magic/particle_magic_float.tscn
Normal file
@ -0,0 +1,22 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://particles/magic/particle_magic_float.tres" type="Material" id=1]
|
||||
|
||||
[sub_resource type="QuadMesh" id=2]
|
||||
material = ExtResource( 1 )
|
||||
size = Vector2( 0.2, 0.2 )
|
||||
|
||||
[node name="ParticleMagicShimmer" type="CPUParticles"]
|
||||
generate_lightmap = false
|
||||
lifetime = 9.52
|
||||
mesh = SubResource( 2 )
|
||||
emission_shape = 2
|
||||
emission_box_extents = Vector3( 0.5, 1, 0.5 )
|
||||
gravity = Vector3( 0, 0, 0 )
|
||||
initial_velocity = 1.0
|
||||
initial_velocity_random = 1.0
|
||||
linear_accel = -18.18
|
||||
linear_accel_random = 0.06
|
||||
scale_amount_random = 0.3
|
||||
color = Color( 0.345098, 0.592157, 0.839216, 0.552941 )
|
||||
hue_variation_random = 0.18
|
@ -1,10 +1,11 @@
|
||||
[gd_scene load_steps=7 format=2]
|
||||
[gd_scene load_steps=8 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/dungeons/teleporters/dung_back_teleporter.gd" type="Script" id=1]
|
||||
[ext_resource path="res://textures/world/bricks/test_brick_albedo.png" type="Texture" id=2]
|
||||
[ext_resource path="res://props/teleporters/dungeon/simple_dungeon_teleporter_material.tres" type="Material" id=3]
|
||||
[ext_resource path="res://props/teleporters/dungeon/simple_dungeon_teleporter_highlight_material.tres" type="Material" id=4]
|
||||
[ext_resource path="res://models/teleporters/dungeon/simple_dungeon_teleporter.tres" type="MeshDataResource" id=5]
|
||||
[ext_resource path="res://particles/magic/particle_magic_float.tscn" type="PackedScene" id=6]
|
||||
|
||||
[sub_resource type="BoxShape" id=3]
|
||||
extents = Vector3( 0.5, 0.5, 0.5 )
|
||||
@ -19,5 +20,8 @@ mesh_data = ExtResource( 5 )
|
||||
texture = ExtResource( 2 )
|
||||
material = ExtResource( 3 )
|
||||
|
||||
[node name="ParticleMagicShimmer" parent="." instance=ExtResource( 6 )]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
|
||||
|
||||
[node name="CollisionShape" type="CollisionShape" parent="."]
|
||||
shape = SubResource( 3 )
|
||||
|
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=8 format=2]
|
||||
[gd_scene load_steps=9 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/dungeons/teleporters/dung_teleporter.gd" type="Script" id=1]
|
||||
[ext_resource path="res://props/teleporters/dungeon/simple_dungeon_back_teleporter.tscn" type="PackedScene" id=2]
|
||||
@ -6,6 +6,7 @@
|
||||
[ext_resource path="res://textures/world/stone/stone_1_albedo.png" type="Texture" id=4]
|
||||
[ext_resource path="res://props/teleporters/dungeon/simple_dungeon_teleporter_material.tres" type="Material" id=5]
|
||||
[ext_resource path="res://props/teleporters/dungeon/simple_dungeon_teleporter_highlight_material.tres" type="Material" id=6]
|
||||
[ext_resource path="res://particles/magic/particle_magic_float.tscn" type="PackedScene" id=7]
|
||||
|
||||
[sub_resource type="BoxShape" id=3]
|
||||
extents = Vector3( 0.337828, 0.95553, 0.246706 )
|
||||
@ -21,6 +22,9 @@ mesh_data = ExtResource( 3 )
|
||||
texture = ExtResource( 4 )
|
||||
material = ExtResource( 5 )
|
||||
|
||||
[node name="ParticleMagicShimmer" parent="." instance=ExtResource( 7 )]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
|
||||
|
||||
[node name="CollisionShape" type="CollisionShape" parent="."]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.01966, 0 )
|
||||
shape = SubResource( 3 )
|
||||
|
BIN
game/textures/particle/magic_particle_1.png
Normal file
BIN
game/textures/particle/magic_particle_1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 170 B |
35
game/textures/particle/magic_particle_1.png.import
Normal file
35
game/textures/particle/magic_particle_1.png.import
Normal file
@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/magic_particle_1.png-f6b47f4031ed654afe77ae9d794e87a7.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://textures/particle/magic_particle_1.png"
|
||||
dest_files=[ "res://.import/magic_particle_1.png-f6b47f4031ed654afe77ae9d794e87a7.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=1
|
||||
flags/filter=false
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=false
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=false
|
||||
svg/scale=1.0
|
Loading…
Reference in New Issue
Block a user