mirror of
https://git.kittycat.homes/zoe/pegchamp.git
synced 2024-08-15 03:15:39 +00:00
added basic level selection menu
This commit is contained in:
parent
8639876921
commit
2637008a33
54 changed files with 756 additions and 32 deletions
27
Pegs/Purple/PurpleBar.tscn
Normal file
27
Pegs/Purple/PurpleBar.tscn
Normal file
|
@ -0,0 +1,27 @@
|
|||
[gd_scene load_steps=6 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]
|
||||
|
||||
[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 )
|
Loading…
Add table
Add a link
Reference in a new issue