Bitmap Game
Description
This game is basically a escape game. In the first scene, the player is on a boat in the middle of sea at the very beiginning. The boat is going to sink so the player has to jump into the sea and swim to the land.
该游戏基本上是逃生游戏。 在第一个场景中,玩家在刚开始的时候正坐在海中的一艘船上。 船将要下沉,因此玩家必须跳入大海并游泳到陆地上。
Design Process
Before starting this project, I learned to divide my code into different file, which is much more convenient for editing and management. So my design order is to build 3 basic scene and add differences for them.
在开始这个项目之前,我学会了将代码分成不同的文件,这对于编辑和管理更加方便。 因此,我的设计顺序是建立3个基本场景并为其添加差异。
Generally those 3 scenes are all about ocean and I want to create a dynamic atmosphere. I start with drawing dynamic clouds and wave on canvas. Then I picked sharks as the core barriers, letting them swim randomly in the sea. Those dynamic elements are all wrapped in different functions respectively, and in this way I utilize them repeatedly but also with slight position differences in 3 scenes.
通常,这三个场景都是关于海洋的,我想营造一种动态的氛围。 我从绘制动态云开始,然后在画布上波动。 然后我选择了鲨鱼作为核心屏障,让它们在海中随机游动。 这些动态元素分别包装在不同的功能中,因此我反复使用它们,但在3个场景中位置也略有不同。
Then I add some features for my scenes. The first scene is the very beginning of the journey, so I draw a ship as a mark for it. The second scene is the middle one, and I draw a customizing shape to build an island as a rest station for this ocean trip. In the final scene, I paint the edge of the sand beach, which can deliver the message that players have escaped successfully.
然后,为场景添加一些功能。 第一个场景是旅程的开始,因此我画了一艘船作为标记。 第二个场景是中间场景,我绘制了一个自定义形状,以建造一个岛屿作为这次海上旅行的休息站。 在最后的场景中,我绘制了沙滩的边缘,这可以传达出玩家成功逃脱的信息。