pegchamp/Pegs/Purple/PurpleBar.tscn

30 lines
909 B
Text

[gd_scene load_steps=7 format=2]
[ext_resource path="res://Pegs/Purple/PurpleBar.gd" type="Script" id=1]
[ext_resource path="res://Pegs/Purple/bar.png" type="Texture" id=2]
[ext_resource path="res://Pegs/ScoreCounter.tscn" type="PackedScene" id=3]
[sub_resource type="PhysicsMaterial" id=1]
friction = 5.0
absorbent = true
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 15, 4 )
[sub_resource type="RectangleShape2D" id=3]
extents = Vector2( 16, 3 )
[node name="PurpleBar" type="StaticBody2D"]
physics_material_override = SubResource( 1 )
script = ExtResource( 1 )
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 2 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 2 )
[node name="CollisionShape2D2" type="CollisionShape2D" parent="."]
shape = SubResource( 3 )
[node name="ScoreCounter" parent="." instance=ExtResource( 3 )]