This is my 7th post in the series of teaching game development to kids.
Check out my previous posts in the series.
If you have followed my past tutorials and used it for teaching kids or teaching yourself how to use the GDevelop, then you should check out the current tutorial that shows you how to change the background color. The thing about background color is that often we want to change it based on the user preference or as the game demands it.
So here we are going to take a look at how to change the background color with button or even with the mouse press. If you have yet to download the GDevelop IDE for the game development, you should do that now. And you can also follow the previously posted table of content for taking a look at the previous videos in the list.
Image Credit: Gdevelop
Follow the instructions below to add image background color into the game scene.
That is all you have to do. You can easily change the color based on the mouse click and the keyboard button events too. This is something you should do for those games where you make use of the keyboard or any tap sort of events in the game. And also this would be a good option for changing the background when you have menu changes. Like moving from one page to another.
You can also check out the Video instruction of the tutorial.
You may notice that a lot of games make use of the change in background option for their various menus. And some of them also change the background based on the time of the day. That has been pretty much the trend lately. Like based on your phones system clock the time also changes accordingly in most of the games. I hope you are enjoying this series and also using it for teaching the game development to the kids.
We will continue the further game development topic in next post.