This repository has been archived on 2023-08-08. You can view files and clone it, but cannot push or open issues/pull-requests.
evospace/entities/viper/viper.tscn

27 lines
768 B
Plaintext

[gd_scene load_steps=4 format=2]
[ext_resource path="res://entities/viper/viper.gd" type="Script" id=1]
[ext_resource path="res://entities/viper/viper.png" type="Texture" id=2]
[sub_resource type="CircleShape2D" id=1]
radius = 7.74215
[node name="viper" type="KinematicBody2D" groups=[
"Enemies",
]]
collision_layer = 4
collision_mask = 3
script = ExtResource( 1 )
points = 150
powerup_drop_chance = 0.05
speed = 100
[node name="texture" type="Sprite" parent="."]
texture = ExtResource( 2 )
[node name="collision" type="CollisionShape2D" parent="."]
shape = SubResource( 1 )
[node name="visiblity_notifier" type="VisibilityNotifier2D" parent="."]
[connection signal="screen_exited" from="visiblity_notifier" to="." method="_on_visiblity_notifier_screen_exited"]