Posted May 09, 2021 by Jing Lu
In this week's project update, the mobile method was first improved. Block, the moving speed of the background and characters will increase over time, and the rate of increase is slow, allowing players to gradually adapt.
In order to make the game scene look more reasonable, the moving speed of the background and blocks increase slowly, and they are all accelerated by directly changing the speed on the script. The acceleration effect of the character is realized by increasing the speed of animation playback.
Since the design of the game has only one game scene, the concept of "level" is realized through blocks of different difficulty and changes in speed.
Normal speed
4 times the speed
This week also added music and in-game sound effects. All background music components are hung on the camera of the scene, and the sound level can be controlled by the slider in Setting. Music controls the size of the background music in each scene, and Sound controls the size of the sound effects in the game.
Music and Sound control
Screenshot from my own game
When the platform or snail pushes the player character, some strange problems appear in the background.
A bug was found, the character did not "dead" after reaching the death collider, and the virtual camera followed the character to appear out of the background.
Fix the bug by changing the "death" judgment collider on the left side of the screen, so that the game ends immediately after the character is touched.
Music material comes from https://www.youtube.com/
Audio material comes from https://www.aigei.com/
The background image is from https://www.google.com/