PirateTreasureHunt/scenes/Coin.tscn

21 lines
543 B
Plaintext

[gd_scene load_steps=4 format=2]
[ext_resource path="res://assets/coin.svg" type="Texture" id=1]
[ext_resource path="res://scenes/Coin.gd" type="Script" id=2]
[sub_resource type="CircleShape2D" id=1]
radius = 7.0
[node name="Coin" type="KinematicBody2D"]
modulate = Color( 1, 1, 1, 0.792157 )
z_index = 1
collision_layer = 0
collision_mask = 0
script = ExtResource( 2 )
[node name="CoinSprite" type="Sprite" parent="."]
texture = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 1 )