13 lines
174 B
GDScript
13 lines
174 B
GDScript
extends Sprite
|
|
|
|
class_name Chit
|
|
|
|
const CHIT_SCALE = 0.1
|
|
|
|
var num = 6
|
|
|
|
func setup(num):
|
|
self.num = num
|
|
texture = load("res://Assets/%d-chit.png" % num)
|
|
scale *= CHIT_SCALE
|