Fixed many Bugy and added Labels for Time and Score

This commit is contained in:
Exobyt 2024-08-20 00:34:24 +02:00
parent 632eeddc64
commit ee5e17c3e0
14 changed files with 430 additions and 179 deletions

View file

@ -10,7 +10,7 @@ var hasSelectedSpeed = false
const GRID := 64
enum BLOCKTYPES {LIGHT, HEAVY}
enum BLOCKTYPES {LIGHT=1, HEAVY=3}
const BLOCKSPATTERS : Dictionary = {
"Z": "res://scenes/Blocks/Patterns/Z/Z_block_pattern.tscn",
@ -22,12 +22,14 @@ const BLOCKSPATTERS : Dictionary = {
"I": "res://scenes/Blocks/Patterns/I/I_block_pattern.tscn",
"1x3": "res://scenes/Blocks/Patterns/1x3/1x3_block_pattern.tscn"
}
enum Direction {BOTTOM, LEFT, RIGHT}
enum Direction {BOTTOM, LEFT, RIGHT, TOP}
var lastUID = 1
var currentUID = lastUID
var time = 0
func getNewUID() -> int:
lastUID += 1
return lastUID