Another major difference
Five penguin objects are manually created and positioned in the world during the manual setup for both programs.
A for loop is used to count up to five penguins and to make them become visible one at a time.
The number of penguins that are made visible in both programs is determined by a user input value.
The previous program used the isShowing property to control the visible/invisible state of the penguins.
It is not possible to use the isShowing property in this program.
Therefore, the opacity property was used in place of the isShowing property.
I will explain why later.