1
0
mirror of https://gitee.com/freeyz/godot-mota.git synced 2024-12-23 12:59:20 +08:00
godot-mota/scenes/Elixirs.tscn

20 lines
636 B
Plaintext
Raw Normal View History

2020-07-23 15:47:32 +08:00
[gd_scene load_steps=4 format=2]
[ext_resource path="res://scripts/ElixirsSprite.gd" type="Script" id=1]
[ext_resource path="res://images/mota.png" type="Texture" id=2]
[sub_resource type="RectangleShape2D" id=1]
[node name="ElixirsSprite" type="Sprite"]
position = Vector2( 272, 240 )
texture = ExtResource( 2 )
region_enabled = true
region_rect = Rect2( 96, 416, 32, 32 )
script = ExtResource( 1 )
[node name="Area2D" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource( 1 )
[connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"]