Interactive character and background change in Scratch
Purpose of the project:
I started this project to improve my visual programming skills in Scratch and create an interactive project that responds to keyboard input. The main goal was to learn how to change the character and background of the scene depending on the season using conditional statements and variables.
Objective:
I have achieved that the character changes its appearance depending on the month number entered, and the background of the scene changes, which displays the corresponding season (winter, spring, summer, autumn). The program correctly recognizes the entered values and reacts to them by changing the character's image and background.
Approach:
I uploaded 4 background images corresponding to the seasons and 5 different character images. I created a variable n that stores the month number entered by the user. Using conditional statement blocks in the Scripts tab, I wrote logic that changes the scene background and character image depending on the season. The user enters the month number from the keyboard, and the character responds to this input by reporting the corresponding season.
Project duration:
The project took me about 1 day, including developing and testing all possible scenarios.
My role:
I developed the entire project myself, from loading images to creating the program logic. I also tested the project, ensuring that the character responded correctly to all input. This project allowed me to better understand how conditionals, variables, and user interaction work in the Scratch environment.
Other Works