forked from team-sg/hero-mark-2
more cave details
This commit is contained in:
parent
a9350a3991
commit
8f14ca22cb
9 changed files with 71 additions and 3 deletions
4
objects/environment/stalactite/stalactite_particles.gd
Normal file
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
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 )
|
Loading…
Add table
Add a link
Reference in a new issue