Design documentation for team work six

Source: Internet
Author: User

1. System Framework

2. System Structure diagram

Our team uses the module diagram method to show the relationship between the various functional modules of the system.

3. Detailed design of each module

You can use activity diagrams, state diagrams, time series diagrams, or program flowcharts (not recommended) to describe key algorithms or processes for each module.

3.1 Master Control

User response: Each interface will have a corresponding operation, because the interface is done with a map operation, there is no similar to the button-like response, so this part of the operation needs to manually set the corresponding sub-module of the keyboard key response.

UI switching and sub-module scheduling: These two parts are one by one corresponding. After launching the application into the game interface, press any key to enter the mode selection interface, the UI to switch call response subroutine. Enter the mode selection screen and the game interface will have the corresponding BGM playback. The UI design is primarily implemented using map operations.

3.2 Viewing angle movement

Rotate and move, set different response keys to move values or rotate values, to do related operations.

3.3 Map Building

1. Create all map units and initialize them according to the selected mode. Map Unit drawing, three-dimensional map drawing with a unit as the benchmark, the map unit is translated to achieve the purpose of drawing the entire map. The 3D function is called to determine the projection of the point-to-horizon plane of the three-dimensional space, and the graphical operation on the visual interface according to the order of points. Open the selected unit, depending on whether the mine is set up in different operations. If there is a landmine end game, there is no lightning turn-over mark and a Thunder mark operation (providing an interface).

2. Logical map design the laying of mines and color dyeing of selected modules.

3.4 Game Interface

1, the reference SCM LED Digital tube De Shun control mode, the digital tube display mode of control, 7 digital tube corresponding to 8-bit binary number, the highest position 0, each of the remaining representative of each digital tube number, according to the 8-bit binary number of different values to reach the segment selection operation. Each digital tube is a six-point polygon, looking for an unrelated reference point, as a benchmark to find out the 42 points that make up 7 segments of the digital tube, and then set the scaling to variable, so that other players can directly set the variable to adjust the size of the digital tube. 2, the current mark, fixed in the main interface of a certain location, convenient for users to see the selected area, with a crosshair inside the green border to make it more eye-catching. The Green Border section is plotted by the map section. This is done by using the function of drawing a straight line.

Design documentation for team work six

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.