Checkpoint 05--UI/Polish/More Levels


Checkpoint05-UI/Polish/More Levels

 

This week we are going to make the user interface and implement more game levels.

Firstly, instead of creating a new scene, I add an empty game object in the same scene with big levels and small levels. I name it title and it contains a background picture and 4 buttons: start, help, setting and quit. We need to select start to start game and help for some basic information and controlling instruct. Setting for adjust background music volume and finally, quit for exit game. And the title will look like this>>>

title page

 

In my help page, I have a short paragraph about the game and in next page I’ve shown how 4 kinds of pills work. Moreover, in setting page I creatively used virus to be the button on the slider, and it looks not so boring like before. This two pages are look like this>>>

page 1 of help page

setting page

 


After implementing the UI, a big project was coming – build more and more levels, totally 30 in the end. And to let each level has their special points I’ve thought some ideas. First I build 4-8 levels which virus can move. I add spring joint on virus and it feels funnier. Then I wrote another script to let some of my blocks(obstacles) move up and down, so player need to find a correct time to shoot their pills. And I have two gifs here to describe them>>>

spring joint 2D


Block move


The last step is polish and I also need to find bugs if they still exist, so I’ll play my game several times. But as our data will be stored in game so we I build and upload it I need to clean those data.

 

Peer's evaluation and related correction

Some of my classmates said that when we finish each small level add click menu button, we couldn’t go back to select levels, however it goes back to title directly. So I tried to find what’s going on, also I asked teacher for help. Using some debug lines we can know loading scenes need more time than executing several lines of code(maybe this is something special in unity, but if you come to think of it, in our daily life, when we trying to do something housework, suddenly you receive a math test paper and required to finish it in 10 mins, it indeed sounds a lot time-consuming than keep mapping the floor). Later I add a dontDestroyOnLoad and also set my game manager’s parent as null (something tricky but we can understand like that: everything will be needed in load levels select menu will remain so data won’t get destroyed)

 

Alternative way or further implements

The implements of spring joint component on virus is quite a good idea, I actually add a hinged joint before but considering spring joint allows virus’s motion a lot harder to predict, so it’s kind of increasing difficulties.

What’s more, I even thought I could let our obstacle become invisible so players need to try and imagine where there are. It’s another way to let this game more playable.


P.S.  

All gifs are made with https://www.gif.cn  and all videos are captured with an app download in https://www.ieway.cn/evcapture.html

Leave a comment

Log in with itch.io to leave a comment.