forked from team-sg/hero-mark-2
29 lines
782 B
Text
29 lines
782 B
Text
[gd_scene load_steps=3 format=2]
|
|
|
|
[ext_resource path="res://graphics/enemy/laser_wall.png" type="Texture" id=1]
|
|
[ext_resource path="res://objects/enemy/laser_wall.gd" type="Script" id=2]
|
|
|
|
[node name="LaserWall" type="Node2D"]
|
|
script = ExtResource( 2 )
|
|
blood = false
|
|
flip_sprite = false
|
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
|
texture = ExtResource( 1 )
|
|
centered = false
|
|
|
|
[node name="Laser" type="Line2D" parent="."]
|
|
visible = false
|
|
position = Vector2( 4, 2 )
|
|
points = PoolVector2Array( 0, 0, 0, 8 )
|
|
width = 2.0
|
|
default_color = Color( 0.960784, 0.2, 0.258824, 1 )
|
|
|
|
[node name="RayCast2D" type="RayCast2D" parent="."]
|
|
position = Vector2( 4, 2 )
|
|
cast_to = Vector2( 0, 192 )
|
|
collide_with_areas = true
|
|
|
|
[node name="Timer" type="Timer" parent="."]
|
|
process_mode = 0
|
|
one_shot = true
|