top of page

Customer Randomiser

For Slime Café

Clutter Creator
Bottom of Page

Essentially it just goes through all the parts and reassigns random colours and sprites. Each time creating a unique customer. 

As more customer archetypes get added, this script will continue to grow in size. There may be better ways to optimise it in the future.

Customer Type.PNG
Colours.PNG

Currently there are 6 types of customers, with more archetypes planned. These are: Child; Adult; Elder; Sporty; Nerd and Officer Worker.

There have been some changes done by Jake that implement a queue feature, where their spawn positions change, as well as how many spawn in the queue.

Each feature of clothing has its own list it can pick from, as well as a list of colours to then change to. This script also relies on the clock script to start spawning customers.

Shown below is some example parts of the script.

Customer Randomiser.PNG

All sprites were done by Kathryn and expressions done by Sapphire!

Our customers have randomised appearances, controlled by one main script. Each part of clothing, as well as the body and expression, are randomised as customers spawn in the café. 

Code
bottom of page