taqin/game/src/Piece.gd

8 lines
136 B
GDScript

extends Node2D
class_name Piece
tool
export var size: int = 64
func _draw() -> void:
draw_rect(Rect2(0, 0, size, size), Color.yellow)