It has occurred to me that the backgrounds in my game, though nice as a poster, doesn’t fit well in the game and with the tiles. I am considering to scrap them and redo them. A long talk with Li Hao about backgrounds made me realise that.
How platformer games do it:
– Simple: Some games just slap a plain coloured background, like a blue background, and adding some clouds.
– Cloning: Some games take their own platforms, blur it, and put it at the back, making it lighter so it does not look part of the level
– Advanced scenery: This was what I was trying to attempt, but the scenery doesn’t feel part of the level because of how I tried to do depth of field and added some unnecessary stuff to where I should not. Some games do mountains, or trees in the background, but they illustrate that it is a background clearly. Mine is just a picture I drew that looks nice on its own, but not when it is combined with tiles and platforms.
But today, it occurred to me that those 4 lines of code can be summarized in one line. I feel so silly because the if-else statements were really so troublesome to type and I had been doing that for so many times, only to realise now that there is a shortcut. This has got to be a really basic thing that I overlooked! Oh my…