Added bounce physics, collision layers, masks, and names, pins (and the extra bouncy GiantPin), walls, cup physics, a sample level, and a score system with an accompanying auto-updating GUI label.
26 lines
589 B
Plaintext
26 lines
589 B
Plaintext
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://Art/FredokaOne-Regular.ttf" type="DynamicFontData" id=1]
|
|
[ext_resource path="res://GUI.gd" type="Script" id=2]
|
|
|
|
[sub_resource type="DynamicFont" id=3]
|
|
size = 60
|
|
font_data = ExtResource( 1 )
|
|
|
|
[sub_resource type="Theme" id=4]
|
|
Label/fonts/font = SubResource( 3 )
|
|
|
|
[node name="GUI" type="Node2D"]
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="Score" type="Label" parent="."]
|
|
margin_left = 15.0
|
|
margin_top = 15.0
|
|
margin_right = 243.0
|
|
margin_bottom = 89.0
|
|
theme = SubResource( 4 )
|
|
text = "Score: 0"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|