Diffstat (limited to 'dots/plain_dot.gd')
| -rw-r--r-- | dots/plain_dot.gd | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dots/plain_dot.gd b/dots/plain_dot.gd new file mode 100644 index 0000000..d124ccb --- /dev/null +++ b/dots/plain_dot.gd @@ -0,0 +1,7 @@ +extends dot + + +func _ready(): + randomize() + var i = randi() % Leveldata.dot_colors.size() + $dotsprite.change_color(Leveldata.dot_colors[i]) |