more cave details
Before Width: | Height: | Size: 189 B After Width: | Height: | Size: 202 B |
BIN
graphics/particles/stalactite.png
Normal file
After Width: | Height: | Size: 154 B |
35
graphics/particles/stalactite.png.import
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path="res://.import/stalactite.png-7ff7cef7387b0ace5975d18a41208957.stex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://graphics/particles/stalactite.png"
|
||||||
|
dest_files=[ "res://.import/stalactite.png-7ff7cef7387b0ace5975d18a41208957.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_mode=0
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
flags/repeat=0
|
||||||
|
flags/filter=false
|
||||||
|
flags/mipmaps=false
|
||||||
|
flags/anisotropic=false
|
||||||
|
flags/srgb=2
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
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=true
|
||||||
|
svg/scale=1.0
|
Before Width: | Height: | Size: 205 B After Width: | Height: | Size: 205 B |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
|
@ -97,7 +97,7 @@ extents = Vector2( 80.5, 4 )
|
||||||
[sub_resource type="RectangleShape2D" id=21]
|
[sub_resource type="RectangleShape2D" id=21]
|
||||||
extents = Vector2( 42, 4 )
|
extents = Vector2( 42, 4 )
|
||||||
|
|
||||||
[node name="Map" type="Node2D" groups=["map"]]
|
[node name="Map2" type="Node2D" groups=["map"]]
|
||||||
pause_mode = 1
|
pause_mode = 1
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
||||||
music = ExtResource( 5 )
|
music = ExtResource( 5 )
|
||||||
|
|
4
objects/environment/stalactite/stalactite_particles.gd
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
extends CPUParticles2D
|
||||||
|
|
||||||
|
func _ready():
|
||||||
|
emitting = true
|
19
objects/environment/stalactite/stalactite_particles.tscn
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
[gd_scene load_steps=3 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://graphics/particles/stalactite.png" type="Texture" id=1]
|
||||||
|
[ext_resource path="res://objects/environment/stalactite/stalactite_particles.gd" type="Script" id=2]
|
||||||
|
|
||||||
|
[node name="StalactiteParticles" type="CPUParticles2D"]
|
||||||
|
emitting = false
|
||||||
|
lifetime = 0.2
|
||||||
|
one_shot = true
|
||||||
|
texture = ExtResource( 1 )
|
||||||
|
direction = Vector2( 0, -1 )
|
||||||
|
spread = 180.0
|
||||||
|
gravity = Vector2( 0, 300 )
|
||||||
|
initial_velocity = 80.0
|
||||||
|
angle = 255.3
|
||||||
|
angle_random = 0.47
|
||||||
|
scale_amount = 0.0
|
||||||
|
scale_amount_random = 1.0
|
||||||
|
script = ExtResource( 2 )
|