Think in chapters, not entire seasons
- Read more about Think in chapters, not entire seasons
- Log in or register to post comments
There is a visual element that has a very noticeable influence on our perception of the game, beyond high definition graphics, the color palette is one of the most important visual elements.
Why is the color palette so important in a video game?
A good color palette is important since it evokes specific emotions, for example, dark and cold tones to transmit fear, concern, or warm and cheerful colors to transmit optimism and happiness.
Not only that, a color palette gives you a unique and memorable visual identity and helps to recognize your game.
We have also worked in the system to generate new words.
For this, we've created a couple of files in the assets folder. Each one with a huge amount of words, separated by comma. One in english and the other in spanish.
To select a new word, we only need to open the file, load the content in a variable, and convert it to an array, by telling to the split function that the ',' is the separation value.
These will generate an array with all the words.
These days we've implemented differents kinds of meteors in our game
For this, we've created the following code :
var meteors = [
preload("res://meteors/meteor1.tscn"),
preload("res://meteors/meteor2.tscn"),
preload("res://meteors/meteor3.tscn"),
preload("res://meteors/meteor4.tscn"),
preload("res://scenes/meteor.tscn")
]
Here we create an array where we load all the different instances of the meteors.
Then when we need to create a new one in the game, we randomly choose one from the array, and set the position also randomly.
This week we've been adding a bit of randomness to the game.
For this we've created random variables for both speed and direction of the meteorites, as well as creating different versions of the meteorite with different sizes.