12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- [gd_scene load_steps=6 format=3 uid="uid://bao3yernlglws"]
- [ext_resource type="Script" path="res://rock.gd" id="1"]
- [ext_resource type="Texture2D" uid="uid://bdomqql6y50po" path="res://brickfloor.png" id="2"]
- [sub_resource type="RectangleShape2D" id="1"]
- size = Vector2(48, 48)
- [sub_resource type="Animation" id="2"]
- resource_name = "explode"
- tracks/0/type = "method"
- tracks/0/imported = false
- tracks/0/enabled = true
- tracks/0/path = NodePath(".")
- tracks/0/interp = 1
- tracks/0/loop_wrap = true
- tracks/0/keys = {
- "times": PackedFloat32Array(1),
- "transitions": PackedFloat32Array(1),
- "values": [{
- "args": [],
- "method": &"queue_free"
- }]
- }
- tracks/1/type = "value"
- tracks/1/imported = false
- tracks/1/enabled = true
- tracks/1/path = NodePath("Sprite:visible")
- tracks/1/interp = 1
- tracks/1/loop_wrap = true
- tracks/1/keys = {
- "times": PackedFloat32Array(0),
- "transitions": PackedFloat32Array(1),
- "update": 1,
- "values": [false]
- }
- [sub_resource type="AnimationLibrary" id="AnimationLibrary_6pqaw"]
- _data = {
- "explode": SubResource("2")
- }
- [node name="Rock" type="CharacterBody2D"]
- motion_mode = 1
- script = ExtResource("1")
- [node name="Sprite" type="Sprite2D" parent="."]
- texture = ExtResource("2")
- region_enabled = true
- region_rect = Rect2(96, 0, 48, 48)
- [node name="Shape" type="CollisionShape2D" parent="."]
- shape = SubResource("1")
- [node name="AnimationPlayer" type="AnimationPlayer" parent="."]
- libraries = {
- "": SubResource("AnimationLibrary_6pqaw")
- }
|