forked from team-sg/hero-mark-2
29 lines
817 B
Text
29 lines
817 B
Text
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://graphics/npc/intelli_head.png" type="Texture" id=1]
|
|
[ext_resource path="res://objects/enemy/constant_bleed.tscn" type="PackedScene" id=2]
|
|
|
|
[sub_resource type="PhysicsMaterial" id=17]
|
|
bounce = 0.5
|
|
|
|
[sub_resource type="CircleShape2D" id=16]
|
|
radius = 5.0
|
|
|
|
[node name="IntelliHead" type="RigidBody2D"]
|
|
position = Vector2( 0, -4 )
|
|
mass = 2.0
|
|
physics_material_override = SubResource( 17 )
|
|
linear_velocity = Vector2( -80, -80 )
|
|
|
|
[node name="DeathSplatter" parent="." instance=ExtResource( 2 )]
|
|
position = Vector2( -1, 5 )
|
|
emission_shape = 0
|
|
direction = Vector2( 0, 1 )
|
|
spread = 60.0
|
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
|
texture = ExtResource( 1 )
|
|
flip_h = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource( 16 )
|