EE308 Lab4

He_Haoyuan 2021-10-09 17:21:00

EE308 Lab4

The Link Your Class https://bbs.csdn.net/forums/MUEE308FZ?category=0
The Link of Requirement of This Assignment https://bbs.csdn.net/topics/601188617
MU STU ID and FZU STU ID19104073_831901119
Teammate's MU STU ID and FZU STU ID19104197_831901127
Teammate's blog link https://bbs.csdn.net/topics/601417930
GitHub link https://github.com/Howell-1108/EE308Lab4
Video demo link https://www.bilibili.com/video/bv1V341117BS

PSP

Personal Software Process StagesEstimated time(min)Time(min)
Planning1010
Estimate1010
Development--
Analysis1200950
Design Spec1015
Design Review1015
Coding Standard--
Design4030
Coding500400
Code Review1010
Test400500
Test Report6040
Postmortem & Process Improvement Plan· Design Review2020
Summary22702000

Learning Progress Bar

WeekNew Code(line)Cumulative Code(line)Study Time This Week(hour)Cumulative Study TimeImportant Progress
12002001212Determine the way we want to use and build the basic structure.
2400600315Make the software more active and clean

Implementation

This lab we choose Cocos Creator to accomplish the Bobing software. This is a tool to make games that can loaded on webs, Android, iOS, and WeChat. We choose to make a stand-alone version Android game. In fact, Cocos Creator is really harder than just using JavaScript to make a web game. This is a challenge but also with lots of fun.

Key or Difficult Functions & Programming Thinking

  1. The choice of tools

    In Lab3, we choose WeChat applet as our software style. But in this lab, when we tried to learn something about the tool, we found that the software may not satisfy our expectation about the game. So we change our direction to mini games. We found Cocos Creators can make light- weighted games which can not only launch on smartphones, webs, but also WeChat. This keep the possibility to load our game on WeChat (even we didn't do this at last). Studying and choosing a proper tool took us a lot of time.

  2. The "fake" back-end

    Since making a back-end cost a lot of time and money and we just want to make a stand alone version, we chose to make a "fake" back-end to store the data. We make a set of global variables and initialize them every time a new game begins.

  3. The realization of Bobing rules

    Both of us are not come from MinNan, so we know little about the game. This game normally contains 10 people, with 12 different price levels (7 of 12 are all called Zhuang Yuan but with different levels). No matter how many people in game, the total number of price won't change. For Zhuang Yuan, the highest level counts. In same price levels, the price satisfy "first come, first served" rule. For example a price with maximum 4 people, the 5th one to rolled the price can not get the reward.

    The rule game is very complicated, but after figure it out, the code realization is super easy and quick.

  4. Study How to Use Cocos Creator

    As a not very popular tool, Cocos Creator doesn't have enough high-quality tutorials. The only way for us to study is to read the official documents. But the documents have a lot of defects (they didn't tell a lot of things clear!). And the first time to learn about front-end programming, that is really hard.

Time Costing Events

  1. The choice of tools

    Almost the same as previous saying, choosing a tool really cost a lot of time with a sense of aimless.

  2. Make a Active Dice Rolling Scene

img

Above is a screenshot of our game. We load 6 rolling dice gifs and make them like molecules in Brownian motion (dices move 20 times with random position in a square area). After, we put our outcomes as 6 static state pictures on the plate.

  1. The Result Scene

img

Above is a result scene. Every price except Zhuan Yuan will showed in the form. The number of player is the the number of lines to showed on the scene.

img

If someone get a Zhuang Yuan, the name will be put on the top.

Summary

We choose a very hard way to go. Cocos is a strong but difficult tool to use. But anyway we realize a game, this might be a dream for many gamer XD. In the cooperation process, we well arranged our job and worked hard on our own tasks. This is a super tiring lab but also with lots of fun and fulfillment. This is an amazing experience.

Experience of Pairing Cooperation

img

Game APK file:

bobing-release-signed.apk(2).1 36.58M

See you next Lab~

...全文
192 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

183

社区成员

发帖
与我相关
我的任务
社区描述
福州大学 梅努斯国际工程学院 软件工程 教学
软件工程 高校
社区管理员
  • 单步调试
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧