15 lines
213 B
GDScript
15 lines
213 B
GDScript
extends Node
|
|
|
|
var keys = {
|
|
'yellow': false,
|
|
'green': false,
|
|
'blue': false,
|
|
'red': false
|
|
}
|
|
|
|
var coins = 0
|
|
var health = 100
|
|
|
|
var player : KinematicBody2D = null
|
|
|
|
const MENU_SCENE = "res://scenes/menu/menu.tscn"
|