top of page
Top page

The Cat and the quest
for the cheesypuffs

Project name: The Cat and the quest for the cheesypuffs
Made in 
05-May/2020 until 6-May/2020


 

scene 1 start scene.png

My contribution

Everything in this game including the music is self made from the drag and drop coding to the simple color based world only the models and the backgrounds are standards in scratch. The goal was to make a simple game from main menu/start screen to a lose/win screen so it can actually be replayed.

Team size: 1

Tools used: Sratch drag and drop coding.

Description: I started working on my very first game ever which was a simple maze game where I walk through a premade maze using the WASD keys to control the iconic scratch cat! by avoiding the red lines of the maze and the animals/bugs you can make it to the end! this game was made to showcase for an intake project to the MBO Media college Amsterdam where I gradudated from but I still wanted to showcase where my career started!

scene 2 animal maze cat quest.png
game over screen cat quest.png
scene 3 victory screen cat quest.png

Touching the red lines would reset you to the start position and touching one of the other animals would actually make you transfer to the lose screen. The only real way of winning the game was to touch the cheesypuffs at the end of the maze and you would transfer to the end screen.

GamePlay walkthrough video!

Code snippets

scratch cat sprite 1 code snippet.png

Walking and scenes

Scratch uses a drag and drop scripting method instead of writing code you drag if statements and for loops and then drop inside of those loops and statements your functions. this way your entire walking code is one big forever loop that always checks your WASD key inputs. along with the forever loop of if statements to walk it also checks for hitting the sprite cheesypuffs for a win condition and chaning the score from 0 to 1 and plays a sound at the start of the game.

Checking colors

scratch cat sprite 1 code snippet 2.png

Scratch can also use color reginition so in my case the red color I used to hand draw the lines of the maze, these red lines indicate the edges that you cannot touch ones you touch them you will be placed to specific coordinates on the map, in this case: Sprite 1 (The player) to X position -190 and Y position -140 the exact starting position of the game! it also triggers a classic meow sound of the scratch cat and displays a text saying "Au!" to indicate the cat is hit. The other If statements are checking for touching the other sprites like the Beetle and the Polar bear and From enemies. These triggers will display the text GameOver and transfer the player to the nebula backdrop which is the gameover screen!

And the last check is for the CheesyPuffs sprite to check on collision, once you made it to the cheesypuffs then you transfer to the winning backdrop and win the game!

polar bear code snippet.png

The drag and drop script for the Polar bear is very straightforward it focuses on a hide until the right backdrop is active and the game starts then it is given a start position and moves at a speed of 3 steps in a infinite loop until it bounces against the edge of the map and comes back around as an obstacle for the player (Sprite 1). The Frog works in a simular way as the Polar bear just at a different starting position.

beetle code snippet.png

The beetle code works a bit different since I could not make the beetle go back and forth because I wanted to make a different attack pattern I added gravity to the sprite so it will fall in a nonstop reapeating cycle from the top of the maze till the bottom and then respawn back at the top this gave it a unique attack pattern with a different speed, then it waits until it touches the edge and is given the new positon where it will fall from again!

bottom of page