Create some code on pen and paper! (It’s written-out logic that can be read step-by-step like actual code, but it’s not actual code).
Pseudocode that asks if you want a stray cat to move in with you:
Do you want a stray cat?
If yes:
Then NPC says "Great! Here's a cat."
wants a cat = True
Else (aka, if no):
NPC says: "Oh, ok." [Then nothing happens.]
Hint:
Are you a cat person or a dog person?
If cat person:
Else:
Hint:
Hide kitten in the houes
Are you a cat person or a dog person?
If cat person:
Else:
Create this in GB Studio with an actual kitten and an NPC. Use the events from GB Studio called Deactivate Actor
and Activate Actor
.
Your younger brother is annoying and keeps asking you why you like cats. Every time you answer him, he says “Why?” and he does not stop asking why. Create pseudocode for this, then create this in GB studio. Hint: Put the dialogue in a Forever Loop, like below.
Hint:
Loop:
Brother: Do you like cats?
If yes:
Else