123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- [gd_scene load_steps=5 format=2]
- [ext_resource path="res://rock.gd" type="Script" id=1]
- [ext_resource path="res://brickfloor.png" type="Texture" id=2]
- [sub_resource type="RectangleShape2D" id=1]
- extents = Vector2( 24, 24 )
- [sub_resource type="Animation" id=2]
- resource_name = "explode"
- tracks/0/type = "method"
- tracks/0/path = NodePath(".")
- tracks/0/interp = 1
- tracks/0/loop_wrap = true
- tracks/0/imported = false
- tracks/0/enabled = true
- tracks/0/keys = {
- "times": PoolRealArray( 1 ),
- "transitions": PoolRealArray( 1 ),
- "values": [ {
- "args": [ ],
- "method": "queue_free"
- } ]
- }
- tracks/1/type = "value"
- tracks/1/path = NodePath("Sprite:visible")
- tracks/1/interp = 1
- tracks/1/loop_wrap = true
- tracks/1/imported = false
- tracks/1/enabled = true
- tracks/1/keys = {
- "times": PoolRealArray( 0 ),
- "transitions": PoolRealArray( 1 ),
- "update": 1,
- "values": [ false ]
- }
- [node name="Rock" type="KinematicBody2D"]
- script = ExtResource( 1 )
- [node name="Sprite" type="Sprite" 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="."]
- anims/explode = SubResource( 2 )
|