61 lines
1.9 KiB
Text
61 lines
1.9 KiB
Text
[gd_scene load_steps=11 format=2]
|
|
|
|
[ext_resource path="res://frames/rabbit.tres" type="SpriteFrames" id=1]
|
|
[ext_resource path="res://scripts/prey.gd" type="Script" id=2]
|
|
[ext_resource path="res://scripts/prey-save-load.gd" type="Script" id=3]
|
|
[ext_resource path="res://sprites/rabnorm_0.png" type="Texture" id=4]
|
|
[ext_resource path="res://sprites/rabcum_0.png" type="Texture" id=5]
|
|
[ext_resource path="res://sprites/rabdg2_0.png" type="Texture" id=6]
|
|
[ext_resource path="res://sprites/rabdg3_0.png" type="Texture" id=7]
|
|
[ext_resource path="res://sprites/rabdg1_0.png" type="Texture" id=8]
|
|
[ext_resource path="res://shapes/default.tres" type="Shape2D" id=9]
|
|
[ext_resource path="res://shapes/click_helper.tres" type="Shape2D" id=10]
|
|
|
|
[node name="prey" type="KinematicBody2D"]
|
|
collision_layer = 4
|
|
collision_mask = 10
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
|
visible = false
|
|
frames = ExtResource( 1 )
|
|
|
|
[node name="Tween" type="Tween" parent="."]
|
|
|
|
[node name="save" type="Node" parent="."]
|
|
script = ExtResource( 3 )
|
|
|
|
[node name="flip" type="Node2D" parent="."]
|
|
|
|
[node name="body" type="Sprite" parent="flip"]
|
|
texture = ExtResource( 4 )
|
|
|
|
[node name="digest1" type="Sprite" parent="flip"]
|
|
visible = false
|
|
texture = ExtResource( 8 )
|
|
|
|
[node name="digest2" type="Sprite" parent="flip"]
|
|
visible = false
|
|
texture = ExtResource( 6 )
|
|
|
|
[node name="digest3" type="Sprite" parent="flip"]
|
|
visible = false
|
|
texture = ExtResource( 7 )
|
|
|
|
[node name="cum" type="Sprite" parent="flip"]
|
|
visible = false
|
|
texture = ExtResource( 5 )
|
|
|
|
[node name="grab" type="Area2D" parent="."]
|
|
input_pickable = false
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="grab"]
|
|
visible = false
|
|
shape = ExtResource( 10 )
|
|
|
|
[node name="Collision" type="CollisionShape2D" parent="."]
|
|
visible = false
|
|
rotation = 1.5708
|
|
shape = ExtResource( 9 )
|
|
|
|
[connection signal="input_event" from="grab" to="." method="_on_grab_input_event"]
|