A small game where you have to decorate shells for your crab customers :D
A small game where you have to decorate shells for your crab customers :D
i started working on the crabs ordering shells with colors! i need to find out why the colored shell isn’t showing though when you press the color :’))
i modified my on_shell_selected func with an if else to check normal flow vs flow with colors then added 2 helper funcs to apply the colors!
today i also learnt you could set properties based on bool results of other vars than just true/false!
purplepanel.visible = Global.upgrades["purple"]
which is soooo useful i’ll def be using more of this in the rest of the game
there are a fdew bugs i’m encountering, im just writing them here so i can reference them later when trying to fix it :D
Log in to leave a comment
created a functional shop system that subtracts total pearls earned when you buy something. I also implemented a pick random function for the colors only if you’ve purchased them, so they show up in the order request. next, i’m going to add the color showing on the crab shell and check order logic for the crab colors.
Log in to leave a comment
Reordered the scene structures and moved nodes into canvas layers to add the shells into animation players, where they would still be behind the crab. Then I separated the happy and sad crab orders and only gave 5 pearls if the crab was sad. If you give the crab the wrong order, then instead of just leaving, it allows you to retry giving a good shell. Lastly, I also started setting up the end day screen with the shop and next day.
Log in to leave a comment
I created texture arrays for my 3 types of crabs and arrays for my shells, and learned about pick_random() function to randomly choose which crab appears and which shell is being ordered. I set up enter and leave animations for the crab, as well as updating the global pearl count variable if the order is correct or incorrect. My next goal is to animate the shells so they drop and store the starting position in a variable to reset when a new crab arrives.
Log in to leave a comment
I set up hover states using export variables in the script for my area 2d buttons. I also set up the game scene layout. Lastly, I added the scene changes from my menu screen to the game welcome screen. I also started exploring how to make a custom splash screen!
Log in to leave a comment