Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Day 2

Today I got all of the base mechanics done. This involved using arrays to store all of the different flags, what they look like, and what colours each flag has.

From here, I made it possible to scroll through the array of flags by using the mouse scroll wheel, and the Q and E keys.


Since the game knows which flag you're currently on, it's then a fairly easy process to access the colour array associated with that flag, and get a random colour from it. I used a Raycast to actually affect the material colour of other objects.