added basic level selection menu

This commit is contained in:
zoe 2021-09-11 22:35:58 +02:00
parent 8639876921
commit 2637008a33
54 changed files with 756 additions and 32 deletions

15
Pegs/Purple/PurpleBar.gd Normal file
View file

@ -0,0 +1,15 @@
extends StaticBody2D
func make_green():
var main = get_tree().current_scene
var Green_bar = preload("res://Pegs/Green/GreenBar.tscn")
var green_bar = Green_bar.instance()
green_bar.global_position = global_position
green_bar.global_rotation = global_rotation
main.add_child(green_bar)
queue_free()
func bouncy():
pass