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
15
Pegs/Purple/PurpleBar.gd
Normal file
15
Pegs/Purple/PurpleBar.gd
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue