To build the game, we will need a few images. We will keep all our images in the img
folder. In the img
folder, we will create four folders, as shown in the following:
We will keep two images, named dot.png
and blank.png
, in the img
folder.
In the monsters
folder, create four folders with our cats' names.
Say that our cats' names are as follows (you can name them whatever you want):
Each cat folder will have four folders for the directed images of the cats. The folder names are as follows:
up
down
left
right
Each direction folder should contain an image of our cat. The image name should be 0.png
.
You need to keep your image 50 x 50 px.
The player
folder should contain four folders for the direction of our rat. The folders should be named as shown in the following:
up
down
left
right
Each folder should contain the rat's directed image. There need to be two images, 0.png
and 1.png
. One image is the open mouthed rat and another is of the closed mouthed rat. The images need to be 50 x 50 px.
The portal
folder should contain two images of the portal through which our rat will travel from one end to another. The images names should be 0.png
and 1.png
.